Enum onnxruntime::TensorElementDataType [−][src]
Enum mapping ONNX Runtime’s supported tensor types
Variants
32-bit floating point, equivalent to Rust’s f32
Unsigned 8-bit int, equivalent to Rust’s u8
Signed 8-bit int, equivalent to Rust’s i8
Unsigned 16-bit int, equivalent to Rust’s u16
Signed 16-bit int, equivalent to Rust’s i16
Signed 32-bit int, equivalent to Rust’s i32
Signed 64-bit int, equivalent to Rust’s i64
String, equivalent to Rust’s String
64-bit floating point, equivalent to Rust’s f64
Unsigned 32-bit int, equivalent to Rust’s u32
Unsigned 64-bit int, equivalent to Rust’s u64
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for TensorElementDataType
impl Send for TensorElementDataType
impl Sync for TensorElementDataType
impl Unpin for TensorElementDataType
impl UnwindSafe for TensorElementDataType
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,