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