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