ServerDef

מחלקה אחרונה ציבורית ServerDef

 Defines the configuration of a single TensorFlow server.
 
tensorflow.ServerDef מסוג Protobuf.ServerDef

כיתות מקוננות

מַחלָקָה ServerDef.Builder
 Defines the configuration of a single TensorFlow server. 

קבועים

int CLUSTER_DEVICE_FILTERS_FIELD_NUMBER
int CLUSTER_FIELD_NUMBER
int DEFAULT_SESSION_CONFIG_FIELD_NUMBER
int JOB_NAME_FIELD_NUMBER
int PORT_FIELD_NUMBER
int PROTOCOL_FIELD_NUMBER
int 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.
final 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.
int
getPort ()
 The server port.
חוּט
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.
final 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.
int
בוליאנית סופית
סטטי ServerDef.Builder
newBuilder (אב-טיפוס של ServerDef )
סטטי ServerDef.Builder
ServerDef.Builder
סטטי ServerDef
parseDelimitedFrom (קלט InputStream)
סטטי 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 (נתוני byte[], 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)

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;

ציבורי סטטי ServerDef getDefaultInstance ()

public ServerDef getDefaultInstanceForType ()

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 ()

מחרוזת ציבורית 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;

מחרוזת ציבורית 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 ()

יש אשכול בוליאני ציבורי ()

 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;

public boolean hasDefaultSessionConfig ()

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

public int hashCode ()

בוליאני הסופי הציבורי הוא אתחול ()

ציבורי סטטי ServerDef.Builder newBuilder (אב טיפוס ServerDef )

ציבורי סטטי ServerDef.Builder newBuilder ()

public ServerDef.Builder newBuilderForType ()

public static ServerDef parseDelimitedFrom (קלט InputStream)

זורק
IOException

public static ServerDef parseDelimitedFrom (קלט InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

זורק
IOException

Public static ServerDef parseFrom (נתוני ByteBuffer)

זורק
InvalidProtocolBufferException

Public static ServerDef parseFrom (קלט com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

זורק
IOException

Public static ServerDef parseFrom (נתוני ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

זורק
InvalidProtocolBufferException

Public static ServerDef parseFrom (קלט com.google.protobuf.CodedInputStream)

זורק
IOException

Public static ServerDef parseFrom (נתוני byte[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)

זורק
InvalidProtocolBufferException

Public static ServerDef parseFrom (נתוני com.google.protobuf.ByteString)

זורק
InvalidProtocolBufferException

public static ServerDef parseFrom (קלט InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

זורק
IOException

Public static ServerDef parseFrom (נתוני com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

זורק
InvalidProtocolBufferException

סטטי ציבורי מנתח ()

public ServerDef.Builder toBuilder ()

public void writeTo (פלט com.google.protobuf.CodedOutputStream)

זורק
IOException