Trait ella_tensor::Column

source ·
pub trait Column: Debug + Send + Sync {
    // Required methods
    fn tensor_type(&self) -> TensorType;
    fn shape(&self) -> Dyn;
    fn strides(&self) -> Dyn;
    fn nullable(&self) -> bool;
    fn data(&self) -> ArrayData;
    fn to_arrow(&self) -> ArrayRef;

    // Provided methods
    fn arrow_type(&self) -> DataType { ... }
    fn row_shape(&self) -> Option<Dyn> { ... }
}

Required Methods§

source

fn tensor_type(&self) -> TensorType

source

fn shape(&self) -> Dyn

source

fn strides(&self) -> Dyn

source

fn nullable(&self) -> bool

source

fn data(&self) -> ArrayData

source

fn to_arrow(&self) -> ArrayRef

Provided Methods§

source

fn arrow_type(&self) -> DataType

source

fn row_shape(&self) -> Option<Dyn>

Implementors§

source§

impl<T, S> Column for Tensor<T, S>where T: TensorValue, S: Shape,