kelas akhir statis publik 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
Metode Publik
ConfigProto.Eksperimental.Builder | addRepeatedField (bidang com.google.protobuf.Descriptors.FieldDescriptor, Nilai objek) |
ConfigProto.Eksperimental | membangun () |
ConfigProto.Eksperimental | |
ConfigProto.Eksperimental.Builder | jernih () |
ConfigProto.Eksperimental.Builder | clearCollectiveDeterministicSequentialExecution () If true, make collective op execution order sequential and deterministic for potentially concurrent collective instances. |
ConfigProto.Eksperimental.Builder | jelasPemimpin KelompokKolektif () Task name for group resolution. |
ConfigProto.Eksperimental.Builder | clearCollectiveNccl () If true, use NCCL for CollectiveOps. |
ConfigProto.Eksperimental.Builder | clearDisableOutputPartitionGraphs () If true, the session will not store an additional copy of the graph for each subgraph. |
ConfigProto.Eksperimental.Builder | hapusDisableThreadSpinning () If using a direct session, disable spinning while waiting for work in the thread pool. |
ConfigProto.Eksperimental.Builder | hapusAktifkanMlirBridge () This field will eventually be deprecated and replaced by mlir_bridge_rollout (b/166038521). |
ConfigProto.Eksperimental.Builder | hapusAktifkanMlirGraphOptimization () Whether to enable the MLIR-based Graph optimizations. |
ConfigProto.Eksperimental.Builder | jelasExecutorType () Which executor to use, the default executor will be used if it is an empty string or "DEFAULT" string executor_type = 3; |
ConfigProto.Eksperimental.Builder | clearField (bidang com.google.protobuf.Descriptors.FieldDescriptor) |
ConfigProto.Eksperimental.Builder | jelasMlirBridgeRollout () This field is underdevelopment, for now use enable_mlir_bridge (b/166038521). |
ConfigProto.Eksperimental.Builder | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ConfigProto.Eksperimental.Builder | hapusOptimizeForStaticGraph () If true, the session may treat the graph as being static for optimization purposes. |
ConfigProto.Eksperimental.Builder | hapusRecvBufMaxChunk () Guidance to formatting of large RecvBuf fields for transfer. |
ConfigProto.Eksperimental.Builder | hapusSesiMetadata () Metadata about the session. |
ConfigProto.Eksperimental.Builder | clearShareClusterDevicesInSession () This was promoted to a non-experimental API. |
ConfigProto.Eksperimental.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.Eksperimental.Builder | hapusGunakanNumaAffinity () If true, and supported by the platform, the runtime will attempt to use NUMA affinity where applicable. |
ConfigProto.Eksperimental.Builder | clearXlaFusionAutotunerThresh () Minimum number of batches run through the XLA graph before XLA fusion autotuner is enabled. |
ConfigProto.Eksperimental.Builder | klon () |
boolean | getCollectiveDeterministicSequentialExecution () If true, make collective op execution order sequential and deterministic for potentially concurrent collective instances. |
Rangkaian | dapatkanCollectiveGroupLeader () Task name for group resolution. |
com.google.protobuf.ByteString | dapatkanCollectiveGroupLeaderBytes () Task name for group resolution. |
boolean | dapatkanCollectiveNccl () If true, use NCCL for CollectiveOps. |
ConfigProto.Eksperimental | |
com.google.protobuf.Descriptors.Descriptor statis terakhir | |
com.google.protobuf.Descriptors.Descriptor | |
boolean | getDisableOutputPartitionGraphs () If true, the session will not store an additional copy of the graph for each subgraph. |
boolean | dapatkanDisableThreadSpinning () If using a direct session, disable spinning while waiting for work in the thread pool. |
boolean | dapatkanAktifkanMlirBridge () This field will eventually be deprecated and replaced by mlir_bridge_rollout (b/166038521). |
boolean | getEnableMlirGraphOptimization () Whether to enable the MLIR-based Graph optimizations. |
Rangkaian | dapatkanExecutorType () 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 | dapatkanExecutorTypeBytes () 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 | dapatkanMlirBridgeRollout () This field is underdevelopment, for now use enable_mlir_bridge (b/166038521). |
ke dalam | dapatkanMlirBridgeRolloutValue () This field is underdevelopment, for now use enable_mlir_bridge (b/166038521). |
boolean | dapatkanOptimizeForStaticGraph () If true, the session may treat the graph as being static for optimization purposes. |
ke dalam | dapatkanRecvBufMaxChunk () Guidance to formatting of large RecvBuf fields for transfer. |
Metadata Sesi | dapatkanSessionMetadata () Metadata about the session. |
SessionMetadata.Builder | dapatkanSessionMetadataBuilder () Metadata about the session. |
SessionMetadataOrBuilder | dapatkanSessionMetadataOrBuilder () Metadata about the session. |
boolean | dapatkanShareClusterDevicesInSession () 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 | dapatkanUseNumaAffinity () If true, and supported by the platform, the runtime will attempt to use NUMA affinity where applicable. |
panjang | getXlaFusionAutotunerThresh () Minimum number of batches run through the XLA graph before XLA fusion autotuner is enabled. |
boolean | hasSessionMetadata () Metadata about the session. |
boolean terakhir | |
ConfigProto.Eksperimental.Builder | mergeFrom (com.google.protobuf.Pesan lainnya) |
ConfigProto.Eksperimental.Builder | mergeFrom (com.google.protobuf.CodedInputStream masukan, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ConfigProto.Eksperimental.Builder | |
ConfigProto.Experimental.Builder terakhir | mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
ConfigProto.Eksperimental.Builder | setCollectiveDeterministicSequentialExecution (nilai boolean) If true, make collective op execution order sequential and deterministic for potentially concurrent collective instances. |
ConfigProto.Eksperimental.Builder | setCollectiveGroupLeader (Nilai string) Task name for group resolution. |
ConfigProto.Eksperimental.Builder | setCollectiveGroupLeaderBytes (nilai com.google.protobuf.ByteString) Task name for group resolution. |
ConfigProto.Eksperimental.Builder | setCollectiveNccl (nilai boolean) If true, use NCCL for CollectiveOps. |
ConfigProto.Eksperimental.Builder | setDisableOutputPartitionGraphs (nilai boolean) If true, the session will not store an additional copy of the graph for each subgraph. |
ConfigProto.Eksperimental.Builder | setDisableThreadSpinning (nilai boolean) If using a direct session, disable spinning while waiting for work in the thread pool. |
ConfigProto.Eksperimental.Builder | setEnableMlirBridge (nilai boolean) This field will eventually be deprecated and replaced by mlir_bridge_rollout (b/166038521). |
ConfigProto.Eksperimental.Builder | setEnableMlirGraphOptimization (nilai boolean) Whether to enable the MLIR-based Graph optimizations. |
ConfigProto.Eksperimental.Builder | setExecutorType (Nilai string) Which executor to use, the default executor will be used if it is an empty string or "DEFAULT" string executor_type = 3; |
ConfigProto.Eksperimental.Builder | setExecutorTypeBytes (nilai 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.Eksperimental.Builder | setField (bidang com.google.protobuf.Descriptors.FieldDescriptor, Nilai objek) |
ConfigProto.Eksperimental.Builder | setMlirBridgeRollout (nilai ConfigProto.Experimental.MlirBridgeRollout ) This field is underdevelopment, for now use enable_mlir_bridge (b/166038521). |
ConfigProto.Eksperimental.Builder | setMlirBridgeRolloutValue (nilai int) This field is underdevelopment, for now use enable_mlir_bridge (b/166038521). |
ConfigProto.Eksperimental.Builder | setOptimizeForStaticGraph (nilai boolean) If true, the session may treat the graph as being static for optimization purposes. |
ConfigProto.Eksperimental.Builder | setRecvBufMaxChunk (nilai int) Guidance to formatting of large RecvBuf fields for transfer. |
ConfigProto.Eksperimental.Builder | setRepeatedField (bidang com.google.protobuf.Descriptors.FieldDescriptor, indeks int, Nilai objek) |
ConfigProto.Eksperimental.Builder | |
ConfigProto.Eksperimental.Builder | |
ConfigProto.Eksperimental.Builder | setShareClusterDevicesInSession (nilai boolean) This was promoted to a non-experimental API. |
ConfigProto.Eksperimental.Builder | setShareSessionStateInClusterspecPropagation (nilai 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 terakhir | setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
ConfigProto.Eksperimental.Builder | setUseNumaAffinity (nilai boolean) If true, and supported by the platform, the runtime will attempt to use NUMA affinity where applicable. |
ConfigProto.Eksperimental.Builder | setXlaFusionAutotunerThresh (nilai panjang) Minimum number of batches run through the XLA graph before XLA fusion autotuner is enabled. |
Metode Warisan
Metode Publik
public ConfigProto.Experimental.Builder addRepeatedField (bidang com.google.protobuf.Descriptors.FieldDescriptor, Nilai objek)
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;
ConfigProto.Experimental.Builder publik clearCollectiveGroupLeader ()
Task name for group resolution.
string collective_group_leader = 1;
ConfigProto.Experimental.Builder publik clearCollectiveNccl ()
If true, use NCCL for CollectiveOps. This feature is highly experimental.
bool collective_nccl = 7;
ConfigProto.Experimental.Builder publik 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;
ConfigProto.Experimental.Builder publik 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;
ConfigProto.Experimental.Builder publik 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;
ConfigProto.Experimental.Builder publik 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;
ConfigProto.Experimental.Builder publik 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 clearField (bidang com.google.protobuf.Descriptors.FieldDescriptor)
ConfigProto.Experimental.Builder publik 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;
ConfigProto.Experimental.Builder public clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)
ConfigProto.Experimental.Builder publik 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;
ConfigProto.Experimental.Builder publik 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;
ConfigProto.Experimental.Builder publik 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;
ConfigProto.Experimental.Builder publik 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;
ConfigProto.Experimental.Builder publik 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;
ConfigProto.Experimental.Builder publik 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;
ConfigProto.Experimental.Builder publik 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 publik getCollectiveDeterministicSequentialExecution ()
If true, make collective op execution order sequential and deterministic for potentially concurrent collective instances.
bool collective_deterministic_sequential_execution = 6;
String publik getCollectiveGroupLeader ()
Task name for group resolution.
string collective_group_leader = 1;
publik com.google.protobuf.ByteString getCollectiveGroupLeaderBytes ()
Task name for group resolution.
string collective_group_leader = 1;
getCollectiveNccl boolean publik ()
If true, use NCCL for CollectiveOps. This feature is highly experimental.
bool collective_nccl = 7;
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
com.google.protobuf.Descriptors.Descriptor publik getDescriptorForType ()
boolean publik 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 publik 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 publik 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 publik 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;
String publik getExecutorType ()
Which executor to use, the default executor will be used if it is an empty string or "DEFAULT"
string executor_type = 3;
publik 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 publik 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 publik 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 publik 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 publik 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;
SessionMetadata publik 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 publik 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;
SessionMetadataOrBuilder publik 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 publik 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 publik 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 publik 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;
get panjang publikXlaFusionAutotunerThresh ()
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 publik 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 akhir publik diinisialisasi ()
ConfigProto.Experimental.Builder mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
Pengecualian IO |
---|
ConfigProto.Experimental.Builder mergeSessionMetadata publik (nilai 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;
public final ConfigProto.Experimental.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
public ConfigProto.Experimental.Builder setCollectiveDeterministicSequentialExecution (nilai boolean)
If true, make collective op execution order sequential and deterministic for potentially concurrent collective instances.
bool collective_deterministic_sequential_execution = 6;
public ConfigProto.Experimental.Builder setCollectiveGroupLeader (Nilai string)
Task name for group resolution.
string collective_group_leader = 1;
public ConfigProto.Experimental.Builder setCollectiveGroupLeaderBytes (nilai com.google.protobuf.ByteString)
Task name for group resolution.
string collective_group_leader = 1;
public ConfigProto.Experimental.Builder setCollectiveNccl (nilai boolean)
If true, use NCCL for CollectiveOps. This feature is highly experimental.
bool collective_nccl = 7;
public ConfigProto.Experimental.Builder setDisableOutputPartitionGraphs (nilai 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 (nilai 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;
public ConfigProto.Experimental.Builder setEnableMlirBridge (nilai 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 (nilai 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;
public ConfigProto.Experimental.Builder setExecutorType (Nilai string)
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 publik (nilai 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;
public ConfigProto.Experimental.Builder setField (bidang com.google.protobuf.Descriptors.FieldDescriptor, Nilai objek)
ConfigProto.Experimental.Builder setMlirBridgeRollout publik (nilai 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;
public ConfigProto.Experimental.Builder setMlirBridgeRolloutValue (nilai 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 (nilai 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;
public ConfigProto.Experimental.Builder setRecvBufMaxChunk (nilai 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;
public ConfigProto.Experimental.Builder setRepeatedField (bidang com.google.protobuf.Descriptors.FieldDescriptor, indeks int, Nilai objek)
public ConfigProto.Experimental.Builder setSessionMetadata (nilai 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 publik ( 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 (nilai 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 (nilai 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;
public final ConfigProto.Experimental.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
public ConfigProto.Experimental.Builder setUseNumaAffinity (nilai 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;
public ConfigProto.Experimental.Builder setXlaFusionAutotunerThresh (nilai panjang)
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;