[][src]Struct tensorflow_proto::tensorflow::RunStepRequest

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

impl Clone for RunStepRequest[src]

impl Debug for RunStepRequest[src]

impl Default for RunStepRequest[src]

impl Message for RunStepRequest[src]

impl PartialEq<RunStepRequest> for RunStepRequest[src]

impl StructuralPartialEq for RunStepRequest[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.