Struct tensorflow::ops::RiscConditionInst
source · pub struct RiscConditionInst {
pub op: Operation,
}
Expand description
An instance of ‘RiscCondition’ Operation with it’s Outputs and Inputs exposed as methods.
Fields§
§op: Operation
An instance of a fully built RiscCondition Operation in a Tensorflow graph.
Implementations§
source§impl RiscConditionInst
impl RiscConditionInst
sourcepub fn input_true(&self) -> Input<'_>
pub fn input_true(&self) -> Input<'_>
Returns the ‘input_true’ Input of this ‘RiscCondition’ operation.
sourcepub fn input_false(&self) -> Input<'_>
pub fn input_false(&self) -> Input<'_>
Returns the ‘input_false’ Input of this ‘RiscCondition’ operation.
Trait Implementations§
source§impl Clone for RiscConditionInst
impl Clone for RiscConditionInst
source§fn clone(&self) -> RiscConditionInst
fn clone(&self) -> RiscConditionInst
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 RiscConditionInst
impl Debug for RiscConditionInst
source§impl From<RiscConditionInst> for Operation
impl From<RiscConditionInst> for Operation
source§fn from(inst: RiscConditionInst) -> Operation
fn from(inst: RiscConditionInst) -> Operation
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for RiscConditionInst
impl Send for RiscConditionInst
impl Sync for RiscConditionInst
impl Unpin for RiscConditionInst
impl UnwindSafe for RiscConditionInst
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