Package org.tensorflow.distruntime
Interface RunStepRequestOrBuilder
-
- All Superinterfaces:
org.nd4j.shade.protobuf.MessageLiteOrBuilder
,org.nd4j.shade.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RunStepRequest
,RunStepRequest.Builder
public interface RunStepRequestOrBuilder extends org.nd4j.shade.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.List<NamedTensorProto>
getFeedList()
Tensors to be fed in the step.NamedTensorProtoOrBuilder
getFeedOrBuilder(int index)
Tensors to be fed in the step.List<? extends NamedTensorProtoOrBuilder>
getFeedOrBuilderList()
Tensors to be fed in the step.String
getFetch(int index)
Fetches.org.nd4j.shade.protobuf.ByteString
getFetchBytes(int index)
Fetches.int
getFetchCount()
Fetches.List<String>
getFetchList()
Fetches.RunOptions
getOptions()
Options for the run call.RunOptionsOrBuilder
getOptionsOrBuilder()
Options for the run call.String
getPartialRunHandle()
Partial run handle (optional).org.nd4j.shade.protobuf.ByteString
getPartialRunHandleBytes()
Partial run handle (optional).String
getSessionHandle()
REQUIRED: session_handle must be returned by a CreateSession call to the same master service.org.nd4j.shade.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.String
getTarget(int index)
Target Nodes.org.nd4j.shade.protobuf.ByteString
getTargetBytes(int index)
Target Nodes.int
getTargetCount()
Target Nodes.List<String>
getTargetList()
Target Nodes.boolean
hasOptions()
Options for the run call.-
Methods inherited from interface org.nd4j.shade.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getSessionHandle
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
org.nd4j.shade.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
List<NamedTensorProto> getFeedList()
Tensors to be fed in the step. Each feed is a named tensor.
repeated .tensorflow.NamedTensorProto feed = 2;
-
getFeed
NamedTensorProto getFeed(int index)
Tensors to be fed in the step. Each feed is a named tensor.
repeated .tensorflow.NamedTensorProto feed = 2;
-
getFeedCount
int getFeedCount()
Tensors to be fed in the step. Each feed is a named tensor.
repeated .tensorflow.NamedTensorProto feed = 2;
-
getFeedOrBuilderList
List<? extends NamedTensorProtoOrBuilder> getFeedOrBuilderList()
Tensors to be fed in the step. Each feed is a named tensor.
repeated .tensorflow.NamedTensorProto feed = 2;
-
getFeedOrBuilder
NamedTensorProtoOrBuilder getFeedOrBuilder(int index)
Tensors to be fed in the step. Each feed is a named tensor.
repeated .tensorflow.NamedTensorProto feed = 2;
-
getFetchList
List<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
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
org.nd4j.shade.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
List<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
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
org.nd4j.shade.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.
.tensorflow.RunOptions options = 5;
- Returns:
- Whether the options field is set.
-
getOptions
RunOptions getOptions()
Options for the run call.
.tensorflow.RunOptions options = 5;
- Returns:
- The options.
-
getOptionsOrBuilder
RunOptionsOrBuilder getOptionsOrBuilder()
Options for the run call.
.tensorflow.RunOptions options = 5;
-
getPartialRunHandle
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
org.nd4j.shade.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.
-
-