ConfigProto.Experimental

パブリック静的最終クラス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.
 
Protobuf 型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
getCollectiveGroupLeaderBytes ()
 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.
ブール値
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.
セッションメタデータまたはビルダー
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 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
静的ConfigProto.Experimental
parseFrom (ByteBuffer データ、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
静的ConfigProto.Experimental
parseFrom (com.google.protobuf.CodedInputStream 入力)
静的ConfigProto.Experimental
parseFrom (byte[] データ、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 データ、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
静的
ConfigProto.Experimental.Builder
空所
writeTo (com.google.protobuf.CodedOutputStream 出力)

継承されたメソッド

定数

public static Final int COLLECTIVE_DETERMINISTIC_SEQUENTIAL_EXECUTION_FIELD_NUMBER

定数値: 6

public static Final int COLLECTIVE_GROUP_LEADER_FIELD_NUMBER

定数値: 1

public static Final int 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

パブリック静的最終整数SESSION_METADATA_FIELD_NUMBER

定数値: 11

public static Final int SHARE_CLUSTER_DEVICES_IN_SESSION_FIELD_NUMBER

定数値: 10

public static Final int SHARE_SESSION_STATE_IN_CLUSTERSPEC_PROPAGATION_FIELD_NUMBER

定数値: 8

パブリック静的最終整数USE_NUMA_AFFINITY_FIELD_NUMBER

定数値: 5

パブリック静的最終整数XLA_FUSION_AUTOTUNER_THRESH_FIELD_NUMBER

定数値: 15

パブリックメソッド

public booleanに等しい(オブジェクト obj)

public boolean getCollectiveDeterministicSequentialExecution ()

 If true, make collective op execution order sequential and deterministic
 for potentially concurrent collective instances.
 
bool collective_deterministic_sequential_execution = 6;

public String getCollectiveGroupLeader ()

 Task name for group resolution.
 
string collective_group_leader = 1;

public com.google.protobuf.ByteString getCollectiveGroupLeaderBytes ()

 Task name for group resolution.
 
string collective_group_leader = 1;

public boolean getCollectiveNccl ()

 If true, use NCCL for CollectiveOps.  This feature is highly
 experimental.
 
bool collective_nccl = 7;

public static ConfigProto.Experimental getDefaultInstance ()

public ConfigProto.Experimental getDefaultInstanceForType ()

public static Final com.google.protobuf.Descriptors.Descriptor getDescriptor ()

public boolean 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;

public boolean 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;

public boolean 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;

public boolean 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;

public String getExecutorType ()

 Which executor to use, the default executor will be used
 if it is an empty string or "DEFAULT"
 
string executor_type = 3;

public 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;

public 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;

public 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;

public boolean 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;

公共getParserForType ()

public 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;

public int getSerializedSize ()

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;

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;

public boolean 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;

public 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.
 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 ()

public boolean 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;

public boolean 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;

public int hashCode ()

パブリック最終ブール値isInitialized ()

public static ConfigProto.Experimental.Builder newBuilder ( ConfigProto.Experimentalプロトタイプ)

public static ConfigProto.Experimental.Builder newBuilder ()

public ConfigProto.Experimental.Builder newBuilderForType ()

public static ConfigProto.Experimental parseDelimitedFrom (InputStream 入力)

投げる
IO例外

public static ConfigProto.Experimental parseDelimitedFrom (InputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry)

投げる
IO例外

public static ConfigProto.Experimental parseFrom (ByteBuffer データ)

投げる
無効なプロトコルバッファ例外

public static ConfigProto.Experimental parseFrom (com.google.protobuf.CodedInputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry)

投げる
IO例外

public static ConfigProto.Experimental parseFrom (ByteBuffer データ、com.google.protobuf.ExtensionRegistryLite extensionRegistry)

投げる
無効なプロトコルバッファ例外

public static ConfigProto.Experimental parseFrom (com.google.protobuf.CodedInputStream 入力)

投げる
IO例外

public static ConfigProto.Experimental parseFrom (byte[] データ、com.google.protobuf.ExtensionRegistryLite extensionRegistry)

投げる
無効なプロトコルバッファ例外

public static ConfigProto.Experimental parseFrom (com.google.protobuf.ByteString データ)

投げる
無効なプロトコルバッファ例外

public static ConfigProto.Experimental parseFrom (InputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry)

投げる
IO例外

public static ConfigProto.Experimental parseFrom (com.google.protobuf.ByteString データ、com.google.protobuf.ExtensionRegistryLite extensionRegistry)

投げる
無効なプロトコルバッファ例外

パブリック静的パーサー()

public ConfigProto.Experimental.Builder toBuilder ()

public void writeTo (com.google.protobuf.CodedOutputStream 出力)

投げる
IO例外