Struct tensorflow::ops::SelectV2
source · pub struct SelectV2 { /* private fields */ }
Expand description
Builder for the SelectV2
operation.
Implementations§
source§impl SelectV2
impl SelectV2
sourcepub fn add_control_input(self, op: Operation) -> Self
pub fn add_control_input(self, op: Operation) -> Self
Adds a control input.
sourcepub fn build<O0: Into<Output>, O1: Into<Output>, O2: Into<Output>>(
&self,
condition: O0,
t: O1,
e: O2,
scope: &mut Scope
) -> Result<Operation>
pub fn build<O0: Into<Output>, O1: Into<Output>, O2: Into<Output>>( &self, condition: O0, t: O1, e: O2, scope: &mut Scope ) -> Result<Operation>
Builds the SelectV2
operation.
sourcepub fn build_instance(
&self,
condition: Output,
t: Output,
e: Output,
scope: &mut Scope
) -> Result<SelectV2Inst>
pub fn build_instance( &self, condition: Output, t: Output, e: Output, scope: &mut Scope ) -> Result<SelectV2Inst>
Builds a new instance of ‘SelectV2’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for SelectV2
impl Send for SelectV2
impl Sync for SelectV2
impl Unpin for SelectV2
impl UnwindSafe for SelectV2
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