Struct tensorflow::ops::SparseSegmentMeanWithNumSegments
source · pub struct SparseSegmentMeanWithNumSegments { /* private fields */ }
Expand description
Builder for the SparseSegmentMeanWithNumSegments
operation.
Implementations§
source§impl SparseSegmentMeanWithNumSegments
impl SparseSegmentMeanWithNumSegments
sourcepub fn Tnumsegments<ArgType: Into<DataType>>(self, value: ArgType) -> Self
pub fn Tnumsegments<ArgType: Into<DataType>>(self, value: ArgType) -> Self
Sets the Tnumsegments
attribute.
sourcepub fn Tsegmentids<ArgType: Into<DataType>>(self, value: ArgType) -> Self
pub fn Tsegmentids<ArgType: Into<DataType>>(self, value: ArgType) -> Self
Sets the Tsegmentids
attribute.
sourcepub fn add_control_input(self, op: Operation) -> Self
pub fn add_control_input(self, op: Operation) -> Self
Adds a control input.
sourcepub fn build<O0: Into<Output>, O1: Into<Output>, O2: Into<Output>, O3: Into<Output>>(
&self,
data: O0,
indices: O1,
segment_ids: O2,
num_segments: O3,
scope: &mut Scope
) -> Result<Operation>
pub fn build<O0: Into<Output>, O1: Into<Output>, O2: Into<Output>, O3: Into<Output>>( &self, data: O0, indices: O1, segment_ids: O2, num_segments: O3, scope: &mut Scope ) -> Result<Operation>
Builds the SparseSegmentMeanWithNumSegments
operation.
sourcepub fn build_instance(
&self,
data: Output,
indices: Output,
segment_ids: Output,
num_segments: Output,
scope: &mut Scope
) -> Result<SparseSegmentMeanWithNumSegmentsInst>
pub fn build_instance( &self, data: Output, indices: Output, segment_ids: Output, num_segments: Output, scope: &mut Scope ) -> Result<SparseSegmentMeanWithNumSegmentsInst>
Builds a new instance of ‘SparseSegmentMeanWithNumSegments’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations§
source§impl Default for SparseSegmentMeanWithNumSegments
impl Default for SparseSegmentMeanWithNumSegments
source§fn default() -> SparseSegmentMeanWithNumSegments
fn default() -> SparseSegmentMeanWithNumSegments
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for SparseSegmentMeanWithNumSegments
impl Send for SparseSegmentMeanWithNumSegments
impl Sync for SparseSegmentMeanWithNumSegments
impl Unpin for SparseSegmentMeanWithNumSegments
impl UnwindSafe for SparseSegmentMeanWithNumSegments
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