[][src]Struct tract_onnx::pb::GraphProto

pub struct GraphProto {
    pub node: Vec<NodeProto>,
    pub name: String,
    pub initializer: Vec<TensorProto>,
    pub doc_string: String,
    pub input: Vec<ValueInfoProto>,
    pub output: Vec<ValueInfoProto>,
    pub value_info: Vec<ValueInfoProto>,
}

Graphs

A graph defines the computational logic of a model and is comprised of a parameterized list of nodes that form a directed acyclic graph based on their inputs and outputs. This is the equivalent of the "network" or "graph" in many deep learning frameworks.

Fields

node: Vec<NodeProto>

The nodes in the graph, sorted topologically.

name: String

The name of the graph.

namespace Graph

initializer: Vec<TensorProto>

A list of named tensor values, used to specify constant inputs of the graph. Each TensorProto entry must have a distinct name (within the list) that also appears in the input list.

doc_string: String

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

input: Vec<ValueInfoProto>

The inputs and outputs of the graph.

output: Vec<ValueInfoProto>value_info: Vec<ValueInfoProto>

Information for the values in the graph. The ValueInfoProto.name's must be distinct. It is optional for a value to appear in value_info list.

Trait Implementations

impl<'a> AttrScalarType<'a> for &'a GraphProto[src]

impl Clone for GraphProto[src]

impl Debug for GraphProto[src]

impl Default for GraphProto[src]

impl Message for GraphProto[src]

impl PartialEq<GraphProto> for GraphProto[src]

impl StructuralPartialEq for GraphProto[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> Downcast for T where
    T: Any

impl<T> DowncastSync for T where
    T: Send + Sync + Any

impl<T> DynClone for T where
    T: Clone
[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.