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§
source§impl 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§
source§impl Clone for RefSwitchInst
impl Clone for RefSwitchInst
source§fn clone(&self) -> RefSwitchInst
fn clone(&self) -> RefSwitchInst
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for RefSwitchInst
impl Debug for RefSwitchInst
source§impl From<RefSwitchInst> for Operation
impl From<RefSwitchInst> for Operation
source§fn 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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more