Struct tensorflow::ops::RefSwitchInst
source · [−]pub struct RefSwitchInst {
pub op: Operation,
}
Expand description
An instance of ‘RefSwitch’ Operation with it’s Outputs and Inputs exposed as methods.
Fields
op: Operation
An instance of a fully built RefSwitch Operation in a Tensorflow graph.
Implementations
sourceimpl RefSwitchInst
impl RefSwitchInst
sourcepub fn output_false(&self) -> Output
pub fn output_false(&self) -> Output
Returns the ‘output_false’ Output of this ‘RefSwitch’ operation.
sourcepub fn output_true(&self) -> Output
pub fn output_true(&self) -> Output
Returns the ‘output_true’ Output of this ‘RefSwitch’ operation.
Trait Implementations
sourceimpl Clone for RefSwitchInst
impl Clone for RefSwitchInst
sourcefn clone(&self) -> RefSwitchInst
fn clone(&self) -> RefSwitchInst
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for RefSwitchInst
impl Debug for RefSwitchInst
sourceimpl From<RefSwitchInst> for Operation
impl From<RefSwitchInst> for Operation
sourcefn from(inst: RefSwitchInst) -> Operation
fn from(inst: RefSwitchInst) -> Operation
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for RefSwitchInst
impl Send for RefSwitchInst
impl Sync for RefSwitchInst
impl Unpin for RefSwitchInst
impl UnwindSafe for RefSwitchInst
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more