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.Builder
addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
RegisterGraphRequest
build()
RegisterGraphRequest
buildPartial()
RegisterGraphRequest.Builder
clear()
RegisterGraphRequest.Builder
clearCollectiveGraphKey()
If graph_def contains any collective ops this must be a positive integer used to coordinate execution with other graphs.RegisterGraphRequest.Builder
clearCreateWorkerSessionCalled()
Set to true if `CreateWorkerSession` was called for `session_handle`.RegisterGraphRequest.Builder
clearDebugOptions()
Field(s) used by TensorFlow Debugger (tfdbg).RegisterGraphRequest.Builder
clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)
RegisterGraphRequest.Builder
clearGraphDef()
"graph_def" has the subgraph of nodes for this worker, with each node having its device_name filled in.RegisterGraphRequest.Builder
clearGraphOptions()
Configuration options for the session in which this graph was created.RegisterGraphRequest.Builder
clearHasControlFlow()
Deprecated.tensorflow.RegisterGraphRequest.has_control_flow is deprecated.RegisterGraphRequest.Builder
clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)
RegisterGraphRequest.Builder
clearSessionHandle()
Subgraphs are scoped within one session.RegisterGraphRequest.Builder
clone()
long
getCollectiveGraphKey()
If graph_def contains any collective ops this must be a positive integer used to coordinate execution with other graphs.boolean
getCreateWorkerSessionCalled()
Set to true if `CreateWorkerSession` was called for `session_handle`.DebugOptions
getDebugOptions()
Field(s) used by TensorFlow Debugger (tfdbg).DebugOptions.Builder
getDebugOptionsBuilder()
Field(s) used by TensorFlow Debugger (tfdbg).DebugOptionsOrBuilder
getDebugOptionsOrBuilder()
Field(s) used by TensorFlow Debugger (tfdbg).RegisterGraphRequest
getDefaultInstanceForType()
static org.nd4j.shade.protobuf.Descriptors.Descriptor
getDescriptor()
org.nd4j.shade.protobuf.Descriptors.Descriptor
getDescriptorForType()
GraphDef
getGraphDef()
"graph_def" has the subgraph of nodes for this worker, with each node having its device_name filled in.GraphDef.Builder
getGraphDefBuilder()
"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.GraphOptions.Builder
getGraphOptionsBuilder()
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.tensorflow.RegisterGraphRequest.has_control_flow is deprecated.String
getSessionHandle()
Subgraphs are scoped within one session.org.nd4j.shade.protobuf.ByteString
getSessionHandleBytes()
Subgraphs are scoped within one session.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.protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
RegisterGraphRequest.Builder
mergeDebugOptions(DebugOptions value)
Field(s) used by TensorFlow Debugger (tfdbg).RegisterGraphRequest.Builder
mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
RegisterGraphRequest.Builder
mergeFrom(org.nd4j.shade.protobuf.Message other)
RegisterGraphRequest.Builder
mergeFrom(RegisterGraphRequest other)
RegisterGraphRequest.Builder
mergeGraphDef(GraphDef value)
"graph_def" has the subgraph of nodes for this worker, with each node having its device_name filled in.RegisterGraphRequest.Builder
mergeGraphOptions(GraphOptions value)
Configuration options for the session in which this graph was created.RegisterGraphRequest.Builder
mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
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.RegisterGraphRequest.Builder
setCreateWorkerSessionCalled(boolean value)
Set to true if `CreateWorkerSession` was called for `session_handle`.RegisterGraphRequest.Builder
setDebugOptions(DebugOptions value)
Field(s) used by TensorFlow Debugger (tfdbg).RegisterGraphRequest.Builder
setDebugOptions(DebugOptions.Builder builderForValue)
Field(s) used by TensorFlow Debugger (tfdbg).RegisterGraphRequest.Builder
setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
RegisterGraphRequest.Builder
setGraphDef(GraphDef value)
"graph_def" has the subgraph of nodes for this worker, with each node having its device_name filled in.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.RegisterGraphRequest.Builder
setGraphOptions(GraphOptions value)
Configuration options for the session in which this graph was created.RegisterGraphRequest.Builder
setGraphOptions(GraphOptions.Builder builderForValue)
Configuration options for the session in which this graph was created.RegisterGraphRequest.Builder
setHasControlFlow(boolean value)
Deprecated.tensorflow.RegisterGraphRequest.has_control_flow is deprecated.RegisterGraphRequest.Builder
setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
RegisterGraphRequest.Builder
setSessionHandle(String value)
Subgraphs are scoped within one session.RegisterGraphRequest.Builder
setSessionHandleBytes(org.nd4j.shade.protobuf.ByteString value)
Subgraphs are scoped within one session.RegisterGraphRequest.Builder
setUnknownFields(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:
internalGetFieldAccessorTable
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RegisterGraphRequest.Builder>
-
clear
public RegisterGraphRequest.Builder clear()
- Specified by:
clear
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
clear
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
- Overrides:
clear
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RegisterGraphRequest.Builder>
-
getDescriptorForType
public org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfaceorg.nd4j.shade.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RegisterGraphRequest.Builder>
-
getDefaultInstanceForType
public RegisterGraphRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceorg.nd4j.shade.protobuf.MessageOrBuilder
-
build
public RegisterGraphRequest build()
- Specified by:
build
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
build
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
buildPartial
public RegisterGraphRequest buildPartial()
- Specified by:
buildPartial
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
buildPartial
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
clone
public RegisterGraphRequest.Builder clone()
- Specified by:
clone
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
clone
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
- Overrides:
clone
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RegisterGraphRequest.Builder>
-
setField
public RegisterGraphRequest.Builder setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
setField
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RegisterGraphRequest.Builder>
-
clearField
public RegisterGraphRequest.Builder clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
clearField
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RegisterGraphRequest.Builder>
-
clearOneof
public RegisterGraphRequest.Builder clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
clearOneof
in 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:
setRepeatedField
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RegisterGraphRequest.Builder>
-
addRepeatedField
public RegisterGraphRequest.Builder addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RegisterGraphRequest.Builder>
-
mergeFrom
public RegisterGraphRequest.Builder mergeFrom(org.nd4j.shade.protobuf.Message other)
- Specified by:
mergeFrom
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
mergeFrom
in classorg.nd4j.shade.protobuf.AbstractMessage.Builder<RegisterGraphRequest.Builder>
-
mergeFrom
public RegisterGraphRequest.Builder mergeFrom(RegisterGraphRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getSessionHandle
in interfaceRegisterGraphRequestOrBuilder
- Returns:
- The sessionHandle.
-
getSessionHandleBytes
public org.nd4j.shade.protobuf.ByteString getSessionHandleBytes()
Subgraphs are scoped within one session.
string session_handle = 1;
- Specified by:
getSessionHandleBytes
in 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:
getCreateWorkerSessionCalled
in 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:
hasGraphDef
in 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:
getGraphDef
in 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:
getGraphDefOrBuilder
in 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:
getHasControlFlow
in 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:
hasGraphOptions
in 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:
getGraphOptions
in 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:
getGraphOptionsOrBuilder
in interfaceRegisterGraphRequestOrBuilder
-
hasDebugOptions
public boolean hasDebugOptions()
Field(s) used by TensorFlow Debugger (tfdbg).
.tensorflow.DebugOptions debug_options = 5;
- Specified by:
hasDebugOptions
in 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:
getDebugOptions
in 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:
getDebugOptionsOrBuilder
in 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:
getCollectiveGraphKey
in 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:
setUnknownFields
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RegisterGraphRequest.Builder>
-
mergeUnknownFields
public final RegisterGraphRequest.Builder mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RegisterGraphRequest.Builder>
-
-