ServerDef

lớp cuối cùng công khai ServerDef

 Defines the configuration of a single TensorFlow server.
 
Loại protobuf tensorflow.ServerDef

Các lớp lồng nhau

lớp học ServerDef.Builder
 Defines the configuration of a single TensorFlow server. 

Hằng số

int CLUSTER_DEVICE_FILTERS_FIELD_NUMBER
int CLUSTER_FIELD_NUMBER
int DEFAULT_SESSION_CONFIG_FIELD_NUMBER
int CÔNG VIỆC_NAME_FIELD_NUMBER
int PORT_FIELD_NUMBER
int PROTOCOL_FIELD_NUMBER
int TASK_INDEX_FIELD_NUMBER

Phương pháp công khai

boolean
bằng (Đối tượng obj)
ClusterDef
getCluster ()
 The cluster of which this server is a member.
Bộ lọc cụm thiết bị
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.
ServerDef tĩnh
ServerDef
Cấu hìnhProto
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 tĩnh cuối cùng
Sợi dây
getJobName ()
 The name of the job of which this server is a member.
com.google.protobuf.ByteString
getJobNameBytes ()
 The name of the job of which this server is a member.
int
getPort ()
 The server port.
Sợi dây
getProtocol ()
 The protocol to be used by this server.
com.google.protobuf.ByteString
getProtocolBytes ()
 The protocol to be used by this server.
int
int
getTaskIndex ()
 The task index of this server in its job.
com.google.protobuf.UnknownFieldSet cuối cùng
boolean
hasCluster ()
 The cluster of which this server is a member.
boolean
hasClusterDeviceFilters ()
 Device filters for remote tasks in the cluster.
boolean
hasDefaultSessionConfig ()
 The default configuration for sessions that run on this server.
int
boolean cuối cùng
ServerDef.Builder tĩnh
newBuilder ( nguyên mẫu ServerDef )
ServerDef.Builder tĩnh
ServerDef.Builder
ServerDef tĩnh
phân tích cú phápDelimitedFrom (Đầu vào luồng đầu vào)
ServerDef tĩnh
phân tích cú phápDelimitedFrom (Đầu vào luồng đầu vào, com.google.protobuf.ExtensionRegistryLite tiện ích mở rộngRegistry)
ServerDef tĩnh
ParseFrom (dữ liệu ByteBuffer)
ServerDef tĩnh
ParseFrom (đầu vào com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
ServerDef tĩnh
ParseFrom (Dữ liệu ByteBuffer, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
ServerDef tĩnh
ParseFrom (đầu vào com.google.protobuf.CodedInputStream)
ServerDef tĩnh
ParseFrom (dữ liệu byte[], com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
ServerDef tĩnh
ParseFrom (dữ liệu com.google.protobuf.ByteString)
ServerDef tĩnh
ParseFrom (Đầu vào inputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
ServerDef tĩnh
ParsFrom (dữ liệu com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
tĩnh
ServerDef.Builder
trống rỗng
writeTo (đầu ra com.google.protobuf.CodedOutputStream)

Phương pháp kế thừa

Hằng số

int tĩnh công khai CLUSTER_DEVICE_FILTERS_FIELD_NUMBER

Giá trị không đổi: 7

int tĩnh công khai CLUSTER_FIELD_NUMBER

Giá trị không đổi: 1

int tĩnh công khai DEFAULT_SESSION_CONFIG_FIELD_NUMBER

Giá trị không đổi: 4

int tĩnh công khai JOB_NAME_FIELD_NUMBER

Giá trị không đổi: 2

int cuối cùng tĩnh công khai PORT_FIELD_NUMBER

Giá trị không đổi: 6

int cuối cùng tĩnh công khai PROTOCOL_FIELD_NUMBER

Giá trị không đổi: 5

int cuối cùng tĩnh công khai TASK_INDEX_FIELD_NUMBER

Giá trị không đổi: 3

Phương pháp công khai

boolean công khai bằng (Object obj)

công khai ClusterDef getCluster ()

 The cluster of which this server is a member.
 
.tensorflow.ClusterDef cluster = 1;

công khai 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;

công khai 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;

công khai ClusterDefOrBuilder getClusterOrBuilder ()

 The cluster of which this server is a member.
 
.tensorflow.ClusterDef cluster = 1;

ServerDef tĩnh công khai getDefaultInstance ()

ServerDef công cộng getDefaultInstanceForType ()

ConfigProto getDefaultSessionConfig công khai ()

 The default configuration for sessions that run on this server.
 
.tensorflow.ConfigProto default_session_config = 4;

ConfigProtoOrBuilder công khai getDefaultSessionConfigOrBuilder ()

 The default configuration for sessions that run on this server.
 
.tensorflow.ConfigProto default_session_config = 4;

công khai tĩnh cuối cùng com.google.protobuf.Descriptors.Descriptor getDescriptor ()

Chuỗi công khai 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;

com.google.protobuf.ByteString getJobNameBytes công khai ()

 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;

công cộng getParserForType ()

int công khai getPort ()

cổng

 The server port. If not set, then we identify the port from the job_name.
 
int32 port = 6;

Chuỗi công khai getProtocol ()

giao thức chuỗi

 The protocol to be used by this server.
 Acceptable values include: "grpc", "grpc+verbs".
 
string protocol = 5;

com.google.protobuf.ByteString getProtocolBytes công khai ()

giao thức chuỗi

 The protocol to be used by this server.
 Acceptable values include: "grpc", "grpc+verbs".
 
string protocol = 5;

int công khai getSerializedSize ()

int công khai 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;

trận chung kết công khai com.google.protobuf.UnknownFieldSet getUnknownFields ()

boolean công khai hasCluster ()

 The cluster of which this server is a member.
 
.tensorflow.ClusterDef cluster = 1;

boolean công khai 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;

boolean công khai hasDefaultSessionConfig ()

 The default configuration for sessions that run on this server.
 
.tensorflow.ConfigProto default_session_config = 4;

mã băm int công khai ()

boolean cuối cùng công khai được khởi tạo ()

public static ServerDef.Builder newBuilder ( nguyên mẫu ServerDef )

tĩnh công khai ServerDef.Builder newBuilder ()

ServerDef.Builder công khai newBuilderForType ()

công khai ServerDef phân tích cú phápDelimitedFrom (Đầu vào luồng đầu vào)

Ném
IOException

công khai phân tích cú pháp ServerDef tĩnhDelimitedFrom (đầu vào InputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

Ném
IOException

phân tích cú pháp ServerDef tĩnh công khaiFrom (dữ liệu ByteBuffer)

Ném
Giao thức đệm ngoại lệ không hợp lệ

phân tích cú pháp ServerDef tĩnh công khaiFrom (đầu vào com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

Ném
IOException

phân tích cú pháp ServerDef tĩnh công khaiFrom (dữ liệu ByteBuffer, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

Ném
Giao thức đệm ngoại lệ không hợp lệ

Phân tích cú pháp ServerDef tĩnh công khaiFrom (đầu vào com.google.protobuf.CodedInputStream)

Ném
IOException

phân tích cú pháp ServerDef tĩnh công khaiFrom (dữ liệu byte[], com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

Ném
Giao thức đệm ngoại lệ không hợp lệ

Phân tích cú pháp ServerDef tĩnh công khaiFrom (dữ liệu com.google.protobuf.ByteString)

Ném
Giao thức đệm ngoại lệ không hợp lệ

phân tích cú pháp ServerDef tĩnh công khaiFrom (đầu vào InputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

Ném
IOException

phân tích cú pháp ServerDef tĩnh công khaiFrom (dữ liệu com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

Ném
Giao thức đệm ngoại lệ không hợp lệ

công cộng tĩnh trình phân tích cú pháp ()

ServerDef.Builder công khai toBuilder ()

public void writeTo (đầu ra com.google.protobuf.CodedOutputStream)

Ném
IOException