Package org.platanios.tensorflow.proto
Interface RunStepRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RunStepRequest
,RunStepRequest.Builder
public interface RunStepRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NamedTensorProto
getFeed(int index)
Tensors to be fed in the step.int
getFeedCount()
Tensors to be fed in the step.java.util.List<NamedTensorProto>
getFeedList()
Tensors to be fed in the step.NamedTensorProtoOrBuilder
getFeedOrBuilder(int index)
Tensors to be fed in the step.java.util.List<? extends NamedTensorProtoOrBuilder>
getFeedOrBuilderList()
Tensors to be fed in the step.java.lang.String
getFetch(int index)
Fetches.com.google.protobuf.ByteString
getFetchBytes(int index)
Fetches.int
getFetchCount()
Fetches.java.util.List<java.lang.String>
getFetchList()
Fetches.RunOptions
getOptions()
Options for the run call.RunOptionsOrBuilder
getOptionsOrBuilder()
Options for the run call.java.lang.String
getPartialRunHandle()
Partial run handle (optional).com.google.protobuf.ByteString
getPartialRunHandleBytes()
Partial run handle (optional).long
getRequestId()
Unique identifier for this request.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
getStoreErrorsInResponseBody()
If true then some errors, e.g., execution errors that have long error messages, may return an OK RunStepResponse with the actual error saved in the status_code/status_error_message fields of the response body.java.lang.String
getTarget(int index)
Target Nodes.com.google.protobuf.ByteString
getTargetBytes(int index)
Target Nodes.int
getTargetCount()
Target Nodes.java.util.List<java.lang.String>
getTargetList()
Target Nodes.boolean
hasOptions()
Options for the run call.-
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.
-
getFeedList
java.util.List<NamedTensorProto> getFeedList()
Tensors to be fed in the step. Each feed is a named tensor.
repeated .org.platanios.tensorflow.proto.NamedTensorProto feed = 2;
-
getFeed
NamedTensorProto getFeed(int index)
Tensors to be fed in the step. Each feed is a named tensor.
repeated .org.platanios.tensorflow.proto.NamedTensorProto feed = 2;
-
getFeedCount
int getFeedCount()
Tensors to be fed in the step. Each feed is a named tensor.
repeated .org.platanios.tensorflow.proto.NamedTensorProto feed = 2;
-
getFeedOrBuilderList
java.util.List<? extends NamedTensorProtoOrBuilder> getFeedOrBuilderList()
Tensors to be fed in the step. Each feed is a named tensor.
repeated .org.platanios.tensorflow.proto.NamedTensorProto feed = 2;
-
getFeedOrBuilder
NamedTensorProtoOrBuilder getFeedOrBuilder(int index)
Tensors to be fed in the step. Each feed is a named tensor.
repeated .org.platanios.tensorflow.proto.NamedTensorProto feed = 2;
-
getFetchList
java.util.List<java.lang.String> getFetchList()
Fetches. A list of tensor names. The caller expects a tensor to be returned for each fetch[i] (see RunStepResponse.tensor). The order of specified fetches does not change the execution order.
repeated string fetch = 3;
- Returns:
- A list containing the fetch.
-
getFetchCount
int getFetchCount()
Fetches. A list of tensor names. The caller expects a tensor to be returned for each fetch[i] (see RunStepResponse.tensor). The order of specified fetches does not change the execution order.
repeated string fetch = 3;
- Returns:
- The count of fetch.
-
getFetch
java.lang.String getFetch(int index)
Fetches. A list of tensor names. The caller expects a tensor to be returned for each fetch[i] (see RunStepResponse.tensor). The order of specified fetches does not change the execution order.
repeated string fetch = 3;
- Parameters:
index
- The index of the element to return.- Returns:
- The fetch at the given index.
-
getFetchBytes
com.google.protobuf.ByteString getFetchBytes(int index)
Fetches. A list of tensor names. The caller expects a tensor to be returned for each fetch[i] (see RunStepResponse.tensor). The order of specified fetches does not change the execution order.
repeated string fetch = 3;
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the fetch at the given index.
-
getTargetList
java.util.List<java.lang.String> getTargetList()
Target Nodes. A list of node names. The named nodes will be run to but their outputs will not be fetched.
repeated string target = 4;
- Returns:
- A list containing the target.
-
getTargetCount
int getTargetCount()
Target Nodes. A list of node names. The named nodes will be run to but their outputs will not be fetched.
repeated string target = 4;
- Returns:
- The count of target.
-
getTarget
java.lang.String getTarget(int index)
Target Nodes. A list of node names. The named nodes will be run to but their outputs will not be fetched.
repeated string target = 4;
- Parameters:
index
- The index of the element to return.- Returns:
- The target at the given index.
-
getTargetBytes
com.google.protobuf.ByteString getTargetBytes(int index)
Target Nodes. A list of node names. The named nodes will be run to but their outputs will not be fetched.
repeated string target = 4;
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the target at the given index.
-
hasOptions
boolean hasOptions()
Options for the run call.
.org.platanios.tensorflow.proto.RunOptions options = 5;
- Returns:
- Whether the options field is set.
-
getOptions
RunOptions getOptions()
Options for the run call.
.org.platanios.tensorflow.proto.RunOptions options = 5;
- Returns:
- The options.
-
getOptionsOrBuilder
RunOptionsOrBuilder getOptionsOrBuilder()
Options for the run call.
.org.platanios.tensorflow.proto.RunOptions options = 5;
-
getPartialRunHandle
java.lang.String getPartialRunHandle()
Partial run handle (optional). If specified, this will be a partial run execution, run up to the specified fetches.
string partial_run_handle = 6;
- Returns:
- The partialRunHandle.
-
getPartialRunHandleBytes
com.google.protobuf.ByteString getPartialRunHandleBytes()
Partial run handle (optional). If specified, this will be a partial run execution, run up to the specified fetches.
string partial_run_handle = 6;
- Returns:
- The bytes for partialRunHandle.
-
getStoreErrorsInResponseBody
boolean getStoreErrorsInResponseBody()
If true then some errors, e.g., execution errors that have long error messages, may return an OK RunStepResponse with the actual error saved in the status_code/status_error_message fields of the response body. This is a workaround since the RPC subsystem may truncate long metadata messages.
bool store_errors_in_response_body = 7;
- Returns:
- The storeErrorsInResponseBody.
-
getRequestId
long getRequestId()
Unique identifier for this request. Every RunStepRequest must have a unique request_id, and retried RunStepRequest must have the same request_id. If request_id is zero, retry detection is disabled.
int64 request_id = 8;
- Returns:
- The requestId.
-
-