[][src]Struct tract_tensorflow::tfpb::tensorflow::MetaGraphDef

pub struct MetaGraphDef {
    pub meta_info_def: Option<MetaInfoDef>,
    pub graph_def: Option<GraphDef>,
    pub saver_def: Option<SaverDef>,
    pub collection_def: HashMap<String, CollectionDef>,
    pub signature_def: HashMap<String, SignatureDef>,
    pub asset_file_def: Vec<AssetFileDef>,
    pub object_graph_def: Option<SavedObjectGraph>,
}

NOTE: This protocol buffer is evolving, and will go through revisions in the coming months.

Protocol buffer containing the following which are necessary to restart training, run inference. It can be used to serialize/de-serialize memory objects necessary for running computation in a graph when crossing the process boundary. It can be used for long term storage of graphs, cross-language execution of graphs, etc. MetaInfoDef GraphDef SaverDef CollectionDef TensorInfo SignatureDef

Fields

meta_info_def: Option<MetaInfoDef>graph_def: Option<GraphDef>

GraphDef.

saver_def: Option<SaverDef>

SaverDef.

collection_def: HashMap<String, CollectionDef>

collection_def: Map from collection name to collections. See CollectionDef section for details.

signature_def: HashMap<String, SignatureDef>

signature_def: Map from user supplied key for a signature to a single SignatureDef.

asset_file_def: Vec<AssetFileDef>

Asset file def to be used with the defined graph.

object_graph_def: Option<SavedObjectGraph>

Extra information about the structure of functions and stateful objects.

Trait Implementations

impl Clone for MetaGraphDef[src]

impl Debug for MetaGraphDef[src]

impl Default for MetaGraphDef[src]

impl Message for MetaGraphDef[src]

impl PartialEq<MetaGraphDef> for MetaGraphDef[src]

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