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