パブリック最終クラスServerDef
Defines the configuration of a single TensorFlow server.
tensorflow.ServerDef
ネストされたクラス
クラス | サーバー定義ビルダー | Defines the configuration of a single TensorFlow server. |
定数
整数 | CLUSTER_DEVICE_FILTERS_FIELD_NUMBER | |
整数 | CLUSTER_FIELD_NUMBER | |
整数 | DEFAULT_SESSION_CONFIG_FIELD_NUMBER | |
整数 | JOB_NAME_FIELD_NUMBER | |
整数 | PORT_FIELD_NUMBER | |
整数 | PROTOCOL_FIELD_NUMBER | |
整数 | TASK_INDEX_FIELD_NUMBER |
パブリックメソッド
ブール値 | 等しい(オブジェクトオブジェクト) |
クラスター定義 | getCluster () The cluster of which this server is a member. |
クラスターデバイスフィルター | getClusterDeviceFilters () Device filters for remote tasks in the cluster. |
ClusterDeviceFiltersOrBuilder | getClusterDeviceFiltersOrBuilder () Device filters for remote tasks in the cluster. |
ClusterDefOrBuilder | getClusterOrBuilder () The cluster of which this server is a member. |
静的サーバー定義 | |
サーバー定義 | |
コンフィグプロト | getDefaultSessionConfig () The default configuration for sessions that run on this server. |
ConfigProtoOrBuilder | getDefaultSessionConfigOrBuilder () The default configuration for sessions that run on this server. |
最終的な静的 com.google.protobuf.Descriptors.Descriptor | |
弦 | getジョブ名() The name of the job of which this server is a member. |
com.google.protobuf.ByteString | getジョブ名バイト() The name of the job of which this server is a member. |
整数 | getポート() The server port. |
弦 | getプロトコル() The protocol to be used by this server. |
com.google.protobuf.ByteString | getProtocolBytes () The protocol to be used by this server. |
整数 | |
整数 | getTaskIndex () The task index of this server in its job. |
最終的な com.google.protobuf.UnknownFieldSet | |
ブール値 | hasCluster () The cluster of which this server is a member. |
ブール値 | hasClusterDeviceFilters () Device filters for remote tasks in the cluster. |
ブール値 | hasDefaultSessionConfig () The default configuration for sessions that run on this server. |
整数 | ハッシュコード() |
最終ブール値 | |
静的ServerDef.Builder | newBuilder ( ServerDefプロトタイプ) |
静的ServerDef.Builder | newBuilder () |
サーバー定義ビルダー | |
静的サーバー定義 | parseDelimitedFrom (InputStream 入力) |
静的サーバー定義 | parseDelimitedFrom (InputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
静的サーバー定義 | parseFrom (ByteBuffer データ) |
静的サーバー定義 | parseFrom (com.google.protobuf.CodedInputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
静的サーバー定義 | parseFrom (ByteBuffer データ、com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
静的サーバー定義 | parseFrom (com.google.protobuf.CodedInputStream 入力) |
静的サーバー定義 | parseFrom (byte[] データ、com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
静的サーバー定義 | parseFrom (com.google.protobuf.ByteString データ) |
静的サーバー定義 | parseFrom (InputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
静的サーバー定義 | parseFrom (com.google.protobuf.ByteString データ、com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
静的 | パーサー() |
サーバー定義ビルダー | toビルダー() |
空所 | writeTo (com.google.protobuf.CodedOutputStream 出力) |
継承されたメソッド
定数
public static Final int CLUSTER_DEVICE_FILTERS_FIELD_NUMBER
定数値: 7
パブリック静的最終整数CLUSTER_FIELD_NUMBER
定数値: 1
public static Final int DEFAULT_SESSION_CONFIG_FIELD_NUMBER
定数値: 4
public static Final int JOB_NAME_FIELD_NUMBER
定数値: 2
パブリック静的最終整数PORT_FIELD_NUMBER
定数値: 6
パブリック静的最終整数PROTOCOL_FIELD_NUMBER
定数値: 5
パブリック静的最終整数TASK_INDEX_FIELD_NUMBER
定数値: 3
パブリックメソッド
public booleanに等しい(オブジェクト obj)
public ClusterDef getCluster ()
The cluster of which this server is a member.
.tensorflow.ClusterDef cluster = 1;
public ClusterDeviceFilters getClusterDeviceFilters ()
Device filters for remote tasks in the cluster. NOTE: This is an experimental feature and only effective in TensorFlow 2.x.
.tensorflow.ClusterDeviceFilters cluster_device_filters = 7;
public ClusterDeviceFiltersOrBuilder getClusterDeviceFiltersOrBuilder ()
Device filters for remote tasks in the cluster. NOTE: This is an experimental feature and only effective in TensorFlow 2.x.
.tensorflow.ClusterDeviceFilters cluster_device_filters = 7;
public ClusterDefOrBuilder getClusterOrBuilder ()
The cluster of which this server is a member.
.tensorflow.ClusterDef cluster = 1;
public ConfigProto getDefaultSessionConfig ()
The default configuration for sessions that run on this server.
.tensorflow.ConfigProto default_session_config = 4;
public ConfigProtoOrBuilder getDefaultSessionConfigOrBuilder ()
The default configuration for sessions that run on this server.
.tensorflow.ConfigProto default_session_config = 4;
public static Final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public String getJobName ()
The name of the job of which this server is a member. NOTE(mrry): The `cluster` field must contain a `JobDef` with a `name` field that matches this name.
string job_name = 2;
public com.google.protobuf.ByteString getJobNameBytes ()
The name of the job of which this server is a member. NOTE(mrry): The `cluster` field must contain a `JobDef` with a `name` field that matches this name.
string job_name = 2;
公共 getParserForType ()
public int getPort ()
The server port. If not set, then we identify the port from the job_name.
int32 port = 6;
public String getProtocol ()
The protocol to be used by this server. Acceptable values include: "grpc", "grpc+verbs".
string protocol = 5;
public com.google.protobuf.ByteString getProtocolBytes ()
The protocol to be used by this server. Acceptable values include: "grpc", "grpc+verbs".
string protocol = 5;
public int getSerializedSize ()
public int getTaskIndex ()
The task index of this server in its job. NOTE: The `cluster` field must contain a `JobDef` with a matching `name` and a mapping in its `tasks` field for this index.
int32 task_index = 3;
public Final com.google.protobuf.UnknownFieldSet getUnknownFields ()
public boolean hasCluster ()
The cluster of which this server is a member.
.tensorflow.ClusterDef cluster = 1;
public boolean hasClusterDeviceFilters ()
Device filters for remote tasks in the cluster. NOTE: This is an experimental feature and only effective in TensorFlow 2.x.
.tensorflow.ClusterDeviceFilters cluster_device_filters = 7;
public boolean hasDefaultSessionConfig ()
The default configuration for sessions that run on this server.
.tensorflow.ConfigProto default_session_config = 4;
public int hashCode ()
パブリック最終ブール値isInitialized ()
public static ServerDef parseDelimitedFrom (InputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
投げる
IO例外 |
---|
public static ServerDef parseFrom (com.google.protobuf.CodedInputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
投げる
IO例外 |
---|
public static ServerDef parseFrom (ByteBuffer データ、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
投げる
無効なプロトコルバッファ例外 |
---|
public static ServerDef parseFrom (byte[] データ、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
投げる
無効なプロトコルバッファ例外 |
---|
public static ServerDef parseFrom (InputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
投げる
IO例外 |
---|
public static ServerDef parseFrom (com.google.protobuf.ByteString データ、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
投げる
無効なプロトコルバッファ例外 |
---|
パブリック静的 パーサー()
public void writeTo (com.google.protobuf.CodedOutputStream 出力)
投げる
IO例外 |
---|