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