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

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

Tensor of primitive types

Implementations

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

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.