[][src]Enum onnxruntime::TensorElementDataType

#[repr(u32)]pub enum TensorElementDataType {
    Float,
    Uint8,
    Int8,
    Uint16,
    Int16,
    Int32,
    Int64,
    Double,
    Uint32,
    Uint64,
}

Enum mapping ONNX Runtime's supported tensor types

Variants

Float

32-bit floating point, equivalent to Rust's f32

Uint8

Unsigned 8-bit int, equivalent to Rust's u8

Int8

Signed 8-bit int, equivalent to Rust's i8

Uint16

Unsigned 16-bit int, equivalent to Rust's u16

Int16

Signed 16-bit int, equivalent to Rust's i16

Int32

Signed 32-bit int, equivalent to Rust's i32

Int64

Signed 64-bit int, equivalent to Rust's i64

Double

64-bit floating point, equivalent to Rust's f64

Uint32

Unsigned 32-bit int, equivalent to Rust's u32

Uint64

Unsigned 64-bit int, equivalent to Rust's u64

Trait Implementations

impl Debug for TensorElementDataType[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

impl<T, U> Into<U> for T where
    U: From<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.