Skip to main content

clika_runtime.ops

The operators, as functions: ops.add(x, y), ops.matmul(a, b), ops.softmax(x, dim=-1).

Every operator takes its tensors first and returns a new tensor (a trailing-underscore twin, ops.add_, writes through its first tensor). A mode argument takes a name (ops.gelu(x, approximate="tanh")) or the enum value the module carries (ops.GeluMode.Tanh); the value classes (ops.ScalarOrTensor, ops.IndexSlice, ...) name the argument shapes the operators accept. __all__ lists every name.

NameKind
GeluModeclass
GridSampleModeclass
GridSamplePaddingModeclass
HashTensorModeclass
IndexBoundclass
IndexEntryclass
IndexSliceclass
InterpModeclass
MeshgridIndexingclass
ModModeclass
MoeRoutingclass
PixelShuffleModeclass
QComputeModeclass
QuantileInterpclass
Reductionclass
RopeScalingclass
RotaryModeclass
RoundingModeclass
Scalarclass
ScalarOrTensorclass
ScatterReduceModeclass
StreamOrDeviceclass
SwigluFusionclass
functionsmodule functions