Mojo module
managed_tensor_slice
Structs
-
ManagedTensorSlice
: A view of a tensor that does not own the underlying allocated pointer. When the object lifetime ends it does not free the underlying pointer. Conversely, if aManagedTensorSlice
is created, it will not extend the life of the underlying pointer.
Functions
-
foreach
: Apply the functionfunc
to each element of the tensor slice.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!