[−][src]Enum onnx_helpers::attrs::Attribute
Attribute constructor.
Variants
Float(f32)Int(i64)String(String)Tensor(TensorProto)Tensors(Vec<TensorProto>)Graph(GraphProto)Graphs(Vec<GraphProto>)Trait Implementations
impl<'_> From<&'_ str> for Attribute[src]
impl From<Axes> for Attribute[src]
impl From<GraphProto> for Attribute[src]
fn from(v: GraphProto) -> Self[src]
impl From<String> for Attribute[src]
impl From<TensorProto> for Attribute[src]
fn from(v: TensorProto) -> Self[src]
impl<'_> From<Vec<&'_ str>> for Attribute[src]
impl From<Vec<GraphProto>> for Attribute[src]
fn from(v: Vec<GraphProto>) -> Self[src]
impl From<Vec<String>> for Attribute[src]
impl From<Vec<TensorProto>> for Attribute[src]
fn from(v: Vec<TensorProto>) -> Self[src]
impl From<Vec<f32>> for Attribute[src]
impl From<Vec<i64>> for Attribute[src]
impl From<Vec<u8>> for Attribute[src]
impl From<bool> for Attribute[src]
impl From<f32> for Attribute[src]
impl From<i64> for Attribute[src]
Auto Trait Implementations
impl RefUnwindSafe for Attribute
impl Send for Attribute
impl Sync for Attribute
impl Unpin for Attribute
impl UnwindSafe for Attribute
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,
fn borrow_mut(&mut self) -> &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>,