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