lớp cuối cùng tĩnh công khai 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.
tensorflow.ConfigProto.Experimental
Phương pháp công khai
ConfigProto.Experimental.Builder | addRepeatedField (trường com.google.protobuf.Descriptors.FieldDescriptor, Giá trị đối tượng) |
ConfigProto.Experimental | xây dựng () |
ConfigProto.Experimental | |
ConfigProto.Experimental.Builder | thông thoáng () |
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 | clearDisableOutputPartitionGraphs () If true, the session will not store an additional copy of the graph for each subgraph. |
ConfigProto.Experimental.Builder | clearDisableThreadSpinning () If using a direct session, disable spinning while waiting for work in the thread pool. |
ConfigProto.Experimental.Builder | clearEnableMlirBridge () This field will eventually be deprecated and replaced by mlir_bridge_rollout (b/166038521). |
ConfigProto.Experimental.Builder | clearEnableMlirGraphOptimization () Whether to enable the MLIR-based Graph optimizations. |
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; |
ConfigProto.Experimental.Builder | ClearField (trường com.google.protobuf.Descriptors.FieldDescriptor) |
ConfigProto.Experimental.Builder | clearMlirBridgeRollout () This field is underdevelopment, for now use enable_mlir_bridge (b/166038521). |
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 () This was promoted to a non-experimental API. |
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 | clearXlaFusionAutotunerThresh () Minimum number of batches run through the XLA graph before XLA fusion autotuner is enabled. |
ConfigProto.Experimental.Builder | dòng vô tính () |
boolean | getCollectiveDeterministicSequentialExecution () If true, make collective op execution order sequential and deterministic for potentially concurrent collective instances. |
Sợi dây | 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 | |
com.google.protobuf.Descriptors.Descriptor tĩnh cuối cùng | |
com.google.protobuf.Descriptors.Descriptor | |
boolean | getDisableOutputPartitionGraphs () If true, the session will not store an additional copy of the graph for each subgraph. |
boolean | getDisableThreadSpinning () If using a direct session, disable spinning while waiting for work in the thread pool. |
boolean | getEnableMlirBridge () This field will eventually be deprecated and replaced by mlir_bridge_rollout (b/166038521). |
boolean | getEnableMlirGraphOptimization () Whether to enable the MLIR-based Graph optimizations. |
Sợi dây | 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; |
ConfigProto.Experimental.MlirBridgeRollout | getMlirBridgeRollout () This field is underdevelopment, for now use enable_mlir_bridge (b/166038521). |
int | getMlirBridgeRolloutValue () This field is underdevelopment, for now use enable_mlir_bridge (b/166038521). |
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. |
Siêu dữ liệu phiên | getSessionMetadata () Metadata about the session. |
SessionMetadata.Builder | getSessionMetadataBuilder () Metadata about the session. |
SessionMetadataOrBuilder | getSessionMetadataOrBuilder () Metadata about the session. |
boolean | getShareClusterDevicesInSession () This was promoted to a non-experimental API. |
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. |
dài | getXlaFusionAutotunerThresh () Minimum number of batches run through the XLA graph before XLA fusion autotuner is enabled. |
boolean | hasSessionMetadata () Metadata about the session. |
boolean cuối cùng | |
ConfigProto.Experimental.Builder | mergeFrom (com.google.protobuf.Message other) |
ConfigProto.Experimental.Builder | mergeFrom (đầu vào com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
ConfigProto.Experimental.Builder | |
ConfigProto.Experimental.Builder cuối cùng | hợp nhấtUnknownFields (com.google.protobuf.UnknownFieldSet knownFields) |
ConfigProto.Experimental.Builder | setCollectiveDeterministicSequentialExecution (giá trị boolean) If true, make collective op execution order sequential and deterministic for potentially concurrent collective instances. |
ConfigProto.Experimental.Builder | setCollectiveGroupLeader (Giá trị chuỗi) Task name for group resolution. |
ConfigProto.Experimental.Builder | setCollectiveGroupLeaderBytes (giá trị com.google.protobuf.ByteString) Task name for group resolution. |
ConfigProto.Experimental.Builder | setCollectiveNccl (giá trị boolean) If true, use NCCL for CollectiveOps. |
ConfigProto.Experimental.Builder | setDisableOutputPartitionGraphs (giá trị boolean) If true, the session will not store an additional copy of the graph for each subgraph. |
ConfigProto.Experimental.Builder | setDisableThreadSpinning (giá trị boolean) If using a direct session, disable spinning while waiting for work in the thread pool. |
ConfigProto.Experimental.Builder | setEnableMlirBridge (giá trị boolean) This field will eventually be deprecated and replaced by mlir_bridge_rollout (b/166038521). |
ConfigProto.Experimental.Builder | setEnableMlirGraphOptimization (giá trị boolean) Whether to enable the MLIR-based Graph optimizations. |
ConfigProto.Experimental.Builder | setExecutorType (Giá trị chuỗi) Which executor to use, the default executor will be used if it is an empty string or "DEFAULT" string executor_type = 3; |
ConfigProto.Experimental.Builder | setExecutorTypeBytes (giá trị com.google.protobuf.ByteString) Which executor to use, the default executor will be used if it is an empty string or "DEFAULT" string executor_type = 3; |
ConfigProto.Experimental.Builder | setField (trường com.google.protobuf.Descriptors.FieldDescriptor, Giá trị đối tượng) |
ConfigProto.Experimental.Builder | setMlirBridgeRollout ( ConfigProto.Experimental.MlirBridgeRollout giá trị) This field is underdevelopment, for now use enable_mlir_bridge (b/166038521). |
ConfigProto.Experimental.Builder | setMlirBridgeRolloutValue (giá trị int) This field is underdevelopment, for now use enable_mlir_bridge (b/166038521). |
ConfigProto.Experimental.Builder | setOptimizeForStaticGraph (giá trị boolean) If true, the session may treat the graph as being static for optimization purposes. |
ConfigProto.Experimental.Builder | setRecvBufMaxChunk (giá trị int) Guidance to formatting of large RecvBuf fields for transfer. |
ConfigProto.Experimental.Builder | setRepeatedField (trường com.google.protobuf.Descriptors.FieldDescriptor, chỉ mục int, giá trị đối tượng) |
ConfigProto.Experimental.Builder | |
ConfigProto.Experimental.Builder | |
ConfigProto.Experimental.Builder | setShareClusterDevicesInSession (giá trị boolean) This was promoted to a non-experimental API. |
ConfigProto.Experimental.Builder | setShareSessionStateInClusterspecPropagation (giá trị boolean) 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 cuối cùng | setUnknownFields (com.google.protobuf.UnknownFieldSet knownFields) |
ConfigProto.Experimental.Builder | setUseNumaAffinity (giá trị boolean) If true, and supported by the platform, the runtime will attempt to use NUMA affinity where applicable. |
ConfigProto.Experimental.Builder | setXlaFusionAutotunerThresh (giá trị dài) Minimum number of batches run through the XLA graph before XLA fusion autotuner is enabled. |
Phương pháp kế thừa
Phương pháp công khai
công khai ConfigProto.Experimental.Builder addRepeatedField (trường com.google.protobuf.Descriptors.FieldDescriptor, Giá trị đối tượng)
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;
công khai ConfigProto.Experimental.Builder clearCollectiveGroupLeader ()
Task name for group resolution.
string collective_group_leader = 1;
công khai ConfigProto.Experimental.Builder clearCollectiveNccl ()
If true, use NCCL for CollectiveOps. This feature is highly experimental.
bool collective_nccl = 7;
công khai ConfigProto.Experimental.Builder clearDisableOutputPartitionGraphs ()
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;
công khai 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;
công khai ConfigProto.Experimental.Builder clearEnableMlirBridge ()
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;
công khai ConfigProto.Experimental.Builder clearEnableMlirGraphOptimization ()
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;
công khai 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;
ConfigProto.Experimental.Builder clearField công khai (trường com.google.protobuf.Descriptors.FieldDescriptor)
công khai ConfigProto.Experimental.Builder clearMlirBridgeRollout ()
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;
công khai ConfigProto.Experimental.Builder clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)
công khai 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;
công khai 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;
công khai 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;
công khai ConfigProto.Experimental.Builder clearShareClusterDevicesInSession ()
This was promoted to a non-experimental API. Please use ConfigProto.share_cluster_devices_in_session instead.
bool share_cluster_devices_in_session = 10;
công khai 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;
công khai 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;
công khai ConfigProto.Experimental.Builder clearXlaFusionAutotunerThresh ()
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;
boolean công khai getCollectiveDeterministicSequentialExecution ()
If true, make collective op execution order sequential and deterministic for potentially concurrent collective instances.
bool collective_deterministic_sequential_execution = 6;
Chuỗi công khai getCollectiveGroupLeader ()
Task name for group resolution.
string collective_group_leader = 1;
com.google.protobuf.ByteString getCollectiveGroupLeaderBytes công khai ()
Task name for group resolution.
string collective_group_leader = 1;
boolean công khai getCollectiveNccl ()
If true, use NCCL for CollectiveOps. This feature is highly experimental.
bool collective_nccl = 7;
công khai tĩnh cuối cùng com.google.protobuf.Descriptors.Descriptor getDescriptor ()
com.google.protobuf.Descriptors.Descriptor công khai getDescriptorForType ()
boolean công khai 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;
boolean công khai 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;
boolean công khai 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;
boolean công khai 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;
Chuỗi công khai 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 công khai getExecutorTypeBytes ()
Which executor to use, the default executor will be used if it is an empty string or "DEFAULT"
string executor_type = 3;
công khai ConfigProto.Experimental.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 công khai 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;
boolean công khai 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 công khai 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;
public 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;
SessionMetadata.Builder công khai 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;
boolean công khai 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;
boolean công khai 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;
boolean công khai 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;
công khai 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;
boolean công khai 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;
boolean cuối cùng công khai được khởi tạo ()
công khai ConfigProto.Experimental.Builder mergeFrom (đầu vào com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Ném
IOException |
---|
công khai ConfigProto.Experimental.Builder mergeSessionMetadata (giá trị SessionMetadata )
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;
bản cuối cùng công khai ConfigProto.Experimental.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet knownFields)
public ConfigProto.Experimental.Builder setCollectiveDeterministicSequentialExecution (giá trị boolean)
If true, make collective op execution order sequential and deterministic for potentially concurrent collective instances.
bool collective_deterministic_sequential_execution = 6;
công khai ConfigProto.Experimental.Builder setCollectiveGroupLeader (Giá trị chuỗi)
Task name for group resolution.
string collective_group_leader = 1;
công khai ConfigProto.Experimental.Builder setCollectiveGroupLeaderBytes (giá trị com.google.protobuf.ByteString)
Task name for group resolution.
string collective_group_leader = 1;
ConfigProto.Experimental.Builder setCollectiveNccl công khai (giá trị boolean)
If true, use NCCL for CollectiveOps. This feature is highly experimental.
bool collective_nccl = 7;
public ConfigProto.Experimental.Builder setDisableOutputPartitionGraphs (giá trị boolean)
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;
public ConfigProto.Experimental.Builder setDisableThreadSpinning (giá trị boolean)
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;
ConfigProto.Experimental.Builder setEnableMlirBridge công khai (giá trị boolean)
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;
public ConfigProto.Experimental.Builder setEnableMlirGraphOptimization (giá trị boolean)
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;
công khai ConfigProto.Experimental.Builder setExecutorType (Giá trị chuỗi)
Which executor to use, the default executor will be used if it is an empty string or "DEFAULT"
string executor_type = 3;
công khai ConfigProto.Experimental.Builder setExecutorTypeBytes (giá trị com.google.protobuf.ByteString)
Which executor to use, the default executor will be used if it is an empty string or "DEFAULT"
string executor_type = 3;
ConfigProto.Experimental.Builder setField công khai (trường com.google.protobuf.Descriptors.FieldDescriptor, Giá trị đối tượng)
công khai ConfigProto.Experimental.Builder setMlirBridgeRollout (giá trị ConfigProto.Experimental.MlirBridgeRollout )
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;
công khai ConfigProto.Experimental.Builder setMlirBridgeRolloutValue (giá trị int)
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;
public ConfigProto.Experimental.Builder setOptimizeForStaticGraph (giá trị boolean)
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;
công khai ConfigProto.Experimental.Builder setRecvBufMaxChunk (giá trị int)
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;
ConfigProto.Experimental.Builder setRepeatedField công khai (trường com.google.protobuf.Descriptors.FieldDescriptor, chỉ mục int, giá trị đối tượng)
công khai ConfigProto.Experimental.Builder setSessionMetadata (giá trị SessionMetadata )
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;
ConfigProto.Experimental.Builder setSessionMetadata công khai ( 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 setShareClusterDevicesInSession (giá trị boolean)
This was promoted to a non-experimental API. Please use ConfigProto.share_cluster_devices_in_session instead.
bool share_cluster_devices_in_session = 10;
public ConfigProto.Experimental.Builder setShareSessionStateInClusterspecPropagation (giá trị boolean)
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;
trận chung kết công khai ConfigProto.Experimental.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet UnknownFields)
công khai ConfigProto.Experimental.Builder setUseNumaAffinity (giá trị boolean)
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;
công khai ConfigProto.Experimental.Builder setXlaFusionAutotunerThresh (giá trị dài)
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;