[][src]Struct tensorflow::SavedModelBundle

pub struct SavedModelBundle {
    pub session: Session,
    pub meta_graph_def: Vec<u8>,
}

Aggregation type for a saved model bundle.

Fields

session: Session

The loaded session.

meta_graph_def: Vec<u8>

A meta graph definition as raw protocol buffer.

Methods

impl SavedModelBundle[src]

pub fn load<P: AsRef<Path>, Tag: AsRef<str>, Tags: IntoIterator<Item = Tag>>(
    options: &SessionOptions,
    tags: Tags,
    graph: &mut Graph,
    export_dir: P
) -> Result<SavedModelBundle>
[src]

Loads a session from an exported model, creating a bundle

Trait Implementations

impl Debug for SavedModelBundle[src]

Auto Trait Implementations

impl Send for SavedModelBundle

impl Sync for SavedModelBundle

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

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.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]