Package org.tensorflow.distruntime
Class RegisterGraphRequest.Builder
- java.lang.Object
-
- org.nd4j.shade.protobuf.AbstractMessageLite.Builder
-
- org.nd4j.shade.protobuf.AbstractMessage.Builder<BuilderType>
-
- org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RegisterGraphRequest.Builder>
-
- org.tensorflow.distruntime.RegisterGraphRequest.Builder
-
- All Implemented Interfaces:
Cloneable,org.nd4j.shade.protobuf.Message.Builder,org.nd4j.shade.protobuf.MessageLite.Builder,org.nd4j.shade.protobuf.MessageLiteOrBuilder,org.nd4j.shade.protobuf.MessageOrBuilder,RegisterGraphRequestOrBuilder
- Enclosing class:
- RegisterGraphRequest
public static final class RegisterGraphRequest.Builder extends org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RegisterGraphRequest.Builder> implements RegisterGraphRequestOrBuilder
Protobuf typetensorflow.RegisterGraphRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description RegisterGraphRequest.BuilderaddRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)RegisterGraphRequestbuild()RegisterGraphRequestbuildPartial()RegisterGraphRequest.Builderclear()RegisterGraphRequest.BuilderclearCollectiveGraphKey()If graph_def contains any collective ops this must be a positive integer used to coordinate execution with other graphs.RegisterGraphRequest.BuilderclearCreateWorkerSessionCalled()Set to true if `CreateWorkerSession` was called for `session_handle`.RegisterGraphRequest.BuilderclearDebugOptions()Field(s) used by TensorFlow Debugger (tfdbg).RegisterGraphRequest.BuilderclearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)RegisterGraphRequest.BuilderclearGraphDef()"graph_def" has the subgraph of nodes for this worker, with each node having its device_name filled in.RegisterGraphRequest.BuilderclearGraphOptions()Configuration options for the session in which this graph was created.RegisterGraphRequest.BuilderclearHasControlFlow()Deprecated.tensorflow.RegisterGraphRequest.has_control_flow is deprecated.RegisterGraphRequest.BuilderclearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)RegisterGraphRequest.BuilderclearSessionHandle()Subgraphs are scoped within one session.RegisterGraphRequest.Builderclone()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).DebugOptions.BuildergetDebugOptionsBuilder()Field(s) used by TensorFlow Debugger (tfdbg).DebugOptionsOrBuildergetDebugOptionsOrBuilder()Field(s) used by TensorFlow Debugger (tfdbg).RegisterGraphRequestgetDefaultInstanceForType()static org.nd4j.shade.protobuf.Descriptors.DescriptorgetDescriptor()org.nd4j.shade.protobuf.Descriptors.DescriptorgetDescriptorForType()GraphDefgetGraphDef()"graph_def" has the subgraph of nodes for this worker, with each node having its device_name filled in.GraphDef.BuildergetGraphDefBuilder()"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.GraphOptions.BuildergetGraphOptionsBuilder()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.protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()RegisterGraphRequest.BuildermergeDebugOptions(DebugOptions value)Field(s) used by TensorFlow Debugger (tfdbg).RegisterGraphRequest.BuildermergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)RegisterGraphRequest.BuildermergeFrom(org.nd4j.shade.protobuf.Message other)RegisterGraphRequest.BuildermergeFrom(RegisterGraphRequest other)RegisterGraphRequest.BuildermergeGraphDef(GraphDef value)"graph_def" has the subgraph of nodes for this worker, with each node having its device_name filled in.RegisterGraphRequest.BuildermergeGraphOptions(GraphOptions value)Configuration options for the session in which this graph was created.RegisterGraphRequest.BuildermergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)RegisterGraphRequest.BuildersetCollectiveGraphKey(long value)If graph_def contains any collective ops this must be a positive integer used to coordinate execution with other graphs.RegisterGraphRequest.BuildersetCreateWorkerSessionCalled(boolean value)Set to true if `CreateWorkerSession` was called for `session_handle`.RegisterGraphRequest.BuildersetDebugOptions(DebugOptions value)Field(s) used by TensorFlow Debugger (tfdbg).RegisterGraphRequest.BuildersetDebugOptions(DebugOptions.Builder builderForValue)Field(s) used by TensorFlow Debugger (tfdbg).RegisterGraphRequest.BuildersetField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)RegisterGraphRequest.BuildersetGraphDef(GraphDef value)"graph_def" has the subgraph of nodes for this worker, with each node having its device_name filled in.RegisterGraphRequest.BuildersetGraphDef(GraphDef.Builder builderForValue)"graph_def" has the subgraph of nodes for this worker, with each node having its device_name filled in.RegisterGraphRequest.BuildersetGraphOptions(GraphOptions value)Configuration options for the session in which this graph was created.RegisterGraphRequest.BuildersetGraphOptions(GraphOptions.Builder builderForValue)Configuration options for the session in which this graph was created.RegisterGraphRequest.BuildersetHasControlFlow(boolean value)Deprecated.tensorflow.RegisterGraphRequest.has_control_flow is deprecated.RegisterGraphRequest.BuildersetRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)RegisterGraphRequest.BuildersetSessionHandle(String value)Subgraphs are scoped within one session.RegisterGraphRequest.BuildersetSessionHandleBytes(org.nd4j.shade.protobuf.ByteString value)Subgraphs are scoped within one session.RegisterGraphRequest.BuildersetUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class org.nd4j.shade.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class org.nd4j.shade.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RegisterGraphRequest.Builder>
-
clear
public RegisterGraphRequest.Builder clear()
- Specified by:
clearin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
clearin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder- Overrides:
clearin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RegisterGraphRequest.Builder>
-
getDescriptorForType
public org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfaceorg.nd4j.shade.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RegisterGraphRequest.Builder>
-
getDefaultInstanceForType
public RegisterGraphRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceorg.nd4j.shade.protobuf.MessageOrBuilder
-
build
public RegisterGraphRequest build()
- Specified by:
buildin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
buildin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
buildPartial
public RegisterGraphRequest buildPartial()
- Specified by:
buildPartialin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
buildPartialin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
clone
public RegisterGraphRequest.Builder clone()
- Specified by:
clonein interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
clonein interfaceorg.nd4j.shade.protobuf.MessageLite.Builder- Overrides:
clonein classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RegisterGraphRequest.Builder>
-
setField
public RegisterGraphRequest.Builder setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
setFieldin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RegisterGraphRequest.Builder>
-
clearField
public RegisterGraphRequest.Builder clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
clearFieldin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RegisterGraphRequest.Builder>
-
clearOneof
public RegisterGraphRequest.Builder clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
clearOneofin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RegisterGraphRequest.Builder>
-
setRepeatedField
public RegisterGraphRequest.Builder setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RegisterGraphRequest.Builder>
-
addRepeatedField
public RegisterGraphRequest.Builder addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RegisterGraphRequest.Builder>
-
mergeFrom
public RegisterGraphRequest.Builder mergeFrom(org.nd4j.shade.protobuf.Message other)
- Specified by:
mergeFromin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
mergeFromin classorg.nd4j.shade.protobuf.AbstractMessage.Builder<RegisterGraphRequest.Builder>
-
mergeFrom
public RegisterGraphRequest.Builder mergeFrom(RegisterGraphRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RegisterGraphRequest.Builder>
-
mergeFrom
public RegisterGraphRequest.Builder mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
mergeFromin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder- Overrides:
mergeFromin classorg.nd4j.shade.protobuf.AbstractMessage.Builder<RegisterGraphRequest.Builder>- Throws:
IOException
-
getSessionHandle
public String getSessionHandle()
Subgraphs are scoped within one session.
string session_handle = 1;- Specified by:
getSessionHandlein interfaceRegisterGraphRequestOrBuilder- Returns:
- The sessionHandle.
-
getSessionHandleBytes
public org.nd4j.shade.protobuf.ByteString getSessionHandleBytes()
Subgraphs are scoped within one session.
string session_handle = 1;- Specified by:
getSessionHandleBytesin interfaceRegisterGraphRequestOrBuilder- Returns:
- The bytes for sessionHandle.
-
setSessionHandle
public RegisterGraphRequest.Builder setSessionHandle(String value)
Subgraphs are scoped within one session.
string session_handle = 1;- Parameters:
value- The sessionHandle to set.- Returns:
- This builder for chaining.
-
clearSessionHandle
public RegisterGraphRequest.Builder clearSessionHandle()
Subgraphs are scoped within one session.
string session_handle = 1;- Returns:
- This builder for chaining.
-
setSessionHandleBytes
public RegisterGraphRequest.Builder setSessionHandleBytes(org.nd4j.shade.protobuf.ByteString value)
Subgraphs are scoped within one session.
string session_handle = 1;- Parameters:
value- The bytes for sessionHandle to set.- Returns:
- This builder for chaining.
-
getCreateWorkerSessionCalled
public boolean getCreateWorkerSessionCalled()
Set to true if `CreateWorkerSession` was called for `session_handle`.
bool create_worker_session_called = 6;- Specified by:
getCreateWorkerSessionCalledin interfaceRegisterGraphRequestOrBuilder- Returns:
- The createWorkerSessionCalled.
-
setCreateWorkerSessionCalled
public RegisterGraphRequest.Builder setCreateWorkerSessionCalled(boolean value)
Set to true if `CreateWorkerSession` was called for `session_handle`.
bool create_worker_session_called = 6;- Parameters:
value- The createWorkerSessionCalled to set.- Returns:
- This builder for chaining.
-
clearCreateWorkerSessionCalled
public RegisterGraphRequest.Builder clearCreateWorkerSessionCalled()
Set to true if `CreateWorkerSession` was called for `session_handle`.
bool create_worker_session_called = 6;- Returns:
- This builder for chaining.
-
hasGraphDef
public 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;- Specified by:
hasGraphDefin interfaceRegisterGraphRequestOrBuilder- Returns:
- Whether the graphDef field is set.
-
getGraphDef
public 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;- Specified by:
getGraphDefin interfaceRegisterGraphRequestOrBuilder- Returns:
- The graphDef.
-
setGraphDef
public RegisterGraphRequest.Builder setGraphDef(GraphDef value)
"graph_def" has the subgraph of nodes for this worker, with each node having its device_name filled in.
.tensorflow.GraphDef graph_def = 2;
-
setGraphDef
public RegisterGraphRequest.Builder setGraphDef(GraphDef.Builder builderForValue)
"graph_def" has the subgraph of nodes for this worker, with each node having its device_name filled in.
.tensorflow.GraphDef graph_def = 2;
-
mergeGraphDef
public RegisterGraphRequest.Builder mergeGraphDef(GraphDef value)
"graph_def" has the subgraph of nodes for this worker, with each node having its device_name filled in.
.tensorflow.GraphDef graph_def = 2;
-
clearGraphDef
public RegisterGraphRequest.Builder clearGraphDef()
"graph_def" has the subgraph of nodes for this worker, with each node having its device_name filled in.
.tensorflow.GraphDef graph_def = 2;
-
getGraphDefBuilder
public GraphDef.Builder getGraphDefBuilder()
"graph_def" has the subgraph of nodes for this worker, with each node having its device_name filled in.
.tensorflow.GraphDef graph_def = 2;
-
getGraphDefOrBuilder
public 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;- Specified by:
getGraphDefOrBuilderin interfaceRegisterGraphRequestOrBuilder
-
getHasControlFlow
@Deprecated public 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];- Specified by:
getHasControlFlowin interfaceRegisterGraphRequestOrBuilder- Returns:
- The hasControlFlow.
-
setHasControlFlow
@Deprecated public RegisterGraphRequest.Builder setHasControlFlow(boolean value)
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];- Parameters:
value- The hasControlFlow to set.- Returns:
- This builder for chaining.
-
clearHasControlFlow
@Deprecated public RegisterGraphRequest.Builder clearHasControlFlow()
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:
- This builder for chaining.
-
hasGraphOptions
public boolean hasGraphOptions()
Configuration options for the session in which this graph was created.
.tensorflow.GraphOptions graph_options = 4;- Specified by:
hasGraphOptionsin interfaceRegisterGraphRequestOrBuilder- Returns:
- Whether the graphOptions field is set.
-
getGraphOptions
public GraphOptions getGraphOptions()
Configuration options for the session in which this graph was created.
.tensorflow.GraphOptions graph_options = 4;- Specified by:
getGraphOptionsin interfaceRegisterGraphRequestOrBuilder- Returns:
- The graphOptions.
-
setGraphOptions
public RegisterGraphRequest.Builder setGraphOptions(GraphOptions value)
Configuration options for the session in which this graph was created.
.tensorflow.GraphOptions graph_options = 4;
-
setGraphOptions
public RegisterGraphRequest.Builder setGraphOptions(GraphOptions.Builder builderForValue)
Configuration options for the session in which this graph was created.
.tensorflow.GraphOptions graph_options = 4;
-
mergeGraphOptions
public RegisterGraphRequest.Builder mergeGraphOptions(GraphOptions value)
Configuration options for the session in which this graph was created.
.tensorflow.GraphOptions graph_options = 4;
-
clearGraphOptions
public RegisterGraphRequest.Builder clearGraphOptions()
Configuration options for the session in which this graph was created.
.tensorflow.GraphOptions graph_options = 4;
-
getGraphOptionsBuilder
public GraphOptions.Builder getGraphOptionsBuilder()
Configuration options for the session in which this graph was created.
.tensorflow.GraphOptions graph_options = 4;
-
getGraphOptionsOrBuilder
public GraphOptionsOrBuilder getGraphOptionsOrBuilder()
Configuration options for the session in which this graph was created.
.tensorflow.GraphOptions graph_options = 4;- Specified by:
getGraphOptionsOrBuilderin interfaceRegisterGraphRequestOrBuilder
-
hasDebugOptions
public boolean hasDebugOptions()
Field(s) used by TensorFlow Debugger (tfdbg).
.tensorflow.DebugOptions debug_options = 5;- Specified by:
hasDebugOptionsin interfaceRegisterGraphRequestOrBuilder- Returns:
- Whether the debugOptions field is set.
-
getDebugOptions
public DebugOptions getDebugOptions()
Field(s) used by TensorFlow Debugger (tfdbg).
.tensorflow.DebugOptions debug_options = 5;- Specified by:
getDebugOptionsin interfaceRegisterGraphRequestOrBuilder- Returns:
- The debugOptions.
-
setDebugOptions
public RegisterGraphRequest.Builder setDebugOptions(DebugOptions value)
Field(s) used by TensorFlow Debugger (tfdbg).
.tensorflow.DebugOptions debug_options = 5;
-
setDebugOptions
public RegisterGraphRequest.Builder setDebugOptions(DebugOptions.Builder builderForValue)
Field(s) used by TensorFlow Debugger (tfdbg).
.tensorflow.DebugOptions debug_options = 5;
-
mergeDebugOptions
public RegisterGraphRequest.Builder mergeDebugOptions(DebugOptions value)
Field(s) used by TensorFlow Debugger (tfdbg).
.tensorflow.DebugOptions debug_options = 5;
-
clearDebugOptions
public RegisterGraphRequest.Builder clearDebugOptions()
Field(s) used by TensorFlow Debugger (tfdbg).
.tensorflow.DebugOptions debug_options = 5;
-
getDebugOptionsBuilder
public DebugOptions.Builder getDebugOptionsBuilder()
Field(s) used by TensorFlow Debugger (tfdbg).
.tensorflow.DebugOptions debug_options = 5;
-
getDebugOptionsOrBuilder
public DebugOptionsOrBuilder getDebugOptionsOrBuilder()
Field(s) used by TensorFlow Debugger (tfdbg).
.tensorflow.DebugOptions debug_options = 5;- Specified by:
getDebugOptionsOrBuilderin interfaceRegisterGraphRequestOrBuilder
-
getCollectiveGraphKey
public 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;- Specified by:
getCollectiveGraphKeyin interfaceRegisterGraphRequestOrBuilder- Returns:
- The collectiveGraphKey.
-
setCollectiveGraphKey
public RegisterGraphRequest.Builder setCollectiveGraphKey(long value)
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;- Parameters:
value- The collectiveGraphKey to set.- Returns:
- This builder for chaining.
-
clearCollectiveGraphKey
public RegisterGraphRequest.Builder clearCollectiveGraphKey()
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:
- This builder for chaining.
-
setUnknownFields
public final RegisterGraphRequest.Builder setUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RegisterGraphRequest.Builder>
-
mergeUnknownFields
public final RegisterGraphRequest.Builder mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RegisterGraphRequest.Builder>
-
-