[][src]Struct tract_tensorflow::tfpb::tensorflow::trackable_object_graph::trackable_object::SerializedTensor

pub struct SerializedTensor {
    pub name: String,
    pub full_name: String,
    pub checkpoint_key: String,
    pub optional_restore: bool,
}

Fields

name: String

A name for the Tensor. Simple variables have only one SerializedTensor named "VARIABLE_VALUE" by convention. This value may be restored on object creation as an optimization.

full_name: String

The full name of the variable/tensor, if applicable. Used to allow name-based loading of checkpoints which were saved using an object-based API. Should match the checkpoint key which would have been assigned by tf.train.Saver.

checkpoint_key: String

The generated name of the Tensor in the checkpoint.

optional_restore: bool

Whether checkpoints should be considered as matching even without this value restored. Used for non-critical values which don't affect the TensorFlow graph, such as layer configurations.

Trait Implementations

impl Clone for SerializedTensor[src]

impl Debug for SerializedTensor[src]

impl Default for SerializedTensor[src]

impl Message for SerializedTensor[src]

impl PartialEq<SerializedTensor> for SerializedTensor[src]

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