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
slice_as_copy
def slice_as_copy[dtype: DType, index_type: DType](output: TileTensor[dtype, Storage=output.Storage, address_space=output.address_space, linear_idx_type=output.linear_idx_type, element_size=output.element_size], tensor: TileTensor[dtype, Storage=tensor.Storage, address_space=tensor.address_space, linear_idx_type=tensor.linear_idx_type, element_size=tensor.element_size], start: TileTensor[index_type, Storage=start.Storage, address_space=start.address_space, linear_idx_type=start.linear_idx_type, element_size=start.element_size], end: TileTensor[index_type, Storage=end.Storage, address_space=end.address_space, linear_idx_type=end.linear_idx_type, element_size=end.element_size], step: TileTensor[index_type, Storage=step.Storage, address_space=step.address_space, linear_idx_type=step.linear_idx_type, element_size=step.element_size], ctx: DeviceContext)
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!