pub struct RunStepRequest {
pub session_handle: String,
pub feed: Vec<NamedTensorProto>,
pub fetch: Vec<String>,
pub target: Vec<String>,
pub options: Option<RunOptions>,
pub partial_run_handle: String,
pub store_errors_in_response_body: bool,
pub request_id: i64,
}
Fields§
§session_handle: String
REQUIRED: session_handle must be returned by a CreateSession call to the same master service.
feed: Vec<NamedTensorProto>
Tensors to be fed in the step. Each feed is a named tensor.
fetch: Vec<String>
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.
target: Vec<String>
Target Nodes. A list of node names. The named nodes will be run to but their outputs will not be fetched.
options: Option<RunOptions>
Options for the run call.
partial_run_handle: String
Partial run handle (optional). If specified, this will be a partial run execution, run up to the specified fetches.
store_errors_in_response_body: bool
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.
request_id: i64
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.
Trait Implementations§
Source§impl Clone for RunStepRequest
impl Clone for RunStepRequest
Source§fn clone(&self) -> RunStepRequest
fn clone(&self) -> RunStepRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for RunStepRequest
impl Debug for RunStepRequest
Source§impl Default for RunStepRequest
impl Default for RunStepRequest
Source§impl Message for RunStepRequest
impl Message for RunStepRequest
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
Source§fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
Source§fn decode<B>(buf: B) -> Result<Self, DecodeError>
fn decode<B>(buf: B) -> Result<Self, DecodeError>
Source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
Source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
self
. Read moreSource§fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
self
.