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