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