Package org.tensorflow.distruntime
Interface RegisterGraphRequestOrBuilder
-
- All Superinterfaces:
org.nd4j.shade.protobuf.MessageLiteOrBuilder,org.nd4j.shade.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RegisterGraphRequest,RegisterGraphRequest.Builder
public interface RegisterGraphRequestOrBuilder extends org.nd4j.shade.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description longgetCollectiveGraphKey()If graph_def contains any collective ops this must be a positive integer used to coordinate execution with other graphs.booleangetCreateWorkerSessionCalled()Set to true if `CreateWorkerSession` was called for `session_handle`.DebugOptionsgetDebugOptions()Field(s) used by TensorFlow Debugger (tfdbg).DebugOptionsOrBuildergetDebugOptionsOrBuilder()Field(s) used by TensorFlow Debugger (tfdbg).GraphDefgetGraphDef()"graph_def" has the subgraph of nodes for this worker, with each node having its device_name filled in.GraphDefOrBuildergetGraphDefOrBuilder()"graph_def" has the subgraph of nodes for this worker, with each node having its device_name filled in.GraphOptionsgetGraphOptions()Configuration options for the session in which this graph was created.GraphOptionsOrBuildergetGraphOptionsOrBuilder()Configuration options for the session in which this graph was created.booleangetHasControlFlow()Deprecated.tensorflow.RegisterGraphRequest.has_control_flow is deprecated.StringgetSessionHandle()Subgraphs are scoped within one session.org.nd4j.shade.protobuf.ByteStringgetSessionHandleBytes()Subgraphs are scoped within one session.booleanhasDebugOptions()Field(s) used by TensorFlow Debugger (tfdbg).booleanhasGraphDef()"graph_def" has the subgraph of nodes for this worker, with each node having its device_name filled in.booleanhasGraphOptions()Configuration options for the session in which this graph was created.-
Methods inherited from interface org.nd4j.shade.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getSessionHandle
String getSessionHandle()
Subgraphs are scoped within one session.
string session_handle = 1;- Returns:
- The sessionHandle.
-
getSessionHandleBytes
org.nd4j.shade.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.
.tensorflow.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.
.tensorflow.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.
.tensorflow.GraphDef graph_def = 2;
-
getHasControlFlow
@Deprecated boolean getHasControlFlow()
Deprecated.tensorflow.RegisterGraphRequest.has_control_flow is deprecated. See tensorflow/core/protobuf/worker.proto;l=117True 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.
.tensorflow.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.
.tensorflow.GraphOptions graph_options = 4;- Returns:
- The graphOptions.
-
getGraphOptionsOrBuilder
GraphOptionsOrBuilder getGraphOptionsOrBuilder()
Configuration options for the session in which this graph was created.
.tensorflow.GraphOptions graph_options = 4;
-
hasDebugOptions
boolean hasDebugOptions()
Field(s) used by TensorFlow Debugger (tfdbg).
.tensorflow.DebugOptions debug_options = 5;- Returns:
- Whether the debugOptions field is set.
-
getDebugOptions
DebugOptions getDebugOptions()
Field(s) used by TensorFlow Debugger (tfdbg).
.tensorflow.DebugOptions debug_options = 5;- Returns:
- The debugOptions.
-
getDebugOptionsOrBuilder
DebugOptionsOrBuilder getDebugOptionsOrBuilder()
Field(s) used by TensorFlow Debugger (tfdbg).
.tensorflow.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.
-
-