[][src]Struct onnx_pb::NodeProto

pub struct NodeProto {
    pub input: Vec<String>,
    pub output: Vec<String>,
    pub name: String,
    pub op_type: String,
    pub domain: String,
    pub attribute: Vec<AttributeProto>,
    pub doc_string: String,
}

Nodes

Computation graphs are made up of a DAG of nodes, which represent what is commonly called a "layer" or "pipeline stage" in machine learning frameworks.

For example, it can be a node of type "Conv" that takes in an image, a filter tensor and a bias tensor, and produces the convolved output.

Fields

input: Vec<String>

namespace Value

output: Vec<String>

namespace Value

name: String

An optional identifier for this node in a graph. This field MAY be absent in ths version of the IR.

namespace Node

op_type: String

The symbolic identifier of the Operator to execute.

namespace Operator

domain: String

The domain of the OperatorSet that specifies the operator named by op_type.

namespace Domain

attribute: Vec<AttributeProto>

Additional named attributes.

doc_string: String

A human-readable documentation for this node. Markdown is allowed.

Trait Implementations

impl Clone for NodeProto[src]

impl Debug for NodeProto[src]

impl Default for NodeProto[src]

impl Message for NodeProto[src]

impl PartialEq<NodeProto> for NodeProto[src]

impl StructuralPartialEq for NodeProto[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.