[][src]Struct onnx_pb::TensorAnnotation

pub struct TensorAnnotation {
    pub tensor_name: String,
    pub quant_parameter_tensor_names: Vec<StringStringEntryProto>,
}

Fields

tensor_name: Stringquant_parameter_tensor_names: Vec<StringStringEntryProto>

<key, value> pairs to annotate tensor specified by <tensor_name> above. The keys used in the mapping below must be pre-defined in ONNX spec. For example, for 8-bit linear quantization case, 'SCALE_TENSOR', 'ZERO_POINT_TENSOR' will be pre-defined as quantization parameter keys.

Trait Implementations

impl Clone for TensorAnnotation[src]

impl Debug for TensorAnnotation[src]

impl Default for TensorAnnotation[src]

impl Message for TensorAnnotation[src]

impl PartialEq<TensorAnnotation> for TensorAnnotation[src]

impl StructuralPartialEq for TensorAnnotation[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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.