For the complete documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /max/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.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!