org.tensorflow.distruntime.RunStepRequestOrBuilder Maven / Gradle / Ivy
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: tensorflow/core/protobuf/master.proto
package org.tensorflow.distruntime;
public interface RunStepRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:tensorflow.RunStepRequest)
org.nd4j.shade.protobuf.MessageOrBuilder {
/**
*
* REQUIRED: session_handle must be returned by a CreateSession call
* to the same master service.
*
*
* string session_handle = 1;
* @return The sessionHandle.
*/
java.lang.String getSessionHandle();
/**
*
* REQUIRED: session_handle must be returned by a CreateSession call
* to the same master service.
*
*
* string session_handle = 1;
* @return The bytes for sessionHandle.
*/
org.nd4j.shade.protobuf.ByteString
getSessionHandleBytes();
/**
*
* Tensors to be fed in the step. Each feed is a named tensor.
*
*
* repeated .tensorflow.NamedTensorProto feed = 2;
*/
java.util.List
getFeedList();
/**
*
* Tensors to be fed in the step. Each feed is a named tensor.
*
*
* repeated .tensorflow.NamedTensorProto feed = 2;
*/
org.tensorflow.framework.NamedTensorProto getFeed(int index);
/**
*
* Tensors to be fed in the step. Each feed is a named tensor.
*
*
* repeated .tensorflow.NamedTensorProto feed = 2;
*/
int getFeedCount();
/**
*
* Tensors to be fed in the step. Each feed is a named tensor.
*
*
* repeated .tensorflow.NamedTensorProto feed = 2;
*/
java.util.List
getFeedOrBuilderList();
/**
*
* Tensors to be fed in the step. Each feed is a named tensor.
*
*
* repeated .tensorflow.NamedTensorProto feed = 2;
*/
org.tensorflow.framework.NamedTensorProtoOrBuilder getFeedOrBuilder(
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;
* @return A list containing the fetch.
*/
java.util.List
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;
* @return The count of fetch.
*/
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;
* @param index The index of the element to return.
* @return The fetch at the given index.
*/
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;
* @param index The index of the value to return.
* @return The bytes of the fetch at the given index.
*/
org.nd4j.shade.protobuf.ByteString
getFetchBytes(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;
* @return A list containing the target.
*/
java.util.List
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;
* @return The count of target.
*/
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;
* @param index The index of the element to return.
* @return The target at the given index.
*/
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;
* @param index The index of the value to return.
* @return The bytes of the target at the given index.
*/
org.nd4j.shade.protobuf.ByteString
getTargetBytes(int index);
/**
*
* Options for the run call.
*
*
* .tensorflow.RunOptions options = 5;
* @return Whether the options field is set.
*/
boolean hasOptions();
/**
*
* Options for the run call.
*
*
* .tensorflow.RunOptions options = 5;
* @return The options.
*/
org.tensorflow.framework.RunOptions getOptions();
/**
*
* Options for the run call.
*
*
* .tensorflow.RunOptions options = 5;
*/
org.tensorflow.framework.RunOptionsOrBuilder getOptionsOrBuilder();
/**
*
* Partial run handle (optional). If specified, this will be a partial run
* execution, run up to the specified fetches.
*
*
* string partial_run_handle = 6;
* @return The partialRunHandle.
*/
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;
* @return The bytes for partialRunHandle.
*/
org.nd4j.shade.protobuf.ByteString
getPartialRunHandleBytes();
/**
*
* 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;
* @return The storeErrorsInResponseBody.
*/
boolean getStoreErrorsInResponseBody();
}