ServerDef คลาสสุดท้ายสาธารณะ
Defines the configuration of a single TensorFlow server.
tensorflow.ServerDef คลาสที่ซ้อนกัน
| ระดับ | ServerDef.Builder | 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 |
วิธีการสาธารณะ
| บูลีน | เท่ากับ (วัตถุ obj) |
| คลัสเตอร์ดีฟ | รับคลัสเตอร์ () 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. |
| ServerDef แบบคงที่ | |
| เซิร์ฟเวอร์Def | |
| ConfigProto | 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 แบบคงที่ขั้นสุดท้าย | รับคำอธิบาย () |
| สตริง | รับชื่องาน () 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. |
| ภายใน | รับพอร์ต () The server port. |
| สตริง | รับโปรโตคอล () The protocol to be used by this server. |
| com.google.protobuf.ByteString | รับโปรโตคอลไบต์ () The protocol to be used by this server. |
| ภายใน | |
| ภายใน | getTaskIndex () The task index of this server in its job. |
| สุดท้าย com.google.protobuf.UnknownFieldSet | |
| บูลีน | มีคลัสเตอร์ () 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 แบบคงที่ | ตัวสร้างใหม่ () |
| ServerDef.Builder | |
| ServerDef แบบคงที่ | parseDelimitedFrom (อินพุต InputStream) |
| ServerDef แบบคงที่ | parseDelimitedFrom (อินพุตสตรีม com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| ServerDef แบบคงที่ | parseFrom (ข้อมูล ByteBuffer) |
| ServerDef แบบคงที่ | parseFrom (com.google.protobuf.CodedInputStream อินพุต com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| ServerDef แบบคงที่ | parseFrom (ข้อมูล ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| ServerDef แบบคงที่ | parseFrom (com.google.protobuf.CodedInputStream อินพุต) |
| ServerDef แบบคงที่ | parseFrom (ข้อมูลไบต์ [], com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| ServerDef แบบคงที่ | parseFrom (ข้อมูล com.google.protobuf.ByteString) |
| ServerDef แบบคงที่ | parseFrom (อินพุต InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| ServerDef แบบคงที่ | parseFrom (ข้อมูล com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| คงที่ | |
| ServerDef.Builder | toBuilder () |
| เป็นโมฆะ | writeTo (เอาต์พุต com.google.protobuf.CodedOutputStream) |
วิธีการสืบทอด
ค่าคงที่
int สุดท้ายแบบคงที่สาธารณะ CLUSTER_DEVICE_FILTERS_FIELD_NUMBER
ค่าคงที่: 7
สาธารณะคงสุดท้าย int CLUSTER_FIELD_NUMBER
ค่าคงที่: 1
รอบชิงชนะเลิศแบบคงที่สาธารณะ DEFAULT_SESSION_CONFIG_FIELD_NUMBER
ค่าคงที่: 4
สาธารณะคงสุดท้าย int JOB_NAME_FIELD_NUMBER
ค่าคงที่: 2
ปลายทางคงที่สาธารณะ int PORT_FIELD_NUMBER
ค่าคงที่: 6
สาธารณะคงสุดท้าย int PROTOCOL_FIELD_NUMBER
ค่าคงที่: 5
สาธารณะคงสุดท้าย int TASK_INDEX_FIELD_NUMBER
ค่าคงที่: 3
วิธีการสาธารณะ
บูลีนสาธารณะ เท่ากับ (Object obj)
ClusterDef สาธารณะ getCluster ()
The cluster of which this server is a member.
.tensorflow.ClusterDef cluster = 1; 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; 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; ClusterDefOrBuilder สาธารณะ getClusterOrBuilder ()
The cluster of which this server is a member.
.tensorflow.ClusterDef cluster = 1; ConfigProto สาธารณะ getDefaultSessionConfig ()
The default configuration for sessions that run on this server.
.tensorflow.ConfigProto default_session_config = 4; ConfigProtoOrBuilder สาธารณะ getDefaultSessionConfigOrBuilder ()
The default configuration for sessions that run on this server.
.tensorflow.ConfigProto default_session_config = 4; สาธารณะคงที่สุดท้าย com.google.protobuf.Descriptors.Descriptor getDescriptor ()
สตริงสาธารณะ 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 ()
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 ()
สาธารณะ int getPort ()
The server port. If not set, then we identify the port from the job_name.
int32 port = 6; สตริงสาธารณะ getProtocol ()
The protocol to be used by this server. Acceptable values include: "grpc", "grpc+verbs".
string protocol = 5; สาธารณะ com.google.protobuf.ByteString getProtocolBytes ()
The protocol to be used by this server. Acceptable values include: "grpc", "grpc+verbs".
string protocol = 5; สาธารณะ int getSerializedSize ()
สาธารณะ 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; สาธารณะสุดท้าย com.google.protobuf.UnknownFieldSet getUnknownFields ()
hasCluster บูลีนสาธารณะ ()
The cluster of which this server is a member.
.tensorflow.ClusterDef cluster = 1; บูลีนสาธารณะ 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; บูลีนสาธารณะ hasDefaultSessionConfig ()
The default configuration for sessions that run on this server.
.tensorflow.ConfigProto default_session_config = 4; สาธารณะ int hashCode ()
บูลีนสุดท้ายสาธารณะ isInitialized ()
ServerDef แบบคงที่สาธารณะ parseDelimitedFrom (อินพุต InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ขว้าง
| IOข้อยกเว้น |
|---|
ServerDef parseFrom แบบคงที่สาธารณะ (อินพุต com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ขว้าง
| IOข้อยกเว้น |
|---|
ServerDef parseFrom แบบคงที่สาธารณะ (ข้อมูล ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ขว้าง
| ProtocolBufferException ไม่ถูกต้อง |
|---|
ServerDef parseFrom แบบคงที่สาธารณะ (ข้อมูลไบต์ [], com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ขว้าง
| ProtocolBufferException ไม่ถูกต้อง |
|---|
ServerDef parseFrom แบบคงที่สาธารณะ (ข้อมูล com.google.protobuf.ByteString)
ขว้าง
| ProtocolBufferException ไม่ถูกต้อง |
|---|
ServerDef parseFrom แบบคงที่สาธารณะ (อินพุต InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ขว้าง
| IOข้อยกเว้น |
|---|
ServerDef parseFrom แบบคงที่สาธารณะ (ข้อมูล com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ขว้าง
| ProtocolBufferException ไม่ถูกต้อง |
|---|
สาธารณะคงที่ ตัวแยกวิเคราะห์ ()
โมฆะสาธารณะ writeTo (com.google.protobuf.CodedOutputStream เอาต์พุต)
ขว้าง
| IOข้อยกเว้น |
|---|