공개 정적 최종 클래스 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
공개 방법
ConfigProto.Experimental.Builder | addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor 필드, 개체 값) |
ConfigProto.Experimental | 짓다 () |
ConfigProto.Experimental | 빌드부분 () |
ConfigProto.Experimental.Builder | 분명한 () |
ConfigProto.Experimental.Builder | ClearCollectiveDeterministicSequentialExecution () If true, make collective op execution order sequential and deterministic for potentially concurrent collective instances. |
ConfigProto.Experimental.Builder | 클리어콜렉티브그룹리더 () Task name for group resolution. |
ConfigProto.Experimental.Builder | 클리어콜렉티브Nccl () 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 | 클리어EnableMlirBridge () 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 | 클리어ExecutorType () 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 (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 | 클리어세션메타데이터 () 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 | 클론 () |
부울 | 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. |
ConfigProto.Experimental | |
최종 정적 com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
부울 | 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). |
부울 | getEnableMlirGraphOptimization () 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; |
ConfigProto.Experimental.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. |
세션메타데이터.빌더 | getSessionMetadataBuilder () 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. |
최종 부울 | 초기화됨 () |
ConfigProto.Experimental.Builder | mergeFrom (com.google.protobuf.다른 메시지 보내기) |
ConfigProto.Experimental.Builder | mergeFrom (com.google.protobuf.CodedInputStream 입력, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
ConfigProto.Experimental.Builder | |
최종 ConfigProto.Experimental.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldSet 알려지지 않은Fields) |
ConfigProto.Experimental.Builder | setCollectiveDeterministicSequentialExecution (부울 값) If true, make collective op execution order sequential and deterministic for potentially concurrent collective instances. |
ConfigProto.Experimental.Builder | setCollectiveGroupLeader (문자열 값) Task name for group resolution. |
ConfigProto.Experimental.Builder | setCollectiveGroupLeaderBytes (com.google.protobuf.ByteString 값) Task name for group resolution. |
ConfigProto.Experimental.Builder | setCollectiveNccl (부울 값) If true, use NCCL for CollectiveOps. |
ConfigProto.Experimental.Builder | setDisableOutputPartitionGraphs (부울 값) If true, the session will not store an additional copy of the graph for each subgraph. |
ConfigProto.Experimental.Builder | setDisableThreadSpinning (부울 값) If using a direct session, disable spinning while waiting for work in the thread pool. |
ConfigProto.Experimental.Builder | setEnableMlirBridge (부울 값) This field will eventually be deprecated and replaced by mlir_bridge_rollout (b/166038521). |
ConfigProto.Experimental.Builder | setEnableMlirGraphOptimization (부울 값) Whether to enable the MLIR-based Graph optimizations. |
ConfigProto.Experimental.Builder | setExecutorType (문자열 값) 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 (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 (com.google.protobuf.Descriptors.FieldDescriptor 필드, 개체 값) |
ConfigProto.Experimental.Builder | setMlirBridgeRollout ( ConfigProto.Experimental.MlirBridgeRollout 값) This field is underdevelopment, for now use enable_mlir_bridge (b/166038521). |
ConfigProto.Experimental.Builder | setMlirBridgeRolloutValue (정수 값) This field is underdevelopment, for now use enable_mlir_bridge (b/166038521). |
ConfigProto.Experimental.Builder | setOptimizeForStaticGraph (부울 값) If true, the session may treat the graph as being static for optimization purposes. |
ConfigProto.Experimental.Builder | setRecvBufMaxChunk (정수 값) Guidance to formatting of large RecvBuf fields for transfer. |
ConfigProto.Experimental.Builder | setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor 필드, int 인덱스, 개체 값) |
ConfigProto.Experimental.Builder | |
ConfigProto.Experimental.Builder | |
ConfigProto.Experimental.Builder | setShareClusterDevicesInSession (부울 값) This was promoted to a non-experimental API. |
ConfigProto.Experimental.Builder | setShareSessionStateInClusterspecPropagation (부울 값) 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 | setUnknownFields (com.google.protobuf.UnknownFieldSet UnknownFields) |
ConfigProto.Experimental.Builder | setUseNumaAffinity (부울 값) If true, and supported by the platform, the runtime will attempt to use NUMA affinity where applicable. |
ConfigProto.Experimental.Builder | setXlaFusionAutotunerThresh (긴 값) Minimum number of batches run through the XLA graph before XLA fusion autotuner is enabled. |
상속된 메서드
공개 방법
공개 ConfigProto.Experimental.Builder addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor 필드, 개체 값)
공개 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 ClearCollectiveGroupLeader ()
Task name for group resolution.
string collective_group_leader = 1;
공개 ConfigProto.Experimental.Builder ClearCollectiveNccl ()
If true, use NCCL for CollectiveOps. This feature is highly experimental.
bool collective_nccl = 7;
공개 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;
공개 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;
공개 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;
공개 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;
공개 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.BuilderclearMlirBridgeRollout ( )
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.BuilderclearOneof ( com.google.protobuf.Descriptors.OneofDescriptor oneof)
공개 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;
공개 ConfigProto.Experimental.BuilderclearRecvBufMaxChunk ( )
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 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 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 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 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 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;
공개 부울 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;
공개 정적 최종 com.google.protobuf.Descriptors.Descriptor getDescriptor ()
공개 com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
공개 부울 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;
공개 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 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;
공개 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 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 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;
공개 최종 부울 isInitialized ()
공개 ConfigProto.Experimental.Builder mergeFrom (com.google.protobuf.CodedInputStream 입력, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
던지기
IO예외 |
---|
공개 ConfigProto.Experimental.Builder mergeSessionMetadata ( 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 mergeUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)
공개 ConfigProto.Experimental.Builder setCollectiveDeterministicSequentialExecution (부울 값)
If true, make collective op execution order sequential and deterministic for potentially concurrent collective instances.
bool collective_deterministic_sequential_execution = 6;
공개 ConfigProto.Experimental.Builder setCollectiveGroupLeader (문자열 값)
Task name for group resolution.
string collective_group_leader = 1;
공개 ConfigProto.Experimental.Builder setCollectiveGroupLeaderBytes (com.google.protobuf.ByteString 값)
Task name for group resolution.
string collective_group_leader = 1;
공개 ConfigProto.Experimental.Builder setCollectiveNccl (부울 값)
If true, use NCCL for CollectiveOps. This feature is highly experimental.
bool collective_nccl = 7;
공개 ConfigProto.Experimental.Builder setDisableOutputPartitionGraphs (부울 값)
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 setDisableThreadSpinning (부울 값)
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 (부울 값)
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 setEnableMlirGraphOptimization (부울 값)
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 setExecutorType (문자열 값)
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 (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 (com.google.protobuf.Descriptors.FieldDescriptor 필드, 개체 값)
공개 ConfigProto.Experimental.Builder setMlirBridgeRollout ( 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;
공개 ConfigProto.Experimental.Builder setMlirBridgeRolloutValue (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;
공개 ConfigProto.Experimental.Builder setOptimizeForStaticGraph (부울 값)
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 setRecvBufMaxChunk (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 (com.google.protobuf.Descriptors.FieldDescriptor 필드, int 인덱스, 개체 값)
공개 ConfigProto.Experimental.Builder setSessionMetadata ( 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 ( 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;
공개 ConfigProto.Experimental.Builder setShareClusterDevicesInSession (부울 값)
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 setShareSessionStateInClusterspecPropagation (부울 값)
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 setUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)
공개 ConfigProto.Experimental.Builder setUseNumaAffinity (부울 값)
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 setXlaFusionAutotunerThresh (긴 값)
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;