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
index_tensor
Implements numpy-style advanced tensor indexing (getitem and setitem) for CPU and GPU.
Functions
-
advanced_indexing_getitem: Implement basic numpy-style advanced indexing. -
advanced_indexing_getitem_shape: Calculate the output shape from advanced indexing. -
advanced_indexing_setitem_inplace: Implement basic numpy-style advanced indexing with assignment. -
index_tensor: Index_tensor operation; based on modified implementation of gather_nd. -
index_tensor_shape: Compute the output shape of aindex_tensoroperation, and assert the inputs are compatible.