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