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