Package org.platanios.tensorflow.proto
Interface RegisterGraphRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RegisterGraphRequest
,RegisterGraphRequest.Builder
public interface RegisterGraphRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description long
getCollectiveGraphKey()
If graph_def contains any collective ops this must be a positive integer used to coordinate execution with other graphs.ConfigProto
getConfigProto()
ConfigProto from the session in which this graph was created.ConfigProtoOrBuilder
getConfigProtoOrBuilder()
ConfigProto from the session in which this graph was created.boolean
getCreateWorkerSessionCalled()
Set to true if `CreateWorkerSession` was called for `session_handle`.DebugOptions
getDebugOptions()
Field(s) used by TensorFlow Debugger (tfdbg).DebugOptionsOrBuilder
getDebugOptionsOrBuilder()
Field(s) used by TensorFlow Debugger (tfdbg).GraphDef
getGraphDef()
"graph_def" has the subgraph of nodes for this worker, with each node having its device_name filled in.GraphDefOrBuilder
getGraphDefOrBuilder()
"graph_def" has the subgraph of nodes for this worker, with each node having its device_name filled in.GraphOptions
getGraphOptions()
Configuration options for the session in which this graph was created.GraphOptionsOrBuilder
getGraphOptionsOrBuilder()
Configuration options for the session in which this graph was created.boolean
getHasControlFlow()
Deprecated.java.lang.String
getSessionHandle()
Subgraphs are scoped within one session.com.google.protobuf.ByteString
getSessionHandleBytes()
Subgraphs are scoped within one session.boolean
hasConfigProto()
ConfigProto from the session in which this graph was created.boolean
hasDebugOptions()
Field(s) used by TensorFlow Debugger (tfdbg).boolean
hasGraphDef()
"graph_def" has the subgraph of nodes for this worker, with each node having its device_name filled in.boolean
hasGraphOptions()
Configuration options for the session in which this graph was created.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getSessionHandle
java.lang.String getSessionHandle()
Subgraphs are scoped within one session.
string session_handle = 1;
- Returns:
- The sessionHandle.
-
getSessionHandleBytes
com.google.protobuf.ByteString getSessionHandleBytes()
Subgraphs are scoped within one session.
string session_handle = 1;
- Returns:
- The bytes for sessionHandle.
-
getCreateWorkerSessionCalled
boolean getCreateWorkerSessionCalled()
Set to true if `CreateWorkerSession` was called for `session_handle`.
bool create_worker_session_called = 6;
- Returns:
- The createWorkerSessionCalled.
-
hasGraphDef
boolean hasGraphDef()
"graph_def" has the subgraph of nodes for this worker, with each node having its device_name filled in.
.org.platanios.tensorflow.proto.GraphDef graph_def = 2;
- Returns:
- Whether the graphDef field is set.
-
getGraphDef
GraphDef getGraphDef()
"graph_def" has the subgraph of nodes for this worker, with each node having its device_name filled in.
.org.platanios.tensorflow.proto.GraphDef graph_def = 2;
- Returns:
- The graphDef.
-
getGraphDefOrBuilder
GraphDefOrBuilder getGraphDefOrBuilder()
"graph_def" has the subgraph of nodes for this worker, with each node having its device_name filled in.
.org.platanios.tensorflow.proto.GraphDef graph_def = 2;
-
getHasControlFlow
@Deprecated boolean getHasControlFlow()
Deprecated.True iff the graph (before partitioning) contains control flow nodes. As of 01/11/2015, this is no longer set by clients.
bool has_control_flow = 3 [deprecated = true];
- Returns:
- The hasControlFlow.
-
hasGraphOptions
boolean hasGraphOptions()
Configuration options for the session in which this graph was created.
.org.platanios.tensorflow.proto.GraphOptions graph_options = 4;
- Returns:
- Whether the graphOptions field is set.
-
getGraphOptions
GraphOptions getGraphOptions()
Configuration options for the session in which this graph was created.
.org.platanios.tensorflow.proto.GraphOptions graph_options = 4;
- Returns:
- The graphOptions.
-
getGraphOptionsOrBuilder
GraphOptionsOrBuilder getGraphOptionsOrBuilder()
Configuration options for the session in which this graph was created.
.org.platanios.tensorflow.proto.GraphOptions graph_options = 4;
-
hasDebugOptions
boolean hasDebugOptions()
Field(s) used by TensorFlow Debugger (tfdbg).
.org.platanios.tensorflow.proto.DebugOptions debug_options = 5;
- Returns:
- Whether the debugOptions field is set.
-
getDebugOptions
DebugOptions getDebugOptions()
Field(s) used by TensorFlow Debugger (tfdbg).
.org.platanios.tensorflow.proto.DebugOptions debug_options = 5;
- Returns:
- The debugOptions.
-
getDebugOptionsOrBuilder
DebugOptionsOrBuilder getDebugOptionsOrBuilder()
Field(s) used by TensorFlow Debugger (tfdbg).
.org.platanios.tensorflow.proto.DebugOptions debug_options = 5;
-
getCollectiveGraphKey
long getCollectiveGraphKey()
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.
int64 collective_graph_key = 7;
- Returns:
- The collectiveGraphKey.
-
hasConfigProto
boolean hasConfigProto()
ConfigProto from the session in which this graph was created. Contains additional parameters beyond graph_options, including the name of the requested executor.
.org.platanios.tensorflow.proto.ConfigProto config_proto = 8;
- Returns:
- Whether the configProto field is set.
-
getConfigProto
ConfigProto getConfigProto()
ConfigProto from the session in which this graph was created. Contains additional parameters beyond graph_options, including the name of the requested executor.
.org.platanios.tensorflow.proto.ConfigProto config_proto = 8;
- Returns:
- The configProto.
-
getConfigProtoOrBuilder
ConfigProtoOrBuilder getConfigProtoOrBuilder()
ConfigProto from the session in which this graph was created. Contains additional parameters beyond graph_options, including the name of the requested executor.
.org.platanios.tensorflow.proto.ConfigProto config_proto = 8;
-
-