Package org.tensorflow.framework
Class ConfigProto.Experimental
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.tensorflow.framework.ConfigProto.Experimental
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,ConfigProto.ExperimentalOrBuilder
- Enclosing class:
ConfigProto
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- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classEverything inside Experimental is subject to change and is not subject to API stability guarantees in https://www.tensorflow.org/guide/version_compat.static enumAn enum that describes the state of the MLIR bridge rollout.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanintPort for the Pathways server.booleanIf true, make collective op execution order sequential and deterministic for potentially concurrent collective instances.Task name for group resolution.com.google.protobuf.ByteStringTask name for group resolution.booleanIf true, use NCCL for CollectiveOps.Distributed coordination service configurations.Distributed coordination service configurations.static ConfigProto.Experimentalstatic final com.google.protobuf.Descriptors.DescriptorbooleanWhether eager remote execution will stream all the function calls or allow them to happen in parallel.booleanWhether functional control flow op lowering should be disabled.booleanIf true, the session will treat the graph as being non-static for optimization purposes.booleanIf true, the session will not store an additional copy of the graph for each subgraph.booleanIf using a direct session, disable spinning while waiting for work in the thread pool.booleanWhether to enable the MLIR-based TF->XLA bridge.booleanWhether to enable the MLIR-based Graph optimizations.booleanIf true, use Pathways with TFRT API for multi host support.Which executor to use, the default executor will be used if it is an empty string or "DEFAULT"com.google.protobuf.ByteStringWhich executor to use, the default executor will be used if it is an empty string or "DEFAULT"Whether to enable the MLIR-based TF->XLA bridge.intWhether to enable the MLIR-based TF->XLA bridge.booleanIf true, the session may treat the graph as being static for optimization purposes.com.google.protobuf.Parser<ConfigProto.Experimental> intGuidance to formatting of large RecvBuf fields for transfer.intMetadata about the session.Metadata about the session.booleanThis was promoted to a non-experimental API.booleanIn 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.intThe threshold to merge small streams in TFRT.booleanIf true, TFRT will use GPU specific compiler passes and perform GPU specific initialization.booleanIf true, TFRT will use TPU specific compiler passes and perform TPU specific initialization.booleanIf true, use ifrt as the backend for TFRT.booleanIf true, and supported by the platform, the runtime will attempt to use NUMA affinity where applicable.booleanWhether runtime execution uses TFRT.longMinimum number of batches run through the XLA graph before XLA fusion autotuner is enabled.booleanProvides a hint to XLA auto clustering to prefer forming a single large cluster that encompases most of the graph.booleanDistributed coordination service configurations.inthashCode()booleanMetadata about the session.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilder(ConfigProto.Experimental prototype) protected ConfigProto.Experimental.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static ConfigProto.ExperimentalparseDelimitedFrom(InputStream input) static ConfigProto.ExperimentalparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ConfigProto.ExperimentalparseFrom(byte[] data) static ConfigProto.ExperimentalparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ConfigProto.ExperimentalparseFrom(com.google.protobuf.ByteString data) static ConfigProto.ExperimentalparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ConfigProto.ExperimentalparseFrom(com.google.protobuf.CodedInputStream input) static ConfigProto.ExperimentalparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ConfigProto.ExperimentalparseFrom(InputStream input) static ConfigProto.ExperimentalparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ConfigProto.ExperimentalparseFrom(ByteBuffer data) static ConfigProto.ExperimentalparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<ConfigProto.Experimental> parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, 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, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
COLLECTIVE_GROUP_LEADER_FIELD_NUMBER
public static final int COLLECTIVE_GROUP_LEADER_FIELD_NUMBER- See Also:
-
EXECUTOR_TYPE_FIELD_NUMBER
public static final int EXECUTOR_TYPE_FIELD_NUMBER- See Also:
-
RECV_BUF_MAX_CHUNK_FIELD_NUMBER
public static final int RECV_BUF_MAX_CHUNK_FIELD_NUMBER- See Also:
-
USE_NUMA_AFFINITY_FIELD_NUMBER
public static final int USE_NUMA_AFFINITY_FIELD_NUMBER- See Also:
-
COLLECTIVE_DETERMINISTIC_SEQUENTIAL_EXECUTION_FIELD_NUMBER
public static final int COLLECTIVE_DETERMINISTIC_SEQUENTIAL_EXECUTION_FIELD_NUMBER- See Also:
-
COLLECTIVE_NCCL_FIELD_NUMBER
public static final int COLLECTIVE_NCCL_FIELD_NUMBER- See Also:
-
SHARE_SESSION_STATE_IN_CLUSTERSPEC_PROPAGATION_FIELD_NUMBER
public static final int SHARE_SESSION_STATE_IN_CLUSTERSPEC_PROPAGATION_FIELD_NUMBER- See Also:
-
DISABLE_THREAD_SPINNING_FIELD_NUMBER
public static final int DISABLE_THREAD_SPINNING_FIELD_NUMBER- See Also:
-
SHARE_CLUSTER_DEVICES_IN_SESSION_FIELD_NUMBER
public static final int SHARE_CLUSTER_DEVICES_IN_SESSION_FIELD_NUMBER- See Also:
-
SESSION_METADATA_FIELD_NUMBER
public static final int SESSION_METADATA_FIELD_NUMBER- See Also:
-
OPTIMIZE_FOR_STATIC_GRAPH_FIELD_NUMBER
public static final int OPTIMIZE_FOR_STATIC_GRAPH_FIELD_NUMBER- See Also:
-
ENABLE_MLIR_BRIDGE_FIELD_NUMBER
public static final int ENABLE_MLIR_BRIDGE_FIELD_NUMBER- See Also:
-
MLIR_BRIDGE_ROLLOUT_FIELD_NUMBER
public static final int MLIR_BRIDGE_ROLLOUT_FIELD_NUMBER- See Also:
-
ENABLE_MLIR_GRAPH_OPTIMIZATION_FIELD_NUMBER
public static final int ENABLE_MLIR_GRAPH_OPTIMIZATION_FIELD_NUMBER- See Also:
-
DISABLE_OUTPUT_PARTITION_GRAPHS_FIELD_NUMBER
public static final int DISABLE_OUTPUT_PARTITION_GRAPHS_FIELD_NUMBER- See Also:
-
XLA_FUSION_AUTOTUNER_THRESH_FIELD_NUMBER
public static final int XLA_FUSION_AUTOTUNER_THRESH_FIELD_NUMBER- See Also:
-
USE_TFRT_FIELD_NUMBER
public static final int USE_TFRT_FIELD_NUMBER- See Also:
-
ENABLE_MULTI_HOST_FIELD_NUMBER
public static final int ENABLE_MULTI_HOST_FIELD_NUMBER- See Also:
-
TFRT_USE_IFRT_FIELD_NUMBER
public static final int TFRT_USE_IFRT_FIELD_NUMBER- See Also:
-
BACKEND_SERVER_PORT_FIELD_NUMBER
public static final int BACKEND_SERVER_PORT_FIELD_NUMBER- See Also:
-
TARGET_TPU_FIELD_NUMBER
public static final int TARGET_TPU_FIELD_NUMBER- See Also:
-
TARGET_GPU_FIELD_NUMBER
public static final int TARGET_GPU_FIELD_NUMBER- See Also:
-
STREAM_MERGE_THRESHOLD_FIELD_NUMBER
public static final int STREAM_MERGE_THRESHOLD_FIELD_NUMBER- See Also:
-
DISABLE_FUNCTIONAL_OPS_LOWERING_FIELD_NUMBER
public static final int DISABLE_FUNCTIONAL_OPS_LOWERING_FIELD_NUMBER- See Also:
-
XLA_PREFER_SINGLE_GRAPH_CLUSTER_FIELD_NUMBER
public static final int XLA_PREFER_SINGLE_GRAPH_CLUSTER_FIELD_NUMBER- See Also:
-
COORDINATION_CONFIG_FIELD_NUMBER
public static final int COORDINATION_CONFIG_FIELD_NUMBER- See Also:
-
DISABLE_OPTIMIZE_FOR_STATIC_GRAPH_FIELD_NUMBER
public static final int DISABLE_OPTIMIZE_FOR_STATIC_GRAPH_FIELD_NUMBER- See Also:
-
DISABLE_EAGER_EXECUTOR_STREAMING_ENQUEUE_FIELD_NUMBER
public static final int DISABLE_EAGER_EXECUTOR_STREAMING_ENQUEUE_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getCollectiveGroupLeader
Task name for group resolution.
string collective_group_leader = 1;- Specified by:
getCollectiveGroupLeaderin interfaceConfigProto.ExperimentalOrBuilder- Returns:
- The collectiveGroupLeader.
-
getCollectiveGroupLeaderBytes
public com.google.protobuf.ByteString getCollectiveGroupLeaderBytes()Task name for group resolution.
string collective_group_leader = 1;- Specified by:
getCollectiveGroupLeaderBytesin interfaceConfigProto.ExperimentalOrBuilder- Returns:
- The bytes for collectiveGroupLeader.
-
getExecutorType
Which executor to use, the default executor will be used if it is an empty string or "DEFAULT"
string executor_type = 3;- Specified by:
getExecutorTypein interfaceConfigProto.ExperimentalOrBuilder- Returns:
- The executorType.
-
getExecutorTypeBytes
public 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;- Specified by:
getExecutorTypeBytesin interfaceConfigProto.ExperimentalOrBuilder- Returns:
- The bytes for executorType.
-
getRecvBufMaxChunk
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;- Specified by:
getRecvBufMaxChunkin interfaceConfigProto.ExperimentalOrBuilder- Returns:
- The recvBufMaxChunk.
-
getUseNumaAffinity
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;- Specified by:
getUseNumaAffinityin interfaceConfigProto.ExperimentalOrBuilder- Returns:
- The useNumaAffinity.
-
getCollectiveDeterministicSequentialExecution
public boolean getCollectiveDeterministicSequentialExecution()If true, make collective op execution order sequential and deterministic for potentially concurrent collective instances.
bool collective_deterministic_sequential_execution = 6;- Specified by:
getCollectiveDeterministicSequentialExecutionin interfaceConfigProto.ExperimentalOrBuilder- Returns:
- The collectiveDeterministicSequentialExecution.
-
getCollectiveNccl
public boolean getCollectiveNccl()If true, use NCCL for CollectiveOps. This feature is highly experimental.
bool collective_nccl = 7;- Specified by:
getCollectiveNcclin interfaceConfigProto.ExperimentalOrBuilder- Returns:
- The collectiveNccl.
-
getDisableThreadSpinning
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;- Specified by:
getDisableThreadSpinningin interfaceConfigProto.ExperimentalOrBuilder- Returns:
- The disableThreadSpinning.
-
hasSessionMetadata
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 and EagerContext.
.tensorflow.SessionMetadata session_metadata = 11;- Specified by:
hasSessionMetadatain interfaceConfigProto.ExperimentalOrBuilder- Returns:
- Whether the sessionMetadata field is set.
-
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 and EagerContext.
.tensorflow.SessionMetadata session_metadata = 11;- Specified by:
getSessionMetadatain interfaceConfigProto.ExperimentalOrBuilder- Returns:
- The sessionMetadata.
-
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 and EagerContext.
.tensorflow.SessionMetadata session_metadata = 11;- Specified by:
getSessionMetadataOrBuilderin interfaceConfigProto.ExperimentalOrBuilder
-
getOptimizeForStaticGraph
public 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;- Specified by:
getOptimizeForStaticGraphin interfaceConfigProto.ExperimentalOrBuilder- Returns:
- The optimizeForStaticGraph.
-
getEnableMlirBridge
public boolean getEnableMlirBridge()Whether to enable the MLIR-based TF->XLA bridge. This is only used if set to true. Default value or false is ignored. Use mlir_bridge_rollout for finer control. If this option is set to true when a session is created, MLIR is used to perform the set of graph transformations to put the graph in a form that can be executed with delegation of some computations to an accelerator. This builds on the model of XLA where a subset of the graph is encapsulated and attached to a "compile" operation, whose result is fed to an "execute" operation. The kernel for these operations is responsible to lower the encapsulated graph to a particular device.
bool enable_mlir_bridge = 13;- Specified by:
getEnableMlirBridgein interfaceConfigProto.ExperimentalOrBuilder- Returns:
- The enableMlirBridge.
-
getMlirBridgeRolloutValue
public int getMlirBridgeRolloutValue()Whether to enable the MLIR-based TF->XLA bridge.
.tensorflow.ConfigProto.Experimental.MlirBridgeRollout mlir_bridge_rollout = 17;- Specified by:
getMlirBridgeRolloutValuein interfaceConfigProto.ExperimentalOrBuilder- Returns:
- The enum numeric value on the wire for mlirBridgeRollout.
-
getMlirBridgeRollout
Whether to enable the MLIR-based TF->XLA bridge.
.tensorflow.ConfigProto.Experimental.MlirBridgeRollout mlir_bridge_rollout = 17;- Specified by:
getMlirBridgeRolloutin interfaceConfigProto.ExperimentalOrBuilder- Returns:
- The mlirBridgeRollout.
-
getEnableMlirGraphOptimization
public boolean getEnableMlirGraphOptimization()Whether to enable the MLIR-based Graph optimizations. This will become a part of standard Tensorflow graph optimization pipeline, currently this is only used for gradual migration and testing new passes that are replacing existing optimizations in Grappler.
bool enable_mlir_graph_optimization = 16;- Specified by:
getEnableMlirGraphOptimizationin interfaceConfigProto.ExperimentalOrBuilder- Returns:
- The enableMlirGraphOptimization.
-
getDisableOutputPartitionGraphs
public boolean getDisableOutputPartitionGraphs()If true, the session will not store an additional copy of the graph for each subgraph. If this option is set to true when a session is created, the `RunOptions.output_partition_graphs` options must not be set.
bool disable_output_partition_graphs = 14;- Specified by:
getDisableOutputPartitionGraphsin interfaceConfigProto.ExperimentalOrBuilder- Returns:
- The disableOutputPartitionGraphs.
-
getXlaFusionAutotunerThresh
public long getXlaFusionAutotunerThresh()Minimum number of batches run through the XLA graph before XLA fusion autotuner is enabled. Default value of zero disables the autotuner. The XLA fusion autotuner can improve performance by executing a heuristic search on the compiler parameters.
int64 xla_fusion_autotuner_thresh = 15;- Specified by:
getXlaFusionAutotunerThreshin interfaceConfigProto.ExperimentalOrBuilder- Returns:
- The xlaFusionAutotunerThresh.
-
getUseTfrt
public boolean getUseTfrt()Whether runtime execution uses TFRT.
bool use_tfrt = 18;- Specified by:
getUseTfrtin interfaceConfigProto.ExperimentalOrBuilder- Returns:
- The useTfrt.
-
getEnableMultiHost
public boolean getEnableMultiHost()If true, use Pathways with TFRT API for multi host support.
bool enable_multi_host = 27;- Specified by:
getEnableMultiHostin interfaceConfigProto.ExperimentalOrBuilder- Returns:
- The enableMultiHost.
-
getTfrtUseIfrt
public boolean getTfrtUseIfrt()If true, use ifrt as the backend for TFRT. This is only used when `use_tfrt` is true.
bool tfrt_use_ifrt = 32;- Specified by:
getTfrtUseIfrtin interfaceConfigProto.ExperimentalOrBuilder- Returns:
- The tfrtUseIfrt.
-
getBackendServerPort
public int getBackendServerPort()Port for the Pathways server. Ignored if enable_multi_host=false.
int32 backend_server_port = 28;- Specified by:
getBackendServerPortin interfaceConfigProto.ExperimentalOrBuilder- Returns:
- The backendServerPort.
-
getTargetTpu
public boolean getTargetTpu()If true, TFRT will use TPU specific compiler passes and perform TPU specific initialization.
bool target_tpu = 29;- Specified by:
getTargetTpuin interfaceConfigProto.ExperimentalOrBuilder- Returns:
- The targetTpu.
-
getTargetGpu
public boolean getTargetGpu()If true, TFRT will use GPU specific compiler passes and perform GPU specific initialization.
bool target_gpu = 30;- Specified by:
getTargetGpuin interfaceConfigProto.ExperimentalOrBuilder- Returns:
- The targetGpu.
-
getStreamMergeThreshold
public int getStreamMergeThreshold()The threshold to merge small streams in TFRT. The stream with cost smaller than the threshold will be merged. Setting it to value 1 disables all merges.
int32 stream_merge_threshold = 31;- Specified by:
getStreamMergeThresholdin interfaceConfigProto.ExperimentalOrBuilder- Returns:
- The streamMergeThreshold.
-
getDisableFunctionalOpsLowering
public boolean getDisableFunctionalOpsLowering()Whether functional control flow op lowering should be disabled. This is useful when executing within a portable runtime where control flow op kernels may not be loaded due to selective registration.
bool disable_functional_ops_lowering = 21;- Specified by:
getDisableFunctionalOpsLoweringin interfaceConfigProto.ExperimentalOrBuilder- Returns:
- The disableFunctionalOpsLowering.
-
getXlaPreferSingleGraphCluster
public boolean getXlaPreferSingleGraphCluster()Provides a hint to XLA auto clustering to prefer forming a single large cluster that encompases most of the graph.
bool xla_prefer_single_graph_cluster = 22;- Specified by:
getXlaPreferSingleGraphClusterin interfaceConfigProto.ExperimentalOrBuilder- Returns:
- The xlaPreferSingleGraphCluster.
-
hasCoordinationConfig
public boolean hasCoordinationConfig()Distributed coordination service configurations.
.tensorflow.CoordinationServiceConfig coordination_config = 23;- Specified by:
hasCoordinationConfigin interfaceConfigProto.ExperimentalOrBuilder- Returns:
- Whether the coordinationConfig field is set.
-
getCoordinationConfig
Distributed coordination service configurations.
.tensorflow.CoordinationServiceConfig coordination_config = 23;- Specified by:
getCoordinationConfigin interfaceConfigProto.ExperimentalOrBuilder- Returns:
- The coordinationConfig.
-
getCoordinationConfigOrBuilder
Distributed coordination service configurations.
.tensorflow.CoordinationServiceConfig coordination_config = 23;- Specified by:
getCoordinationConfigOrBuilderin interfaceConfigProto.ExperimentalOrBuilder
-
getDisableOptimizeForStaticGraph
public boolean getDisableOptimizeForStaticGraph()If true, the session will treat the graph as being non-static for optimization purposes. If this option is set to true when a session is created, the full GraphDef will be retained to enable calls to Session::Extend(). Calling Extend() without setting this flag will result in errors. This option is meant to replace `optimize_for_static_graph` and it aims to negate its value.
bool disable_optimize_for_static_graph = 24;- Specified by:
getDisableOptimizeForStaticGraphin interfaceConfigProto.ExperimentalOrBuilder- Returns:
- The disableOptimizeForStaticGraph.
-
getDisableEagerExecutorStreamingEnqueue
public boolean getDisableEagerExecutorStreamingEnqueue()Whether eager remote execution will stream all the function calls or allow them to happen in parallel. When true, streaming execution is disabled, and parallel execution is allowed.
bool disable_eager_executor_streaming_enqueue = 26;- Specified by:
getDisableEagerExecutorStreamingEnqueuein interfaceConfigProto.ExperimentalOrBuilder- Returns:
- The disableEagerExecutorStreamingEnqueue.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static ConfigProto.Experimental parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ConfigProto.Experimental parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ConfigProto.Experimental parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ConfigProto.Experimental parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ConfigProto.Experimental parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ConfigProto.Experimental parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static ConfigProto.Experimental parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static ConfigProto.Experimental parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static ConfigProto.Experimental parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static ConfigProto.Experimental parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ConfigProto.Experimental.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-