[][src]Struct tract_tensorflow::tfpb::tensorflow::meta_graph_def::MetaInfoDef

pub struct MetaInfoDef {
    pub meta_graph_version: String,
    pub stripped_op_list: Option<OpList>,
    pub any_info: Option<Any>,
    pub tags: Vec<String>,
    pub tensorflow_version: String,
    pub tensorflow_git_version: String,
    pub stripped_default_attrs: bool,
}

Meta information regarding the graph to be exported. To be used by users of this protocol buffer to encode information regarding their meta graph.

Fields

meta_graph_version: String

User specified Version string. Can be the name of the model and revision, steps this model has been trained to, etc.

stripped_op_list: Option<OpList>

A copy of the OpDefs used by the producer of this graph_def. Descriptions and Ops not used in graph_def are stripped out.

any_info: Option<Any>

A serialized protobuf. Can be the time this meta graph is created, or modified, or name of the model.

tags: Vec<String>

User supplied tag(s) on the meta_graph and included graph_def.

MetaGraphDefs should be tagged with their capabilities or use-cases. Examples: "train", "serve", "gpu", "tpu", etc. These tags enable loaders to access the MetaGraph(s) appropriate for a specific use-case or runtime environment.

tensorflow_version: String

The version string of the tensorflow build used to write this graph. This will be populated by the framework, which will overwrite any user supplied value.

tensorflow_git_version: String

The git_version string of the tensorflow build used to write this graph. This will be populated by the framework, which will overwrite any user supplied value.

stripped_default_attrs: bool

A flag to denote whether default-valued attrs have been stripped from the nodes in this graph_def.

Trait Implementations

impl Clone for MetaInfoDef[src]

impl Debug for MetaInfoDef[src]

impl Default for MetaInfoDef[src]

impl Message for MetaInfoDef[src]

impl PartialEq<MetaInfoDef> for MetaInfoDef[src]

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