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

pub struct SavedConcreteFunction {
    pub bound_inputs: Vec<i32>,
    pub canonicalized_input_signature: Option<StructuredValue>,
    pub output_signature: Option<StructuredValue>,
}

Stores low-level information about a concrete function. Referenced in either a SavedFunction or a SavedBareConcreteFunction.

Fields

bound_inputs: Vec<i32>

Bound inputs to the function. The SavedObjects identified by the node ids given here are appended as extra inputs to the caller-supplied inputs. The only types of SavedObjects valid here are SavedVariable, SavedResource and SavedAsset.

canonicalized_input_signature: Option<StructuredValue>

Input in canonicalized form that was received to create this concrete function.

output_signature: Option<StructuredValue>

Output that was the return value of this function after replacing all Tensors with TensorSpecs. This can be an arbitrary nested function and will be used to reconstruct the full structure from pure tensors.

Trait Implementations

impl Clone for SavedConcreteFunction[src]

impl Debug for SavedConcreteFunction[src]

impl Default for SavedConcreteFunction[src]

impl Message for SavedConcreteFunction[src]

impl PartialEq<SavedConcreteFunction> for SavedConcreteFunction[src]

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