Struct tensorflow::ops::SquareInst
source · pub struct SquareInst {
pub op: Operation,
}
Expand description
An instance of ‘Square’ Operation with it’s Outputs and Inputs exposed as methods.
Fields§
§op: Operation
An instance of a fully built Square Operation in a Tensorflow graph.
Implementations§
Trait Implementations§
source§impl Clone for SquareInst
impl Clone for SquareInst
source§fn clone(&self) -> SquareInst
fn clone(&self) -> SquareInst
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SquareInst
impl Debug for SquareInst
source§impl From<SquareInst> for Operation
impl From<SquareInst> for Operation
source§fn from(inst: SquareInst) -> Operation
fn from(inst: SquareInst) -> Operation
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for SquareInst
impl Send for SquareInst
impl Sync for SquareInst
impl Unpin for SquareInst
impl UnwindSafe for SquareInst
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