[][src]Struct tensorflow_proto::tensorflow::RegisterGraphRequest

pub struct RegisterGraphRequest {
    pub session_handle: String,
    pub create_worker_session_called: bool,
    pub graph_def: Option<GraphDef>,
    pub has_control_flow: bool,
    pub graph_options: Option<GraphOptions>,
    pub debug_options: Option<DebugOptions>,
    pub collective_graph_key: i64,
}

Fields

session_handle: String

Subgraphs are scoped within one session.

create_worker_session_called: bool

Set to true if CreateWorkerSession was called for session_handle.

graph_def: Option<GraphDef>

"graph_def" has the subgraph of nodes for this worker, with each node having its device_name filled in.

has_control_flow: bool
👎 Deprecated

True iff the graph (before partitioning) contains control flow nodes.

As of 01/11/2015, this is no longer set by clients.

graph_options: Option<GraphOptions>

Configuration options for the session in which this graph was created.

debug_options: Option<DebugOptions>

Field(s) used by TensorFlow Debugger (tfdbg).

collective_graph_key: i64

If graph_def contains any collective ops this must be a positive integer used to coordinate execution with other graphs. All graphs in a distributed execution with the same collective_graph_key will coordinate to use the same step_id concurrently so that BufRendezvous entries will make the correct values accessible.

Trait Implementations

impl Clone for RegisterGraphRequest[src]

impl Debug for RegisterGraphRequest[src]

impl Default for RegisterGraphRequest[src]

impl Message for RegisterGraphRequest[src]

impl PartialEq<RegisterGraphRequest> for RegisterGraphRequest[src]

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