[][src]Struct tensorflow_proto::tensorflow::OpInfo

pub struct OpInfo {
    pub op: String,
    pub attr: HashMap<String, AttrValue>,
    pub inputs: Vec<TensorProperties>,
    pub outputs: Vec<TensorProperties>,
    pub device: Option<DeviceProperties>,
    pub session_info: Option<SessionInfo>,
}

Description of an operation as well as the parameters expected to impact its performance.

Fields

op: String

The operation name. There may be custom parameters in attrs.

attr: HashMap<String, AttrValue>

Custom parameters impacting the behavior of the op.

inputs: Vec<TensorProperties>outputs: Vec<TensorProperties>

Optional description of the op outputs

device: Option<DeviceProperties>

Device on which the operation is run.

session_info: Option<SessionInfo>

Information about the session configs.

Trait Implementations

impl Clone for OpInfo[src]

impl Debug for OpInfo[src]

impl Default for OpInfo[src]

impl Message for OpInfo[src]

impl PartialEq<OpInfo> for OpInfo[src]

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