kelas akhir statis publik ConfigProto.Eksperimental
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
Kelas Bersarang
kelas | ConfigProto.Eksperimental.Builder | Everything inside Experimental is subject to change and is not subject to API stability guarantees in https://www.tensorflow.org/guide/version_compat. | |
enum | ConfigProto.Experimental.MlirBridgeRollout | An enum that describes the state of the MLIR bridge rollout. |
Konstanta
ke dalam | COLLECTIVE_DETERMINISTIC_SEQUENTIAL_EXECUTION_FIELD_NUMBER | |
ke dalam | COLLECTIVE_GROUP_LEADER_FIELD_NUMBER | |
ke dalam | COLLECTIVE_NCCL_FIELD_NUMBER | |
ke dalam | DISABLE_OUTPUT_PARTITION_GRAPHS_FIELD_NUMBER | |
ke dalam | DISABLE_THREAD_SPINNING_FIELD_NUMBER | |
ke dalam | ENABLE_MLIR_BRIDGE_FIELD_NUMBER | |
ke dalam | ENABLE_MLIR_GRAPH_OPTIMIZATION_FIELD_NUMBER | |
ke dalam | EXECUTOR_TYPE_FIELD_NUMBER | |
ke dalam | MLIR_BRIDGE_ROLLOUT_FIELD_NUMBER | |
ke dalam | OPTIMALKAN_FOR_STATIC_GRAPH_FIELD_NUMBER | |
ke dalam | RECV_BUF_MAX_CHUNK_FIELD_NUMBER | |
ke dalam | SESSION_METADATA_FIELD_NUMBER | |
ke dalam | SHARE_CLUSTER_DEVICES_IN_SESSION_FIELD_NUMBER | |
ke dalam | SHARE_SESSION_STATE_IN_CLUSTERSPEC_PROPAGATION_FIELD_NUMBER | |
ke dalam | USE_NUMA_AFFINITY_FIELD_NUMBER | |
ke dalam | XLA_FUSION_AUTOTUNER_THRESH_FIELD_NUMBER |
Metode Publik
boolean | sama dengan (Objek objek) |
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 statis | |
ConfigProto.Eksperimental | |
com.google.protobuf.Descriptors.Descriptor statis terakhir | |
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. |
ke dalam | |
Metadata Sesi | dapatkanSessionMetadata () 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. |
final com.google.protobuf.UnknownFieldSet | |
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. |
ke dalam | Kode hash () |
boolean terakhir | |
ConfigProto.Eksperimental.Builder statis | newBuilder ( ConfigProto.Prototipe eksperimental) |
ConfigProto.Eksperimental.Builder statis | |
ConfigProto.Eksperimental.Builder | |
ConfigProto.Eksperimental statis | parseDelimitedFrom (masukan Aliran Masukan) |
ConfigProto.Eksperimental statis | parseDelimitedFrom (masukan InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ConfigProto.Eksperimental statis | parseFrom (data ByteBuffer) |
ConfigProto.Eksperimental statis | parseFrom (com.google.protobuf.CodedInputStream masukan, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ConfigProto.Eksperimental statis | parseFrom (data ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ConfigProto.Eksperimental statis | parseFrom (com.google.protobuf.CodedInputStream masukan) |
ConfigProto.Eksperimental statis | parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ConfigProto.Eksperimental statis | parseFrom (com.google.protobuf.ByteString data) |
ConfigProto.Eksperimental statis | parseFrom (masukan InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ConfigProto.Eksperimental statis | parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
statis | pengurai () |
ConfigProto.Eksperimental.Builder | |
ruang kosong | writeTo (com.google.protobuf.CodedOutputStream keluaran) |
Metode Warisan
Konstanta
int final statis publik COLLECTIVE_DETERMINISTIC_SEQUENTIAL_EXECUTION_FIELD_NUMBER
Nilai Konstan: 6
int akhir statis publik COLLECTIVE_GROUP_LEADER_FIELD_NUMBER
Nilai Konstan: 1
int final statis publik COLLECTIVE_NCCL_FIELD_NUMBER
Nilai Konstan: 7
int akhir statis publik DISABLE_OUTPUT_PARTITION_GRAPHS_FIELD_NUMBER
Nilai Konstan: 14
int final statis publik DISABLE_THREAD_SPINNING_FIELD_NUMBER
Nilai Konstan: 9
int akhir statis publik ENABLE_MLIR_BRIDGE_FIELD_NUMBER
Nilai Konstan: 13
int final statis publik ENABLE_MLIR_GRAPH_OPTIMIZATION_FIELD_NUMBER
Nilai Konstan: 16
int akhir statis publik EXECUTOR_TYPE_FIELD_NUMBER
Nilai Konstan: 3
int final statis publik MLIR_BRIDGE_ROLLOUT_FIELD_NUMBER
Nilai Konstan: 17
int akhir statis publik OPTIMIZE_FOR_STATIC_GRAPH_FIELD_NUMBER
Nilai Konstan: 12
int akhir statis publik RECV_BUF_MAX_CHUNK_FIELD_NUMBER
Nilai Konstan: 4
int akhir statis publik SESSION_METADATA_FIELD_NUMBER
Nilai Konstan: 11
int akhir statis publik SHARE_CLUSTER_DEVICES_IN_SESSION_FIELD_NUMBER
Nilai Konstan: 10
int final statis publik SHARE_SESSION_STATE_IN_CLUSTERSPEC_PROPAGATION_FIELD_NUMBER
Nilai Konstan: 8
int akhir statis publik USE_NUMA_AFFINITY_FIELD_NUMBER
Nilai Konstan: 5
int final statis publik XLA_FUSION_AUTOTUNER_THRESH_FIELD_NUMBER
Nilai Konstan: 15
Metode Publik
boolean publik sama (Obj objek)
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 ()
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;
publik dapatkanParserForType ()
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;
publik int getSerializedSize ()
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;
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;
public final com.google.protobuf.UnknownFieldSet getUnknownFields ()
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;
getXlaFusionAutotunerThresh () panjang publik
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;
kode hash int publik ()
boolean akhir publik diinisialisasi ()
ConfigProto statis publik. ParseDelimitedFrom eksperimental (input InputStream)
Melempar
Pengecualian IO |
---|
ConfigProto statis publik. ParseDelimitedFrom eksperimental (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
Pengecualian IO |
---|
ConfigProto statis publik. ParseFrom eksperimental (data ByteBuffer)
Melempar
InvalidProtocolBufferException |
---|
ConfigProto.Experimental parseFrom statis publik (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
Pengecualian IO |
---|
ConfigProto statis publik. ParseFrom eksperimental (data ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
InvalidProtocolBufferException |
---|
ConfigProto statis publik. ParseFrom eksperimental (com.google.protobuf.CodedInputStream input)
Melempar
Pengecualian IO |
---|
ConfigProto statis publik. ParseFrom eksperimental (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
InvalidProtocolBufferException |
---|
ConfigProto statis publik. ParseFrom eksperimental (com.google.protobuf.ByteString data)
Melempar
InvalidProtocolBufferException |
---|
ConfigProto statis publik. ParseFrom eksperimental (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
Pengecualian IO |
---|
ConfigProto.Experimental parseFrom statis publik (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
ProtokolBufferException Tidak Valid |
---|
statis publik pengurai ()
public void writeTo (com.google.protobuf.CodedOutputStream keluaran)
Melempar
Pengecualian IO |
---|