Struct tensorflow::ops::Square
source · [−]pub struct Square { /* private fields */ }
Expand description
Builder for the Square
operation.
Implementations
sourceimpl Square
impl Square
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,
x: O0,
scope: &mut Scope
) -> Result<Operation>
pub fn build<O0: Into<Output>>(
&self,
x: O0,
scope: &mut Scope
) -> Result<Operation>
Builds the Square
operation.
sourcepub fn build_instance(&self, x: Output, scope: &mut Scope) -> Result<SquareInst>
pub fn build_instance(&self, x: Output, scope: &mut Scope) -> Result<SquareInst>
Builds a new instance of ‘Square’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Square
impl Send for Square
impl Sync for Square
impl Unpin for Square
impl UnwindSafe for Square
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more