public static final class ConfigProto.Experimental extends com.google.protobuf.GeneratedMessageV3 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 | Class and Description |
|---|---|
static class |
ConfigProto.Experimental.Builder
Everything inside Experimental is subject to change and is not subject
to API stability guarantees in
https://www.tensorflow.org/guide/version_compat.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
COLLECTIVE_DETERMINISTIC_SEQUENTIAL_EXECUTION_FIELD_NUMBER |
static int |
COLLECTIVE_GROUP_LEADER_FIELD_NUMBER |
static int |
COLLECTIVE_NCCL_FIELD_NUMBER |
static int |
DISABLE_THREAD_SPINNING_FIELD_NUMBER |
static int |
EXECUTOR_TYPE_FIELD_NUMBER |
static int |
RECV_BUF_MAX_CHUNK_FIELD_NUMBER |
static int |
SHARE_CLUSTER_DEVICES_IN_SESSION_FIELD_NUMBER |
static int |
SHARE_SESSION_STATE_IN_CLUSTERSPEC_PROPAGATION_FIELD_NUMBER |
static int |
USE_NUMA_AFFINITY_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
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.
|
static ConfigProto.Experimental |
getDefaultInstance() |
ConfigProto.Experimental |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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"
|
com.google.protobuf.Parser<ConfigProto.Experimental> |
getParserForType() |
int |
getRecvBufMaxChunk()
Guidance to formatting of large RecvBuf fields for transfer.
|
int |
getSerializedSize() |
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.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
getUseNumaAffinity()
If true, and supported by the platform, the runtime will attempt to
use NUMA affinity where applicable.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ConfigProto.Experimental.Builder |
newBuilder() |
static ConfigProto.Experimental.Builder |
newBuilder(ConfigProto.Experimental prototype) |
ConfigProto.Experimental.Builder |
newBuilderForType() |
protected ConfigProto.Experimental.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected java.lang.Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static ConfigProto.Experimental |
parseDelimitedFrom(java.io.InputStream input) |
static ConfigProto.Experimental |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ConfigProto.Experimental |
parseFrom(byte[] data) |
static ConfigProto.Experimental |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ConfigProto.Experimental |
parseFrom(java.nio.ByteBuffer data) |
static ConfigProto.Experimental |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ConfigProto.Experimental |
parseFrom(com.google.protobuf.ByteString data) |
static ConfigProto.Experimental |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ConfigProto.Experimental |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ConfigProto.Experimental |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ConfigProto.Experimental |
parseFrom(java.io.InputStream input) |
static ConfigProto.Experimental |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ConfigProto.Experimental> |
parser() |
ConfigProto.Experimental.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int COLLECTIVE_GROUP_LEADER_FIELD_NUMBER
public static final int EXECUTOR_TYPE_FIELD_NUMBER
public static final int RECV_BUF_MAX_CHUNK_FIELD_NUMBER
public static final int USE_NUMA_AFFINITY_FIELD_NUMBER
public static final int COLLECTIVE_DETERMINISTIC_SEQUENTIAL_EXECUTION_FIELD_NUMBER
public static final int COLLECTIVE_NCCL_FIELD_NUMBER
public static final int SHARE_SESSION_STATE_IN_CLUSTERSPEC_PROPAGATION_FIELD_NUMBER
public static final int DISABLE_THREAD_SPINNING_FIELD_NUMBER
public static final int SHARE_CLUSTER_DEVICES_IN_SESSION_FIELD_NUMBER
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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 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 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 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 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 boolean getCollectiveNccl()
If true, use NCCL for CollectiveOps. This feature is highly experimental.
bool collective_nccl = 7;getCollectiveNccl in interface ConfigProto.ExperimentalOrBuilderpublic 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 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 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 final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(java.lang.Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static ConfigProto.Experimental parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ConfigProto.Experimental parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ConfigProto.Experimental parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ConfigProto.Experimental parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ConfigProto.Experimental parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ConfigProto.Experimental parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ConfigProto.Experimental parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static ConfigProto.Experimental parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static ConfigProto.Experimental parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static ConfigProto.Experimental parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static ConfigProto.Experimental parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static ConfigProto.Experimental parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic ConfigProto.Experimental.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ConfigProto.Experimental.Builder newBuilder()
public static ConfigProto.Experimental.Builder newBuilder(ConfigProto.Experimental prototype)
public ConfigProto.Experimental.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ConfigProto.Experimental.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static ConfigProto.Experimental getDefaultInstance()
public static com.google.protobuf.Parser<ConfigProto.Experimental> parser()
public com.google.protobuf.Parser<ConfigProto.Experimental> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ConfigProto.Experimental getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder