[][src]Struct tensorflow::Session

pub struct Session { /* fields omitted */ }

Manages a single graph and execution.

Methods

impl Session
[src]

Creates a session. graph will be be kept alive for the lifetime of the returned session. New nodes can still be added to graph after this call.

Loads a session from an exported model.

Closes the session.

Runs the graph, feeding the inputs and then fetching the outputs requested in the step.

Lists all devices in a session.

Trait Implementations

impl Drop for Session
[src]

impl Debug for Session
[src]

Auto Trait Implementations

impl !Send for Session

impl !Sync for Session

Blanket Implementations

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

impl<T> From for T
[src]

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.