public static final class ConfigProto.Experimental.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ConfigProto.Experimental.Builder> implements ConfigProto.ExperimentalOrBuilder
Everything inside Experimental is subject to change and is not subject to API stability guarantees in https://www.tensorflow.org/guide/version_compat.Protobuf type
tensorflow.ConfigProto.Experimental| Modifier and Type | Method and Description |
|---|---|
ConfigProto.Experimental.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
ConfigProto.Experimental |
build() |
ConfigProto.Experimental |
buildPartial() |
ConfigProto.Experimental.Builder |
clear() |
ConfigProto.Experimental.Builder |
clearCollectiveDeterministicSequentialExecution()
If true, make collective op execution order sequential and deterministic
for potentially concurrent collective instances.
|
ConfigProto.Experimental.Builder |
clearCollectiveGroupLeader()
Task name for group resolution.
|
ConfigProto.Experimental.Builder |
clearCollectiveNccl()
If true, use NCCL for CollectiveOps.
|
ConfigProto.Experimental.Builder |
clearDisableThreadSpinning()
If using a direct session, disable spinning while waiting for work in
the thread pool.
|
ConfigProto.Experimental.Builder |
clearExecutorType()
Which executor to use, the default executor will be used
if it is an empty string or "DEFAULT"
|
ConfigProto.Experimental.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ConfigProto.Experimental.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ConfigProto.Experimental.Builder |
clearOptimizeForStaticGraph()
If true, the session may treat the graph as being static for optimization
purposes.
|
ConfigProto.Experimental.Builder |
clearRecvBufMaxChunk()
Guidance to formatting of large RecvBuf fields for transfer.
|
ConfigProto.Experimental.Builder |
clearSessionMetadata()
Metadata about the session.
|
ConfigProto.Experimental.Builder |
clearShareClusterDevicesInSession()
When true, WorkerSessions are created with device attributes from the
full cluster.
|
ConfigProto.Experimental.Builder |
clearShareSessionStateInClusterspecPropagation()
In the following, session state means the value of a variable, elements
in a hash table, or any other resource, accessible by worker sessions
held by a TF server.
|
ConfigProto.Experimental.Builder |
clearUseNumaAffinity()
If true, and supported by the platform, the runtime will attempt to
use NUMA affinity where applicable.
|
ConfigProto.Experimental.Builder |
clone() |
boolean |
getCollectiveDeterministicSequentialExecution()
If true, make collective op execution order sequential and deterministic
for potentially concurrent collective instances.
|
java.lang.String |
getCollectiveGroupLeader()
Task name for group resolution.
|
com.google.protobuf.ByteString |
getCollectiveGroupLeaderBytes()
Task name for group resolution.
|
boolean |
getCollectiveNccl()
If true, use NCCL for CollectiveOps.
|
ConfigProto.Experimental |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
boolean |
getDisableThreadSpinning()
If using a direct session, disable spinning while waiting for work in
the thread pool.
|
java.lang.String |
getExecutorType()
Which executor to use, the default executor will be used
if it is an empty string or "DEFAULT"
|
com.google.protobuf.ByteString |
getExecutorTypeBytes()
Which executor to use, the default executor will be used
if it is an empty string or "DEFAULT"
|
boolean |
getOptimizeForStaticGraph()
If true, the session may treat the graph as being static for optimization
purposes.
|
int |
getRecvBufMaxChunk()
Guidance to formatting of large RecvBuf fields for transfer.
|
SessionMetadata |
getSessionMetadata()
Metadata about the session.
|
SessionMetadata.Builder |
getSessionMetadataBuilder()
Metadata about the session.
|
SessionMetadataOrBuilder |
getSessionMetadataOrBuilder()
Metadata about the session.
|
boolean |
getShareClusterDevicesInSession()
When true, WorkerSessions are created with device attributes from the
full cluster.
|
boolean |
getShareSessionStateInClusterspecPropagation()
In the following, session state means the value of a variable, elements
in a hash table, or any other resource, accessible by worker sessions
held by a TF server.
|
boolean |
getUseNumaAffinity()
If true, and supported by the platform, the runtime will attempt to
use NUMA affinity where applicable.
|
boolean |
hasSessionMetadata()
Metadata about the session.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ConfigProto.Experimental.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ConfigProto.Experimental.Builder |
mergeFrom(ConfigProto.Experimental other) |
ConfigProto.Experimental.Builder |
mergeFrom(com.google.protobuf.Message other) |
ConfigProto.Experimental.Builder |
mergeSessionMetadata(SessionMetadata value)
Metadata about the session.
|
ConfigProto.Experimental.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ConfigProto.Experimental.Builder |
setCollectiveDeterministicSequentialExecution(boolean value)
If true, make collective op execution order sequential and deterministic
for potentially concurrent collective instances.
|
ConfigProto.Experimental.Builder |
setCollectiveGroupLeader(java.lang.String value)
Task name for group resolution.
|
ConfigProto.Experimental.Builder |
setCollectiveGroupLeaderBytes(com.google.protobuf.ByteString value)
Task name for group resolution.
|
ConfigProto.Experimental.Builder |
setCollectiveNccl(boolean value)
If true, use NCCL for CollectiveOps.
|
ConfigProto.Experimental.Builder |
setDisableThreadSpinning(boolean value)
If using a direct session, disable spinning while waiting for work in
the thread pool.
|
ConfigProto.Experimental.Builder |
setExecutorType(java.lang.String value)
Which executor to use, the default executor will be used
if it is an empty string or "DEFAULT"
|
ConfigProto.Experimental.Builder |
setExecutorTypeBytes(com.google.protobuf.ByteString value)
Which executor to use, the default executor will be used
if it is an empty string or "DEFAULT"
|
ConfigProto.Experimental.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
ConfigProto.Experimental.Builder |
setOptimizeForStaticGraph(boolean value)
If true, the session may treat the graph as being static for optimization
purposes.
|
ConfigProto.Experimental.Builder |
setRecvBufMaxChunk(int value)
Guidance to formatting of large RecvBuf fields for transfer.
|
ConfigProto.Experimental.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
ConfigProto.Experimental.Builder |
setSessionMetadata(SessionMetadata.Builder builderForValue)
Metadata about the session.
|
ConfigProto.Experimental.Builder |
setSessionMetadata(SessionMetadata value)
Metadata about the session.
|
ConfigProto.Experimental.Builder |
setShareClusterDevicesInSession(boolean value)
When true, WorkerSessions are created with device attributes from the
full cluster.
|
ConfigProto.Experimental.Builder |
setShareSessionStateInClusterspecPropagation(boolean value)
In the following, session state means the value of a variable, elements
in a hash table, or any other resource, accessible by worker sessions
held by a TF server.
|
ConfigProto.Experimental.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ConfigProto.Experimental.Builder |
setUseNumaAffinity(boolean value)
If true, and supported by the platform, the runtime will attempt to
use NUMA affinity where applicable.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ConfigProto.Experimental.Builder>public ConfigProto.Experimental.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ConfigProto.Experimental.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ConfigProto.Experimental.Builder>public ConfigProto.Experimental getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ConfigProto.Experimental build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ConfigProto.Experimental buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ConfigProto.Experimental.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ConfigProto.Experimental.Builder>public ConfigProto.Experimental.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<ConfigProto.Experimental.Builder>public ConfigProto.Experimental.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ConfigProto.Experimental.Builder>public ConfigProto.Experimental.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ConfigProto.Experimental.Builder>public ConfigProto.Experimental.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ConfigProto.Experimental.Builder>public ConfigProto.Experimental.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ConfigProto.Experimental.Builder>public ConfigProto.Experimental.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ConfigProto.Experimental.Builder>public ConfigProto.Experimental.Builder mergeFrom(ConfigProto.Experimental other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ConfigProto.Experimental.Builder>public ConfigProto.Experimental.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ConfigProto.Experimental.Builder>java.io.IOExceptionpublic java.lang.String getCollectiveGroupLeader()
Task name for group resolution.
string collective_group_leader = 1;getCollectiveGroupLeader in interface ConfigProto.ExperimentalOrBuilderpublic com.google.protobuf.ByteString getCollectiveGroupLeaderBytes()
Task name for group resolution.
string collective_group_leader = 1;getCollectiveGroupLeaderBytes in interface ConfigProto.ExperimentalOrBuilderpublic ConfigProto.Experimental.Builder setCollectiveGroupLeader(java.lang.String value)
Task name for group resolution.
string collective_group_leader = 1;value - The collectiveGroupLeader to set.public ConfigProto.Experimental.Builder clearCollectiveGroupLeader()
Task name for group resolution.
string collective_group_leader = 1;public ConfigProto.Experimental.Builder setCollectiveGroupLeaderBytes(com.google.protobuf.ByteString value)
Task name for group resolution.
string collective_group_leader = 1;value - The bytes for collectiveGroupLeader to set.public java.lang.String getExecutorType()
Which executor to use, the default executor will be used if it is an empty string or "DEFAULT"
string executor_type = 3;getExecutorType in interface ConfigProto.ExperimentalOrBuilderpublic com.google.protobuf.ByteString getExecutorTypeBytes()
Which executor to use, the default executor will be used if it is an empty string or "DEFAULT"
string executor_type = 3;getExecutorTypeBytes in interface ConfigProto.ExperimentalOrBuilderpublic ConfigProto.Experimental.Builder setExecutorType(java.lang.String value)
Which executor to use, the default executor will be used if it is an empty string or "DEFAULT"
string executor_type = 3;value - The executorType to set.public ConfigProto.Experimental.Builder clearExecutorType()
Which executor to use, the default executor will be used if it is an empty string or "DEFAULT"
string executor_type = 3;public ConfigProto.Experimental.Builder setExecutorTypeBytes(com.google.protobuf.ByteString value)
Which executor to use, the default executor will be used if it is an empty string or "DEFAULT"
string executor_type = 3;value - The bytes for executorType to set.public int getRecvBufMaxChunk()
Guidance to formatting of large RecvBuf fields for transfer. Any positive value sets the max chunk size. 0 defaults to 4096. Any negative value indicates no max, i.e. one chunk only.
int32 recv_buf_max_chunk = 4;getRecvBufMaxChunk in interface ConfigProto.ExperimentalOrBuilderpublic ConfigProto.Experimental.Builder setRecvBufMaxChunk(int value)
Guidance to formatting of large RecvBuf fields for transfer. Any positive value sets the max chunk size. 0 defaults to 4096. Any negative value indicates no max, i.e. one chunk only.
int32 recv_buf_max_chunk = 4;value - The recvBufMaxChunk to set.public ConfigProto.Experimental.Builder clearRecvBufMaxChunk()
Guidance to formatting of large RecvBuf fields for transfer. Any positive value sets the max chunk size. 0 defaults to 4096. Any negative value indicates no max, i.e. one chunk only.
int32 recv_buf_max_chunk = 4;public boolean getUseNumaAffinity()
If true, and supported by the platform, the runtime will attempt to use NUMA affinity where applicable. One consequence will be the existence of as many CPU devices as there are available NUMA nodes.
bool use_numa_affinity = 5;getUseNumaAffinity in interface ConfigProto.ExperimentalOrBuilderpublic ConfigProto.Experimental.Builder setUseNumaAffinity(boolean value)
If true, and supported by the platform, the runtime will attempt to use NUMA affinity where applicable. One consequence will be the existence of as many CPU devices as there are available NUMA nodes.
bool use_numa_affinity = 5;value - The useNumaAffinity to set.public ConfigProto.Experimental.Builder clearUseNumaAffinity()
If true, and supported by the platform, the runtime will attempt to use NUMA affinity where applicable. One consequence will be the existence of as many CPU devices as there are available NUMA nodes.
bool use_numa_affinity = 5;public boolean getCollectiveDeterministicSequentialExecution()
If true, make collective op execution order sequential and deterministic for potentially concurrent collective instances.
bool collective_deterministic_sequential_execution = 6;getCollectiveDeterministicSequentialExecution in interface ConfigProto.ExperimentalOrBuilderpublic ConfigProto.Experimental.Builder setCollectiveDeterministicSequentialExecution(boolean value)
If true, make collective op execution order sequential and deterministic for potentially concurrent collective instances.
bool collective_deterministic_sequential_execution = 6;value - The collectiveDeterministicSequentialExecution to set.public ConfigProto.Experimental.Builder clearCollectiveDeterministicSequentialExecution()
If true, make collective op execution order sequential and deterministic for potentially concurrent collective instances.
bool collective_deterministic_sequential_execution = 6;public boolean getCollectiveNccl()
If true, use NCCL for CollectiveOps. This feature is highly experimental.
bool collective_nccl = 7;getCollectiveNccl in interface ConfigProto.ExperimentalOrBuilderpublic ConfigProto.Experimental.Builder setCollectiveNccl(boolean value)
If true, use NCCL for CollectiveOps. This feature is highly experimental.
bool collective_nccl = 7;value - The collectiveNccl to set.public ConfigProto.Experimental.Builder clearCollectiveNccl()
If true, use NCCL for CollectiveOps. This feature is highly experimental.
bool collective_nccl = 7;public boolean getShareSessionStateInClusterspecPropagation()
In the following, session state means the value of a variable, elements in a hash table, or any other resource, accessible by worker sessions held by a TF server. When ClusterSpec propagation is enabled, the value of isolate_session_state is ignored when deciding whether to share session states in a TF server (for backwards compatibility reasons). - If share_session_state_in_clusterspec_propagation is true, the session states are shared. - If share_session_state_in_clusterspec_propagation is false, session states are isolated. When clusterspec propagation is not used, the value of share_session_state_in_clusterspec_propagation is ignored when deciding whether to share session states in a TF server. - If isolate_session_state is true, session states are isolated. - If isolate_session_state is false, session states are shared. TODO(b/129330037): Add a single API that consistently treats isolate_session_state and ClusterSpec propagation.
bool share_session_state_in_clusterspec_propagation = 8;getShareSessionStateInClusterspecPropagation in interface ConfigProto.ExperimentalOrBuilderpublic ConfigProto.Experimental.Builder setShareSessionStateInClusterspecPropagation(boolean value)
In the following, session state means the value of a variable, elements in a hash table, or any other resource, accessible by worker sessions held by a TF server. When ClusterSpec propagation is enabled, the value of isolate_session_state is ignored when deciding whether to share session states in a TF server (for backwards compatibility reasons). - If share_session_state_in_clusterspec_propagation is true, the session states are shared. - If share_session_state_in_clusterspec_propagation is false, session states are isolated. When clusterspec propagation is not used, the value of share_session_state_in_clusterspec_propagation is ignored when deciding whether to share session states in a TF server. - If isolate_session_state is true, session states are isolated. - If isolate_session_state is false, session states are shared. TODO(b/129330037): Add a single API that consistently treats isolate_session_state and ClusterSpec propagation.
bool share_session_state_in_clusterspec_propagation = 8;value - The shareSessionStateInClusterspecPropagation to set.public ConfigProto.Experimental.Builder clearShareSessionStateInClusterspecPropagation()
In the following, session state means the value of a variable, elements in a hash table, or any other resource, accessible by worker sessions held by a TF server. When ClusterSpec propagation is enabled, the value of isolate_session_state is ignored when deciding whether to share session states in a TF server (for backwards compatibility reasons). - If share_session_state_in_clusterspec_propagation is true, the session states are shared. - If share_session_state_in_clusterspec_propagation is false, session states are isolated. When clusterspec propagation is not used, the value of share_session_state_in_clusterspec_propagation is ignored when deciding whether to share session states in a TF server. - If isolate_session_state is true, session states are isolated. - If isolate_session_state is false, session states are shared. TODO(b/129330037): Add a single API that consistently treats isolate_session_state and ClusterSpec propagation.
bool share_session_state_in_clusterspec_propagation = 8;public boolean getDisableThreadSpinning()
If using a direct session, disable spinning while waiting for work in the thread pool. This may result in higher latency for completing ops, but in the case where there is a lot of spinning may result in lower CPU usage.
bool disable_thread_spinning = 9;getDisableThreadSpinning in interface ConfigProto.ExperimentalOrBuilderpublic ConfigProto.Experimental.Builder setDisableThreadSpinning(boolean value)
If using a direct session, disable spinning while waiting for work in the thread pool. This may result in higher latency for completing ops, but in the case where there is a lot of spinning may result in lower CPU usage.
bool disable_thread_spinning = 9;value - The disableThreadSpinning to set.public ConfigProto.Experimental.Builder clearDisableThreadSpinning()
If using a direct session, disable spinning while waiting for work in the thread pool. This may result in higher latency for completing ops, but in the case where there is a lot of spinning may result in lower CPU usage.
bool disable_thread_spinning = 9;public boolean getShareClusterDevicesInSession()
When true, WorkerSessions are created with device attributes from the full cluster. This is helpful when a worker wants to partition a graph (for example during a PartitionedCallOp).
bool share_cluster_devices_in_session = 10;getShareClusterDevicesInSession in interface ConfigProto.ExperimentalOrBuilderpublic ConfigProto.Experimental.Builder setShareClusterDevicesInSession(boolean value)
When true, WorkerSessions are created with device attributes from the full cluster. This is helpful when a worker wants to partition a graph (for example during a PartitionedCallOp).
bool share_cluster_devices_in_session = 10;value - The shareClusterDevicesInSession to set.public ConfigProto.Experimental.Builder clearShareClusterDevicesInSession()
When true, WorkerSessions are created with device attributes from the full cluster. This is helpful when a worker wants to partition a graph (for example during a PartitionedCallOp).
bool share_cluster_devices_in_session = 10;public boolean hasSessionMetadata()
Metadata about the session. If set, this can be used by the runtime and the Ops for debugging, monitoring, etc. NOTE: This is currently used and propagated only by the direct session.
.tensorflow.SessionMetadata session_metadata = 11;hasSessionMetadata in interface ConfigProto.ExperimentalOrBuilderpublic SessionMetadata getSessionMetadata()
Metadata about the session. If set, this can be used by the runtime and the Ops for debugging, monitoring, etc. NOTE: This is currently used and propagated only by the direct session.
.tensorflow.SessionMetadata session_metadata = 11;getSessionMetadata in interface ConfigProto.ExperimentalOrBuilderpublic ConfigProto.Experimental.Builder setSessionMetadata(SessionMetadata value)
Metadata about the session. If set, this can be used by the runtime and the Ops for debugging, monitoring, etc. NOTE: This is currently used and propagated only by the direct session.
.tensorflow.SessionMetadata session_metadata = 11;public ConfigProto.Experimental.Builder setSessionMetadata(SessionMetadata.Builder builderForValue)
Metadata about the session. If set, this can be used by the runtime and the Ops for debugging, monitoring, etc. NOTE: This is currently used and propagated only by the direct session.
.tensorflow.SessionMetadata session_metadata = 11;public ConfigProto.Experimental.Builder mergeSessionMetadata(SessionMetadata value)
Metadata about the session. If set, this can be used by the runtime and the Ops for debugging, monitoring, etc. NOTE: This is currently used and propagated only by the direct session.
.tensorflow.SessionMetadata session_metadata = 11;public ConfigProto.Experimental.Builder clearSessionMetadata()
Metadata about the session. If set, this can be used by the runtime and the Ops for debugging, monitoring, etc. NOTE: This is currently used and propagated only by the direct session.
.tensorflow.SessionMetadata session_metadata = 11;public SessionMetadata.Builder getSessionMetadataBuilder()
Metadata about the session. If set, this can be used by the runtime and the Ops for debugging, monitoring, etc. NOTE: This is currently used and propagated only by the direct session.
.tensorflow.SessionMetadata session_metadata = 11;public SessionMetadataOrBuilder getSessionMetadataOrBuilder()
Metadata about the session. If set, this can be used by the runtime and the Ops for debugging, monitoring, etc. NOTE: This is currently used and propagated only by the direct session.
.tensorflow.SessionMetadata session_metadata = 11;getSessionMetadataOrBuilder in interface ConfigProto.ExperimentalOrBuilderpublic boolean getOptimizeForStaticGraph()
If true, the session may treat the graph as being static for optimization purposes. If this option is set to true when a session is created, the full GraphDef must be passed in a single call to Session::Create(), and Session::Extend() may not be supported.
bool optimize_for_static_graph = 12;getOptimizeForStaticGraph in interface ConfigProto.ExperimentalOrBuilderpublic ConfigProto.Experimental.Builder setOptimizeForStaticGraph(boolean value)
If true, the session may treat the graph as being static for optimization purposes. If this option is set to true when a session is created, the full GraphDef must be passed in a single call to Session::Create(), and Session::Extend() may not be supported.
bool optimize_for_static_graph = 12;value - The optimizeForStaticGraph to set.public ConfigProto.Experimental.Builder clearOptimizeForStaticGraph()
If true, the session may treat the graph as being static for optimization purposes. If this option is set to true when a session is created, the full GraphDef must be passed in a single call to Session::Create(), and Session::Extend() may not be supported.
bool optimize_for_static_graph = 12;public final ConfigProto.Experimental.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ConfigProto.Experimental.Builder>public final ConfigProto.Experimental.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ConfigProto.Experimental.Builder>