IMPORTANT: To view this page as Markdown, append `.md` to the URL (e.g. /max/get-started.md). For the complete documentation index, see llms.txt.
Skip to main content
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 function

advanced_indexing_getitem_shape_fn

def advanced_indexing_getitem_shape_fn[input_rank: Int, index_rank: Int, input_type: DType, index_type: DType, num_index_tensors: Int, //, start_axis: Int](input_tensor: ManagedTensorSlice[Input, static_spec=input_tensor.static_spec], indices: VariadicTensors[num_index_tensors, Input, static_specs=indices.static_specs]) -> IndexList[((input_rank + index_rank) - num_index_tensors)]

Returns:

IndexList[((input_rank + index_rank) - num_index_tensors)]