[−][src]Struct tract_core::model::TypedTensorInfo
Fully determined tensor information for TypedModel.
Fields
datum_type: DatumType
tensor element type
shape: ShapeInfo
tensor shape
konst: Option<Arc<Tensor>>
optional constant value
Trait Implementations
impl TensorInfo for TypedTensorInfo
[src]
fn to_tensor_fact(&self) -> TensorFact
[src]
impl Clone for TypedTensorInfo
[src]
fn clone(&self) -> TypedTensorInfo
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl From<Tensor> for TypedTensorInfo
[src]
fn from(t: Tensor) -> TypedTensorInfo
[src]
impl<'t> From<&'t Tensor> for TypedTensorInfo
[src]
fn from(t: &'t Tensor) -> TypedTensorInfo
[src]
impl From<Arc<Tensor>> for TypedTensorInfo
[src]
fn from(t: Arc<Tensor>) -> TypedTensorInfo
[src]
impl Debug for TypedTensorInfo
[src]
impl<'a> TryFrom<&'a TensorFact> for TypedTensorInfo
[src]
type Error = TractError
The type returned in the event of a conversion error.
fn try_from(fact: &TensorFact) -> TractResult<TypedTensorInfo>
[src]
impl TryFrom<TensorFact> for TypedTensorInfo
[src]
type Error = TractError
The type returned in the event of a conversion error.
fn try_from(fact: TensorFact) -> TractResult<TypedTensorInfo>
[src]
impl TryFrom<TypedTensorInfo> for NormalizedTensorInfo
[src]
type Error = TractError
The type returned in the event of a conversion error.
fn try_from(fact: TypedTensorInfo) -> TractResult<NormalizedTensorInfo>
[src]
impl TryFrom<NormalizedTensorInfo> for TypedTensorInfo
[src]
type Error = TractError
The type returned in the event of a conversion error.
fn try_from(fact: NormalizedTensorInfo) -> TractResult<TypedTensorInfo>
[src]
impl TryFrom<PulsedTensorFact> for TypedTensorInfo
[src]
type Error = TractError
The type returned in the event of a conversion error.
fn try_from(fact: PulsedTensorFact) -> TractResult<TypedTensorInfo>
[src]
Auto Trait Implementations
impl Send for TypedTensorInfo
impl Sync for TypedTensorInfo
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> From<T> for T
[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.
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Downcast for T where
T: Any,
[src]
T: Any,
fn into_any(self: Box<T>) -> Box<dyn Any + 'static>
[src]
fn as_any(&self) -> &(dyn Any + 'static)
[src]
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
[src]
impl<T> Clone for T where
T: Clone,
[src]
T: Clone,