[][src]Struct tensorflow_proto::tensorflow::CondContextDef

pub struct CondContextDef {
    pub context_name: String,
    pub pred_name: String,
    pub pivot_name: String,
    pub branch: i32,
    pub values_def: Option<ValuesDef>,
    pub nested_contexts: Vec<ControlFlowContextDef>,
}

Protocol buffer representing a CondContext object.

Fields

context_name: String

Name of the context.

pred_name: String

Name of the pred tensor.

pivot_name: String

Name of the pivot tensor.

branch: i32

Branch prediction. 0 or 1.

values_def: Option<ValuesDef>

Values and external values in control flow context.

nested_contexts: Vec<ControlFlowContextDef>

Contexts contained inside this context (e.g. nested conds).

Trait Implementations

impl Clone for CondContextDef[src]

impl Debug for CondContextDef[src]

impl Default for CondContextDef[src]

impl Message for CondContextDef[src]

impl PartialEq<CondContextDef> for CondContextDef[src]

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