[][src]Struct tensorflow::SavedModelBundle

pub struct SavedModelBundle {
    pub session: Session,
    pub meta_graph_def: Vec<u8>,
    // some fields omitted

Aggregation type for a saved model bundle.


session: Session

The loaded session.

meta_graph_def: Vec<u8>

A meta graph definition as raw protocol buffer.


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>

Loads a session from an exported model, creating a bundle

pub fn meta_graph_def(&self) -> &MetaGraphDef[src]

Trait Implementations

impl Debug for SavedModelBundle[src]

Auto Trait Implementations

impl Send for SavedModelBundle

impl Sync for SavedModelBundle

impl Unpin for SavedModelBundle

impl UnwindSafe for SavedModelBundle

impl RefUnwindSafe for SavedModelBundle

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 

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

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

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