सार्वजनिक स्थैतिक इंटरफ़ेस कॉन्फ़िगप्रोटो.एक्सपेरिमेंटलऑरबिल्डर
ज्ञात अप्रत्यक्ष उपवर्ग |
सार्वजनिक तरीके
अमूर्त बूलियन | getCollectiveDeterministicSequentialExecution () If true, make collective op execution order sequential and deterministic for potentially concurrent collective instances. |
सार स्ट्रिंग | getCollectiveGroupLeader () Task name for group resolution. |
सार com.google.protobuf.ByteString | getCollectiveGroupLeaderBytes () Task name for group resolution. |
अमूर्त बूलियन | getCollectiveNccl () If true, use NCCL for CollectiveOps. |
अमूर्त बूलियन | getDisableOutputPartitionGraphs () If true, the session will not store an additional copy of the graph for each subgraph. |
अमूर्त बूलियन | getDisableThreadSpinning () If using a direct session, disable spinning while waiting for work in the thread pool. |
अमूर्त बूलियन | getEnableMlirBridge () This field will eventually be deprecated and replaced by mlir_bridge_rollout (b/166038521). |
अमूर्त बूलियन | getEnableMlirGraphऑप्टिमाइज़ेशन () Whether to enable the MLIR-based Graph optimizations. |
सार स्ट्रिंग | getExecutorType () Which executor to use, the default executor will be used if it is an empty string or "DEFAULT" string executor_type = 3; |
सार 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; |
सार कॉन्फ़िगप्रोटो.प्रायोगिक.MlirBridgeRollout | getMlirBridgeRollout () This field is underdevelopment, for now use enable_mlir_bridge (b/166038521). |
सार इंट | getMlirBridgeRolloutValue () This field is underdevelopment, for now use enable_mlir_bridge (b/166038521). |
अमूर्त बूलियन | getOptimizeForStaticGraph () If true, the session may treat the graph as being static for optimization purposes. |
सार इंट | getRecvBufMaxChunk () Guidance to formatting of large RecvBuf fields for transfer. |
सार सत्र मेटाडेटा | getSessionMetadata () Metadata about the session. |
सार सत्रमेटाडाटाऑरबिल्डर | getSessionMetadataOrBuilder () Metadata about the session. |
अमूर्त बूलियन | getShareClusterDevicesInSession () This was promoted to a non-experimental API. |
अमूर्त बूलियन | 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. |
अमूर्त बूलियन | getUseNumaAffinity () If true, and supported by the platform, the runtime will attempt to use NUMA affinity where applicable. |
अमूर्त लंबा | getXlaFusionAutotunerThresh () Minimum number of batches run through the XLA graph before XLA fusion autotuner is enabled. |
अमूर्त बूलियन | hasSessionMetadata () Metadata about the session. |
सार्वजनिक तरीके
सार्वजनिक सार बूलियन getCollectiveDeterministicSequentialExecution ()
If true, make collective op execution order sequential and deterministic for potentially concurrent collective instances.
bool collective_deterministic_sequential_execution = 6;
सार्वजनिक सार स्ट्रिंग getCollectiveGroupLeader ()
Task name for group resolution.
string collective_group_leader = 1;
सार्वजनिक सार com.google.protobuf.ByteString getCollectiveGroupLeaderBytes ()
Task name for group resolution.
string collective_group_leader = 1;
सार्वजनिक सार बूलियन getCollectiveNccl ()
If true, use NCCL for CollectiveOps. This feature is highly experimental.
bool collective_nccl = 7;
सार्वजनिक सार बूलियन 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;
सार्वजनिक सार बूलियन 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;
सार्वजनिक सार बूलियन getEnableMlirBridge ()
This field will eventually be deprecated and replaced by mlir_bridge_rollout (b/166038521). Whether to enable the MLIR-based TF->XLA bridge. This is a replacement to the existing bridge, and not ready for production usage yet. 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;
सार्वजनिक सार बूलियन 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;
सार्वजनिक सार स्ट्रिंग getExecutorType ()
Which executor to use, the default executor will be used if it is an empty string or "DEFAULT"
string executor_type = 3;
सार्वजनिक सार 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;
सार्वजनिक सार कॉन्फिगप्रोटो.प्रायोगिक. MlirBridgeRollout getMlirBridgeRollout ()
This field is underdevelopment, for now use enable_mlir_bridge (b/166038521). Whether to enable the MLIR-based TF->XLA bridge.
.tensorflow.ConfigProto.Experimental.MlirBridgeRollout mlir_bridge_rollout = 17;
सार्वजनिक सार int getMlirBridgeRolloutValue ()
This field is underdevelopment, for now use enable_mlir_bridge (b/166038521). Whether to enable the MLIR-based TF->XLA bridge.
.tensorflow.ConfigProto.Experimental.MlirBridgeRollout mlir_bridge_rollout = 17;
सार्वजनिक सार बूलियन 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;
सार्वजनिक सार 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;
सार्वजनिक सार सत्रमेटाडेटा 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;
सार्वजनिक सार सत्रमेटाडेटाऑरबिल्डर 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;
सार्वजनिक सार बूलियन getShareClusterDevicesInSession ()
This was promoted to a non-experimental API. Please use ConfigProto.share_cluster_devices_in_session instead.
bool share_cluster_devices_in_session = 10;
सार्वजनिक सार बूलियन 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;
सार्वजनिक सार बूलियन 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;
सार्वजनिक सार लंबा 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;
सार्वजनिक सार बूलियन 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;