Package tensorflow.eager
Interface EagerServiceOuterClass.CreateContextRequestOrBuilder
-
- All Superinterfaces:
org.nd4j.shade.protobuf.MessageLiteOrBuilder
,org.nd4j.shade.protobuf.MessageOrBuilder
- All Known Implementing Classes:
EagerServiceOuterClass.CreateContextRequest
,EagerServiceOuterClass.CreateContextRequest.Builder
- Enclosing class:
- EagerServiceOuterClass
public static interface EagerServiceOuterClass.CreateContextRequestOrBuilder extends org.nd4j.shade.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
getAsync()
Whether the ops on the worker should be executed synchronously or asynchronously.long
getKeepAliveSecs()
Number of seconds to keep the context alive.ServerDef
getServerDef()
Identifies the full cluster, and this particular worker's position within.ServerDefOrBuilder
getServerDefOrBuilder()
Identifies the full cluster, and this particular worker's position within.VersionDef
getVersionDef()
This is the version for all the ops that will be enqueued by the client.VersionDefOrBuilder
getVersionDefOrBuilder()
This is the version for all the ops that will be enqueued by the client.boolean
hasServerDef()
Identifies the full cluster, and this particular worker's position within.boolean
hasVersionDef()
This is the version for all the ops that will be enqueued by the client.-
Methods inherited from interface org.nd4j.shade.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasServerDef
boolean hasServerDef()
Identifies the full cluster, and this particular worker's position within.
.tensorflow.ServerDef server_def = 1;
- Returns:
- Whether the serverDef field is set.
-
getServerDef
ServerDef getServerDef()
Identifies the full cluster, and this particular worker's position within.
.tensorflow.ServerDef server_def = 1;
- Returns:
- The serverDef.
-
getServerDefOrBuilder
ServerDefOrBuilder getServerDefOrBuilder()
Identifies the full cluster, and this particular worker's position within.
.tensorflow.ServerDef server_def = 1;
-
getAsync
boolean getAsync()
Whether the ops on the worker should be executed synchronously or asynchronously. By default, ops are executed synchronously.
bool async = 2;
- Returns:
- The async.
-
getKeepAliveSecs
long getKeepAliveSecs()
Number of seconds to keep the context alive. If more than keep_alive_secs has passed since a particular context has been communicated with, it will be garbage collected.
int64 keep_alive_secs = 3;
- Returns:
- The keepAliveSecs.
-
hasVersionDef
boolean hasVersionDef()
This is the version for all the ops that will be enqueued by the client.
.tensorflow.VersionDef version_def = 4;
- Returns:
- Whether the versionDef field is set.
-
getVersionDef
VersionDef getVersionDef()
This is the version for all the ops that will be enqueued by the client.
.tensorflow.VersionDef version_def = 4;
- Returns:
- The versionDef.
-
getVersionDefOrBuilder
VersionDefOrBuilder getVersionDefOrBuilder()
This is the version for all the ops that will be enqueued by the client.
.tensorflow.VersionDef version_def = 4;
-
-