pub fn read_tensor_checked<C: CubePrimitive>(tensor: Tensor<C>, index: u32) -> C
Expand description
Returns the value at index
in tensor within bounds.
pub fn read_tensor_checked<C: CubePrimitive>(tensor: Tensor<C>, index: u32) -> C
Returns the value at index
in tensor within bounds.