[][src]Struct arrow::ipc::gen::Tensor::Tensor

pub struct Tensor<'a> {
    pub _tab: Table<'a>,
}

Fields

_tab: Table<'a>

Methods

impl<'a> Tensor<'a>[src]

pub fn init_from_table(table: Table<'a>) -> Self[src]

pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>(
    _fbb: &'mut_bldr mut FlatBufferBuilder<'bldr>,
    args: &'args TensorArgs<'args>
) -> WIPOffset<Tensor<'bldr>>
[src]

pub const VT_TYPE_TYPE: VOffsetT[src]

pub const VT_TYPE_: VOffsetT[src]

pub const VT_SHAPE: VOffsetT[src]

pub const VT_STRIDES: VOffsetT[src]

pub const VT_DATA: VOffsetT[src]

pub fn type_type(&self) -> Type[src]

pub fn type_(&self) -> Option<Table<'a>>[src]

The type of data contained in a value cell. Currently only fixed-width value types are supported, no strings or nested types

pub fn shape(&self) -> Option<Vector<ForwardsUOffset<TensorDim<'a>>>>[src]

The dimensions of the tensor, optionally named

pub fn strides(&self) -> Option<Vector<'a, i64>>[src]

Non-negative byte offsets to advance one value cell along each dimension

pub fn data(&self) -> Option<&'a Buffer>[src]

The location and size of the tensor's data

pub fn type__as_null(&'a self) -> Option<Null>[src]

pub fn type__as_int(&'a self) -> Option<Int>[src]

pub fn type__as_floating_point(&'a self) -> Option<FloatingPoint>[src]

pub fn type__as_binary(&'a self) -> Option<Binary>[src]

pub fn type__as_utf_8(&'a self) -> Option<Utf8>[src]

pub fn type__as_bool(&'a self) -> Option<Bool>[src]

pub fn type__as_decimal(&'a self) -> Option<Decimal>[src]

pub fn type__as_date(&'a self) -> Option<Date>[src]

pub fn type__as_time(&'a self) -> Option<Time>[src]

pub fn type__as_timestamp(&'a self) -> Option<Timestamp>[src]

pub fn type__as_interval(&'a self) -> Option<Interval>[src]

pub fn type__as_list(&'a self) -> Option<List>[src]

pub fn type__as_struct_(&'a self) -> Option<Struct_>[src]

pub fn type__as_union(&'a self) -> Option<Union>[src]

pub fn type__as_fixed_size_binary(&'a self) -> Option<FixedSizeBinary>[src]

pub fn type__as_fixed_size_list(&'a self) -> Option<FixedSizeList>[src]

pub fn type__as_map(&'a self) -> Option<Map>[src]

Trait Implementations

impl<'a> PartialEq<Tensor<'a>> for Tensor<'a>[src]

impl<'a> Copy for Tensor<'a>[src]

impl<'a> Clone for Tensor<'a>[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl<'a> Debug for Tensor<'a>[src]

impl<'a> Follow<'a> for Tensor<'a>[src]

type Inner = Tensor<'a>

Auto Trait Implementations

impl<'a> Sync for Tensor<'a>

impl<'a> Send for Tensor<'a>

impl<'a> Unpin for Tensor<'a>

impl<'a> RefUnwindSafe for Tensor<'a>

impl<'a> UnwindSafe for Tensor<'a>

Blanket Implementations

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

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

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

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

impl<T> FromCast<T> for T[src]

impl<T, U> Cast<U> for T where
    U: FromCast<T>, 
[src]