[][src]Struct arrow::tensor::Tensor

pub struct Tensor<'a, T: ArrowPrimitiveType> { /* fields omitted */ }

Tensor of primitive types

Methods

impl<'a, T: ArrowPrimitiveType> Tensor<'a, T>
[src]

Creates a new Tensor

Creates a new Tensor using row major memory layout

Creates a new Tensor using column major memory layout

The data type of the Tensor

The sizes of the dimensions

Returns a reference to the underlying Buffer

The number of bytes between elements in each dimension

The names of the dimensions

The number of dimensions

The name of dimension i

The total number of elements in the Tensor

Indicates if the data is laid out contiguously in memory

Indicates if the memory layout row major

Indicates if the memory layout column major

Auto Trait Implementations

impl<'a, T> Send for Tensor<'a, T> where
    T: Send

impl<'a, T> Sync for Tensor<'a, T> where
    T: Sync

Blanket Implementations

impl<T> From for T
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.