[][src]Struct tfrecord::protos::GraphTransferInfo

pub struct GraphTransferInfo {
    pub node_info: Vec<GraphTransferNodeInfo>,
    pub const_node_info: Vec<GraphTransferConstNodeInfo>,
    pub node_input_info: Vec<GraphTransferNodeInputInfo>,
    pub node_output_info: Vec<GraphTransferNodeOutputInfo>,
    pub graph_input_node_info: Vec<GraphTransferGraphInputNodeInfo>,
    pub graph_output_node_info: Vec<GraphTransferGraphOutputNodeInfo>,
    pub destination: i32,
}

Protocol buffer representing a handle to a tensorflow resource. Handles are not valid across executions, but can be serialized back and forth from within a single run.

Fields

node_info: Vec<GraphTransferNodeInfo>const_node_info: Vec<GraphTransferConstNodeInfo>node_input_info: Vec<GraphTransferNodeInputInfo>node_output_info: Vec<GraphTransferNodeOutputInfo>graph_input_node_info: Vec<GraphTransferGraphInputNodeInfo>

Input Node parameters of transferred graph

graph_output_node_info: Vec<GraphTransferGraphOutputNodeInfo>destination: i32

Destination of graph transfer

Implementations

impl GraphTransferInfo[src]

pub fn destination(&self) -> Destination[src]

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

pub fn set_destination(&mut self, value: Destination)[src]

Sets destination to the provided enum value.

Trait Implementations

impl Clone for GraphTransferInfo[src]

impl Debug for GraphTransferInfo[src]

impl Default for GraphTransferInfo[src]

impl<'de> Deserialize<'de> for GraphTransferInfo[src]

impl Message for GraphTransferInfo[src]

impl PartialEq<GraphTransferInfo> for GraphTransferInfo[src]

impl Serialize for GraphTransferInfo[src]

impl StructuralPartialEq for GraphTransferInfo[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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

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

impl<T> SetParameter for T

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.