Package org.platanios.tensorflow.proto
Interface ExtendSessionRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ExtendSessionRequest
,ExtendSessionRequest.Builder
public interface ExtendSessionRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
getCurrentGraphVersion()
REQUIRED: The version number of the graph to be extended.GraphDef
getGraphDef()
REQUIRED: The nodes to be added to the session's graph.GraphDefOrBuilder
getGraphDefOrBuilder()
REQUIRED: The nodes to be added to the session's graph.java.lang.String
getSessionHandle()
REQUIRED: session_handle must be returned by a CreateSession call to the same master service.com.google.protobuf.ByteString
getSessionHandleBytes()
REQUIRED: session_handle must be returned by a CreateSession call to the same master service.boolean
hasGraphDef()
REQUIRED: The nodes to be added to the session's graph.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getSessionHandle
java.lang.String getSessionHandle()
REQUIRED: session_handle must be returned by a CreateSession call to the same master service.
string session_handle = 1;
- Returns:
- The sessionHandle.
-
getSessionHandleBytes
com.google.protobuf.ByteString getSessionHandleBytes()
REQUIRED: session_handle must be returned by a CreateSession call to the same master service.
string session_handle = 1;
- Returns:
- The bytes for sessionHandle.
-
hasGraphDef
boolean hasGraphDef()
REQUIRED: The nodes to be added to the session's graph. If any node has the same name as an existing node, the operation will fail with ILLEGAL_ARGUMENT.
.org.platanios.tensorflow.proto.GraphDef graph_def = 2;
- Returns:
- Whether the graphDef field is set.
-
getGraphDef
GraphDef getGraphDef()
REQUIRED: The nodes to be added to the session's graph. If any node has the same name as an existing node, the operation will fail with ILLEGAL_ARGUMENT.
.org.platanios.tensorflow.proto.GraphDef graph_def = 2;
- Returns:
- The graphDef.
-
getGraphDefOrBuilder
GraphDefOrBuilder getGraphDefOrBuilder()
REQUIRED: The nodes to be added to the session's graph. If any node has the same name as an existing node, the operation will fail with ILLEGAL_ARGUMENT.
.org.platanios.tensorflow.proto.GraphDef graph_def = 2;
-
getCurrentGraphVersion
long getCurrentGraphVersion()
REQUIRED: The version number of the graph to be extended. This will be tested against the current server-side version number, and the operation will fail with FAILED_PRECONDITION if they do not match.
int64 current_graph_version = 3;
- Returns:
- The currentGraphVersion.
-
-