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