[][src]Struct tensorflow_proto::tensorflow::RunGraphResponse

pub struct RunGraphResponse {
    pub recv: Vec<NamedTensorProto>,
    pub step_stats: Option<StepStats>,
    pub cost_graph: Option<CostGraphDef>,
    pub partition_graph: Vec<GraphDef>,
    pub status_code: i32,
    pub status_error_message: String,
}

Fields

recv: Vec<NamedTensorProto>

A list of tensors corresponding to those requested by RunGraphRequest.recv_key.

step_stats: Option<StepStats>

If the request asked for execution stats, the cost graph, or the partition graphs, these are returned here. TODO(suharshs): Package these in a RunMetadata instead.

cost_graph: Option<CostGraphDef>partition_graph: Vec<GraphDef>status_code: i32

If store_errors_in_response_body is true in the request, then optionally the server may return an OK status for the RPC and fill the true status into the fields below, to allow for messages that are too long to fit in metadata.

status_error_message: String

Implementations

impl RunGraphResponse[src]

pub fn status_code(&self) -> Code[src]

Returns the enum value of status_code, or the default if the field is set to an invalid enum value.

pub fn set_status_code(&mut self, value: Code)[src]

Sets status_code to the provided enum value.

Trait Implementations

impl Clone for RunGraphResponse[src]

impl Debug for RunGraphResponse[src]

impl Default for RunGraphResponse[src]

impl Message for RunGraphResponse[src]

impl PartialEq<RunGraphResponse> for RunGraphResponse[src]

impl StructuralPartialEq for RunGraphResponse[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.