For the complete documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /get-started.md).
Mojo module
gather_scatter
Registers gather, scatter, and indexed-access graph ops backed by the nn.gather_scatter kernels.
comptime values
logger
comptime logger = Logger(stdout, prefix=String(""), source_location=False)
Structs
-
AdvancedIndexingGetItem: Registers theadvanced_indexing_getitemgraph op with the graph compiler. -
AdvancedIndexingSetItem: Registers theadvanced_indexing_setitemgraph op with the graph compiler. -
AdvancedIndexingSetItemInplace: Registers theadvanced_indexing_setitem_inplacegraph op with the graph compiler. -
ApplyPackedBitmask: Registers themo.apply_packed_bitmaskgraph op with the graph compiler. -
BroadcastShape: Registers themo.broadcast_shapegraph op with the graph compiler. -
BroadcastTo: Registers themo.broadcast_tograph op with the graph compiler. -
Concat: Registers themo.concatgraph op with the graph compiler. -
DualFusedConcatSlice: Registers themo.dual_fused_concat_slicegraph op with the graph compiler. -
FusedConcatSlice: Registers themo.composite.concat_slicegraph op with the graph compiler. -
Gather: Registers themo.gathergraph op with the graph compiler. -
GatherND: Registers themo.gather_ndgraph op with the graph compiler. -
GatherSum: Registers themo.gather_sumgraph op with the graph compiler. -
IndexTensor: Registers theindex_tensorgraph op with the graph compiler. -
MutableStore: Registers themo.mutable.storegraph op with the graph compiler. -
MutableStoreSlice: Registers themo.mutable.store.slicegraph op with the graph compiler. -
Reshape: Registers themo.reshapegraph op with the graph compiler. -
Scatter: Registers themo.scattergraph op with the graph compiler. -
ScatterAdd: Registers themo.scatter.addgraph op with the graph compiler. -
ScatterMax: Registers themo.scatter.maxgraph op with the graph compiler. -
ScatterMin: Registers themo.scatter.mingraph op with the graph compiler. -
ScatterMul: Registers themo.scatter.mulgraph op with the graph compiler. -
ScatterND: Registers themo.scatter_ndgraph op with the graph compiler. -
ScatterNDAdd: Registers themo.scatter_nd.addgraph op with the graph compiler. -
ScatterNDMax: Registers themo.scatter_nd.maxgraph op with the graph compiler. -
ScatterNDMin: Registers themo.scatter_nd.mingraph op with the graph compiler. -
ScatterNDMul: Registers themo.scatter_nd.mulgraph op with the graph compiler. -
ScatterNDSkipNegIndices: Registers themo.scatter_nd.skip_neg_indicesgraph op with the graph compiler. -
ScatterSetConstant: Registers themo.scatter_set_constantgraph op with the graph compiler. -
ShardWeights: Registers themo.shard_and_stackgraph op with the graph compiler. -
Slice: Registers themo.slicegraph op with the graph compiler. -
Split: Registers themo.splitgraph op with the graph compiler. -
SplitOutputShapeHelper: Registers thesplit_ith_output_shapegraph op with the graph compiler. -
SqueezeShape: Registers themo.squeeze_shapegraph op with the graph compiler. -
StaticBroadcastTo: Registers themo.static.broadcast_tograph op with the graph compiler. -
StaticReshape: Registers themo.static.reshapegraph op with the graph compiler. -
Struct_sliced_add_ragged: Registers themo.sliced.add.raggedgraph op with the graph compiler. -
Tile: Registers themo.tilegraph op with the graph compiler. -
Transpose: Registers themo.transposegraph op with the graph compiler. -
UnsqueezeShape: Registers themo.unsqueeze_shapegraph op with the graph compiler.
Functions
-
advanced_indexing_getitem_shape_fn: Computes the output shape for theadvanced_indexing_getitemgraph op. -
broadcast_shape_fn: Computes the output shape for themo.broadcast_shapegraph op. -
broadcast_to_shape_fn: Computes the output shape for themo.broadcast_tograph op. -
check_axis_in_range: Indices passed to gather and scatter ops may be negative. This performs a check to see if the axis is valid. -
concat_shape_fn: Computes the output shape for themo.concatgraph op. -
gather_nd_shape_fn: Computes the output shape for themo.gather_ndgraph op. -
gather_shape_fn: Computes the output shape for themo.gathergraph op. -
reshape_shape_fn: Computes the output shape for themo.reshapegraph op. -
scatter_add_shape_fn: Computes the output shape for themo.scatter.addgraph op. -
scatter_max_shape_fn: Computes the output shape for themo.scatter.maxgraph op. -
scatter_min_shape_fn: Computes the output shape for themo.scatter.mingraph op. -
scatter_mul_shape_fn: Computes the output shape for themo.scatter.mulgraph op. -
scatter_nd_add_shape: Computes the output shape for themo.scatter_nd.addgraph op. -
scatter_nd_max_shape: Computes the output shape for themo.scatter_nd.maxgraph op. -
scatter_nd_min_shape: Computes the output shape for themo.scatter_nd.mingraph op. -
scatter_nd_mul_shape: Computes the output shape for themo.scatter_nd.mulgraph op. -
scatter_nd_shape_fn: Computes the output shape for themo.scatter_ndgraph op. -
scatter_shape_fn: Computes the output shape for themo.scattergraph op. -
slice_shape_fn: Computes the output shape for themo.slicegraph op. -
split_ith_output_shape_fn: Computes the output shape for thesplit_ith_output_shapegraph op. -
squeeze_shape_fn: Computes the output shape for themo.squeeze_shapegraph op. -
tile_shape_fn: Computes the output shape for themo.tilegraph op. -
transpose_shape_fn: Computes the output shape for themo.transposegraph op. -
unsqueeze_shape_fn: Computes the output shape for themo.unsqueeze_shapegraph op.