Enum tfdeploy::tensor::Tensor[][src]

pub enum Tensor {
    F32(ArrayD<f32>),
    F64(ArrayD<f64>),
    I32(ArrayD<i32>),
    I8(ArrayD<i8>),
    U8(ArrayD<u8>),
    TDim(ArrayD<TDim>),
    String(ArrayD<i8>),
}

Variants

Methods

impl Tensor
[src]

Important traits for &'a [u8]

impl Tensor
[src]

impl Tensor
[src]

impl Tensor
[src]

impl Tensor
[src]

impl Tensor
[src]

impl Tensor
[src]

Trait Implementations

impl IntoExp<ValueFact> for Tensor
[src]

Converts the value to an Expression.

impl Output for Tensor
[src]

Wraps the fact in the Wrapped type.

Retrieves the fact from the Wrapped type. Panics if wrapped doesn't have the right constructor. Read more

Wraps self in the Wrapped type.

impl Clone for Tensor
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Tensor
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Debug for Tensor
[src]

Formats the value using the given formatter. Read more

impl<D: Dimension, T: Datum> From<Array<T, D>> for Tensor
[src]

Performs the conversion.

impl From<f64> for Tensor
[src]

Performs the conversion.

impl From<f32> for Tensor
[src]

Performs the conversion.

impl From<i32> for Tensor
[src]

Performs the conversion.

impl From<u8> for Tensor
[src]

Performs the conversion.

impl From<i8> for Tensor
[src]

Performs the conversion.

impl From<TDim> for Tensor
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for Tensor

impl Sync for Tensor