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