Struct tract_data::internal::TensorView  [−][src]
pub struct TensorView<'a> {
    pub tensor: &'a Tensor,
    // some fields omitted
}Fields
tensor: &'a TensorImplementations
pub unsafe fn from_bytes(
    tensor: &'a Tensor, 
    offset_bytes: isize, 
    shape: &'a [usize], 
    strides: &'a [isize]
) -> TensorView<'a>
Access the data as a pointer.
Access the data as a pointer.
Access the data as a mutable pointer.
Access the data as a slice.
Access the data as a mutable slice.
Access the data as a mutable slice.
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for TensorView<'a>
impl<'a> Send for TensorView<'a>
impl<'a> Sync for TensorView<'a>
impl<'a> Unpin for TensorView<'a>
impl<'a> UnwindSafe for TensorView<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more