ServerDef

کلاس نهایی عمومی ServerDef

 Defines the configuration of a single TensorFlow server.
 
نوع Protobuf 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

روش های عمومی

بولی
برابر است (object obj)
ClusterDef
getCluster ()
 The cluster of which this server is a member.
ClusterDeviceFilters
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
ServerDef
ConfigProto
getDefaultSessionConfig ()
 The default configuration for sessions that run on this server.
ConfigProtoOrBuilder
getDefaultSessionConfigOrBuilder ()
 The default configuration for sessions that run on this server.
نهایی static com.google.protobuf.Descriptors.Descriptor
رشته
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.
بین المللی
getPort ()
 The server port.
رشته
دریافت پروتکل ()
 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 نهایی
بولی
دارای خوشه ()
 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.
بین المللی
بولی نهایی
Static ServerDef.Builder
newBuilder (نمونه اولیه ServerDef )
Static ServerDef.Builder
ServerDef.Builder
استاتیک ServerDef
parseDelimitedFrom (ورودی جریان ورودی)
استاتیک ServerDef
parseDelimitedFrom (ورودی InputStream، 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
خالی
writeTo (خروجی com.google.protobuf.CodedOutputStream)

روش های ارثی

ثابت ها

نهایی استاتیک عمومی CLUSTER_DEVICE_FILTERS_FIELD_NUMBER

ارزش ثابت: 7

نهایی استاتیک عمومی CLUSTER_FIELD_NUMBER

ارزش ثابت: 1

نهایی استاتیک عمومی DEFAULT_SESSION_CONFIG_FIELD_NUMBER

ارزش ثابت: 4

نهایی استاتیک عمومی JOB_NAME_FIELD_NUMBER

مقدار ثابت: 2

نهایی استاتیک عمومی PORT_FIELD_NUMBER

مقدار ثابت: 6

PROTOCOL_FIELD_NUMBER نهایی استاتیک عمومی

ارزش ثابت: 5

نهایی استاتیک عمومی 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;

عمومی استاتیک ServerDef getDefaultInstance ()

عمومی ServerDef getDefaultInstanceForType ()

عمومی 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;

public static final 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 ()

string protocol = 5;

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

عمومی com.google.protobuf.ByteString getProtocolBytes ()

string protocol = 5;

 The protocol to be used by this server.
 Acceptable values include: "grpc", "grpc+verbs".
 
= 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;

هش کد عمومی ()

بولین نهایی عمومی isInitialized ()

عمومی استاتیک ServerDef.Builder newBuilder (نمونه اولیه ServerDef )

عمومی استاتیک ServerDef.Builder newBuilder ()

عمومی ServerDef.Builder newBuilderForType ()

عمومی استاتیک ServerDef parseDelimitedFrom (ورودی جریان ورودی)

پرتاب می کند
IOException

عمومی استاتیک ServerDef parseDelimitedFrom (ورودی InputStream، com.google.protobuf.ExtensionRegistryLite extensionRegistry)

پرتاب می کند
IOException

عمومی استاتیک ServerDef parseFrom (داده ByteBuffer)

پرتاب می کند
InvalidProtocolBufferException

عمومی استاتیک ServerDef parseFrom (ورودی com.google.protobuf.CodedInputStream، com.google.protobuf.ExtensionRegistryLite extensionRegistry)

پرتاب می کند
IOException

عمومی استاتیک ServerDef parseFrom (داده های ByteBuffer، com.google.protobuf.ExtensionRegistryLite extensionRegistry)

پرتاب می کند
InvalidProtocolBufferException

عمومی استاتیک ServerDef parseFrom (ورودی com.google.protobuf.CodedInputStream)

پرتاب می کند
IOException

عمومی استاتیک ServerDef parseFrom (بایت[] داده، com.google.protobuf.ExtensionRegistryLite extensionRegistry)

پرتاب می کند
InvalidProtocolBufferException

عمومی استاتیک ServerDef parseFrom (داده های com.google.protobuf.ByteString)

پرتاب می کند
InvalidProtocolBufferException

عمومی استاتیک ServerDef parseFrom (ورودی InputStream، com.google.protobuf.ExtensionRegistryLite extensionRegistry)

پرتاب می کند
IOException

عمومی استاتیک ServerDef parseFrom (داده های com.google.protobuf.ByteString، com.google.protobuf.ExtensionRegistryLite extensionRegistry)

پرتاب می کند
InvalidProtocolBufferException

استاتیک عمومی تجزیه کننده ()

عمومی ServerDef.Builder toBuilder ()

public void writeTo (خروجی com.google.protobuf.CodedOutputStream)

پرتاب می کند
IOException