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