الطبقة النهائية العامة الثابتة ConfigProto.Experimental
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 | Everything inside Experimental is subject to change and is not subject to API stability guarantees in https://www.tensorflow.org/guide/version_compat. | |
التعداد | ConfigProto.Experimental.MlirBridgeRollout | An enum that describes the state of the MLIR bridge rollout. |
الثوابت
كثافة العمليات | COLLECTIVE_DETERMINISTIC_SEQUENTIAL_EXECUTION_FIELD_NUMBER | |
كثافة العمليات | COLLECTIVE_GROUP_LEADER_FIELD_NUMBER | |
كثافة العمليات | COLLECTIVE_NCCL_FIELD_NUMBER | |
كثافة العمليات | DISABLE_OUTPUT_PARTITION_GRAPHS_FIELD_NUMBER | |
كثافة العمليات | DISABLE_THREAD_SPINNING_FIELD_NUMBER | |
كثافة العمليات | ENABLE_MLIR_BRIDGE_FIELD_NUMBER | |
كثافة العمليات | ENABLE_MLIR_GRAPH_OPTIMIZATION_FIELD_NUMBER | |
كثافة العمليات | EXECUTOR_TYPE_FIELD_NUMBER | |
كثافة العمليات | MLIR_BRIDGE_ROLLOUT_FIELD_NUMBER | |
كثافة العمليات | OPTIMIZE_FOR_STATIC_GRAPH_FIELD_NUMBER | |
كثافة العمليات | RECV_BUF_MAX_CHUNK_FIELD_NUMBER | |
كثافة العمليات | SESSION_METADATA_FIELD_NUMBER | |
كثافة العمليات | SHARE_CLUSTER_DEVICES_IN_SESSION_FIELD_NUMBER | |
كثافة العمليات | SHARE_SESSION_STATE_IN_CLUSTERSPEC_PROPAGATION_FIELD_NUMBER | |
كثافة العمليات | USE_NUMA_AFFINITY_FIELD_NUMBER | |
كثافة العمليات | XLA_FUSION_AUTOTUNER_THRESH_FIELD_NUMBER |
الأساليب العامة
منطقية | يساوي (كائن كائن) |
منطقية | 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 | الحصول علىCollectiveGroupLeaderBytes () Task name for group resolution. |
منطقية | getCollectiveNccl () If true, use NCCL for CollectiveOps. |
ثابت ConfigProto.Experimental | |
ConfigProto.Experimental | |
النهائي الثابت 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. |
منطقية | جيتينابليمليربريدج () 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. |
كثافة العمليات | |
بيانات تعريف الجلسة | الحصول على بيانات تعريف الجلسة () Metadata about the session. |
SessionMetadataOrBuilder | 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. |
النهائي com.google.protobuf.UnknownFieldSet | |
منطقية | 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 | newBuilder (النموذج الأولي ConfigProto.Experimental ) |
ثابت ConfigProto.Experimental.Builder | منشئ جديد () |
ConfigProto.Experimental.Builder | |
ثابت ConfigProto.Experimental | parseDelimitedFrom (إدخال InputStream) |
ثابت ConfigProto.Experimental | parseDelimitedFrom (إدخال InputStream، com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
ثابت ConfigProto.Experimental | parseFrom (بيانات ByteBuffer) |
ثابت ConfigProto.Experimental | parseFrom (com.google.protobuf.CodedInputStream input، com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
ثابت ConfigProto.Experimental | parseFrom (بيانات ByteBuffer، com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
ثابت ConfigProto.Experimental | parseFrom (com.google.protobuf.CodedInputStream الإدخال) |
ثابت ConfigProto.Experimental | parseFrom (بيانات البايت[]، com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
ثابت ConfigProto.Experimental | parseFrom (بيانات com.google.protobuf.ByteString) |
ثابت ConfigProto.Experimental | parseFrom (إدخال InputStream، com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
ثابت ConfigProto.Experimental | parseFrom (com.google.protobuf.ByteString data، com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
ثابت | محلل () |
ConfigProto.Experimental.Builder | إلى البناء () |
فارغ | writeTo (com.google.protobuf.CodedOutputStream الإخراج) |
الطرق الموروثة
الثوابت
العدد النهائي الثابت العام COLLECTIVE_DETERMINISTIC_SEQUENTIAL_EXECUTION_FIELD_NUMBER
القيمة الثابتة: 6
العدد النهائي الثابت العام COLLECTIVE_GROUP_LEADER_FIELD_NUMBER
القيمة الثابتة: 1
العدد النهائي الثابت العام COLLECTIVE_NCCL_FIELD_NUMBER
القيمة الثابتة: 7
العدد النهائي الثابت العام DISABLE_OUTPUT_PARTITION_GRAPHS_FIELD_NUMBER
القيمة الثابتة: 14
العدد النهائي الثابت العام DISABLE_THREAD_SPINNING_FIELD_NUMBER
القيمة الثابتة: 9
العدد النهائي الثابت العام ENABLE_MLIR_BRIDGE_FIELD_NUMBER
القيمة الثابتة: 13
العدد النهائي الثابت العام ENABLE_MLIR_GRAPH_OPTIMIZATION_FIELD_NUMBER
القيمة الثابتة: 16
العدد النهائي الثابت العام EXECUTOR_TYPE_FIELD_NUMBER
القيمة الثابتة: 3
العدد النهائي الثابت العام MLIR_BRIDGE_ROLLOUT_FIELD_NUMBER
القيمة الثابتة: 17
العدد النهائي الثابت العام OPTIMIZE_FOR_STATIC_GRAPH_FIELD_NUMBER
القيمة الثابتة: 12
العدد النهائي الثابت العام RECV_BUF_MAX_CHUNK_FIELD_NUMBER
القيمة الثابتة: 4
int النهائي الثابت العام SESSION_METADATA_FIELD_NUMBER
القيمة الثابتة: 11
العدد النهائي الثابت العام SHARE_CLUSTER_DEVICES_IN_SESSION_FIELD_NUMBER
القيمة الثابتة: 10
العدد النهائي الثابت العام SHARE_SESSION_STATE_IN_CLUSTERSPEC_PROPAGATION_FIELD_NUMBER
القيمة الثابتة: 8
العدد النهائي الثابت العام USE_NUMA_AFFINITY_FIELD_NUMBER
القيمة الثابتة: 5
العدد النهائي الثابت العام XLA_FUSION_AUTOTUNER_THRESH_FIELD_NUMBER
القيمة الثابتة: 15
الأساليب العامة
القيمة المنطقية العامة تساوي (Object obj)
getالمنطقية العامة 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 ()
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;
int public getSerializedSize ()
getSessionMetadata العامة ()
Metadata about the session. If set, this can be used by the runtime and the Ops for debugging, monitoring, etc. NOTE: This is currently used and propagated only by the direct session.
.tensorflow.SessionMetadata session_metadata = 11;
getSessionMetadataOrBuilder العامة 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;
النهائي العام com.google.protobuf.UnknownFieldSet getUnknownFields ()
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;
public long getXlaFusionAutotunerThresh ()
Minimum number of batches run through the XLA graph before XLA fusion autotuner is enabled. Default value of zero disables the autotuner. The XLA fusion autotuner can improve performance by executing a heuristic search on the compiler parameters.
int64 xla_fusion_autotuner_thresh = 15;
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;
كود التجزئة الدولي العام ()
تمت تهيئة القيمة المنطقية النهائية العامة ()
ConfigProto.Experimental parseDelimitedFrom الثابت العام (إدخال InputStream، com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
رميات
IOEException |
---|
تحليل ConfigProto.Experimental العام الثابت (بيانات ByteBuffer)
رميات
InvalidProtocolBufferException |
---|
التحليل العام الثابت ConfigProto.Experimental (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
رميات
IOEException |
---|
التحليل العام الثابت ConfigProto.Experimental (بيانات ByteBuffer، com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
رميات
InvalidProtocolBufferException |
---|
التحليل العام الثابت ConfigProto.Experimental (com.google.protobuf.CodedInputStream input)
رميات
IOEException |
---|
التحليل العام الثابت ConfigProto.Experimental (بيانات البايت []، com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
رميات
InvalidProtocolBufferException |
---|
التحليل العام الثابت ConfigProto.Experimental (بيانات com.google.protobuf.ByteString)
رميات
InvalidProtocolBufferException |
---|
التحليل العام الثابت ConfigProto.Experimental (إدخال InputStream، com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
رميات
IOEException |
---|
التحليل العام الثابت ConfigProto.Experimental (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
رميات
InvalidProtocolBufferException |
---|
ساكنة عامة محلل ()
الكتابة إلى الفراغ العام (إخراج com.google.protobuf.CodedOutputStream)
رميات
IOEException |
---|