publiczna klasa końcowa ServerDef
Defines the configuration of a single TensorFlow server.
tensorflow.ServerDef Klasy zagnieżdżone
| klasa | Konstruktor ServerDef | Defines the configuration of a single TensorFlow server. | |
Stałe
Metody publiczne
| wartość logiczna | równa się (obiekt obiektu) |
| KlasterDef | pobierz klaster () The cluster of which this server is a member. |
| Filtry urządzeń klastra | 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. |
| statyczny serwer def | |
| Wartość serwera | |
| KonfiguracjaProto | getDefaultSessionConfig () The default configuration for sessions that run on this server. |
| ConfigProtoOrBuilder | getDefaultSessionConfigOrBuilder () The default configuration for sessions that run on this server. |
| końcowy statyczny com.google.protobuf.Descriptors.Descriptor | |
| Smyczkowy | pobierzNazwaZadania () 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. |
| wew | pobierzPort () The server port. |
| Smyczkowy | pobierz protokół () The protocol to be used by this server. |
| com.google.protobuf.ByteString | getProtocolBytes () The protocol to be used by this server. |
| wew | |
| wew | getTaskIndex () The task index of this server in its job. |
| końcowy com.google.protobuf.UnknownFieldSet | |
| wartość logiczna | maCluster () The cluster of which this server is a member. |
| wartość logiczna | maClusterDeviceFilters () Device filters for remote tasks in the cluster. |
| wartość logiczna | maDefaultSessionConfig () The default configuration for sessions that run on this server. |
| wew | hashCode () |
| końcowa wartość logiczna | |
| statyczny ServerDef.Builder | newBuilder (prototyp ServerDef ) |
| statyczny ServerDef.Builder | nowyBuilder () |
| Konstruktor ServerDef | |
| statyczny serwer def | parseDelimitedFrom (wejście strumienia wejściowego) |
| statyczny serwer def | parseDelimitedFrom (dane wejścioweInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
| statyczny serwer def | parseFrom (dane ByteBuffer) |
| statyczny serwer def | parseFrom (wejście com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
| statyczny serwer def | parseFrom (dane ByteBuffer, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
| statyczny serwer def | parseFrom (wejście com.google.protobuf.CodedInputStream) |
| statyczny serwer def | parseFrom (bajt [] dane, com.google.protobuf.ExtensionRegistryLite rozszerzenieRegistry) |
| statyczny serwer def | parseFrom (dane com.google.protobuf.ByteString) |
| statyczny serwer def | parseFrom (dane wejścioweInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
| statyczny serwer def | parseFrom (dane com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
| statyczny | parser () |
| Konstruktor ServerDef | |
| próżnia | writeTo (wyjście com.google.protobuf.CodedOutputStream) |
Metody dziedziczone
Stałe
publiczny statyczny końcowy int CLUSTER_DEVICE_FILTERS_FIELD_NUMBER
Wartość stała: 7
publiczny statyczny końcowy int CLUSTER_FIELD_NUMBER
Wartość stała: 1
publiczny statyczny końcowy int DEFAULT_SESSION_CONFIG_FIELD_NUMBER
Wartość stała: 4
publiczny statyczny końcowy int JOB_NAME_FIELD_NUMBER
Wartość stała: 2
publiczny statyczny końcowy int PORT_FIELD_NUMBER
Wartość stała: 6
publiczny statyczny końcowy int PROTOCOL_FIELD_NUMBER
Wartość stała: 5
publiczny statyczny końcowy int TASK_INDEX_FIELD_NUMBER
Wartość stała: 3
Metody publiczne
publiczna wartość logiczna równa się (obiekt obiektu)
publiczny 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 ()
publiczny ciąg 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; publiczny getParserForType ()
publiczny 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; publiczny int getSerializedSize ()
publiczny 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; publiczny finał com.google.protobuf.UnknownFieldSet getUnknownFields ()
publiczna wartość logiczna hasCluster ()
The cluster of which this server is a member.
.tensorflow.ClusterDef cluster = 1; publiczna wartość logiczna 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; publiczna wartość logiczna hasDefaultSessionConfig ()
The default configuration for sessions that run on this server.
.tensorflow.ConfigProto default_session_config = 4; publiczny int hashCode ()
publiczna końcowa wartość logiczna isInitialized ()
publiczny statyczny ServerDef parseDelimitedFrom (dane wejściowe wejściowe, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Rzuca
| Wyjątek IO |
|---|
publiczny statyczny ServerDef parseFrom (dane ByteBuffer)
Rzuca
| Nieprawidłowy wyjątekProtocolBufferException |
|---|
publiczny statyczny ServerDef parseFrom (wejście com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Rzuca
| Wyjątek IO |
|---|
publiczny statyczny ServerDef parseFrom (dane ByteBuffer, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Rzuca
| Nieprawidłowy wyjątekProtocolBufferException |
|---|
publiczny statyczny ServerDef parseFrom (wejście com.google.protobuf.CodedInputStream)
Rzuca
| Wyjątek IO |
|---|
publiczny statyczny ServerDef parseFrom (bajt [] dane, com.google.protobuf.ExtensionRegistryLite rozszerzenieRegistry)
Rzuca
| Nieprawidłowy wyjątekProtocolBufferException |
|---|
publiczny statyczny ServerDef parseFrom (dane com.google.protobuf.ByteString)
Rzuca
| Nieprawidłowy wyjątekProtocolBufferException |
|---|
publiczny statyczny ServerDef parseFrom (dane wejściowe wejściowe, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Rzuca
| Wyjątek IO |
|---|
publiczny statyczny ServerDef parseFrom (dane com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Rzuca
| Nieprawidłowy wyjątekProtocolBufferException |
|---|
publiczna statyka parser ()
public void writeTo (wyjście com.google.protobuf.CodedOutputStream)
Rzuca
| Wyjątek IO |
|---|