pub struct SparseSegmentSumWithNumSegments { /* private fields */ }Expand description
Builder for the SparseSegmentSumWithNumSegments operation.
Implementations§
Source§impl SparseSegmentSumWithNumSegments
impl SparseSegmentSumWithNumSegments
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 SparseSegmentSumWithNumSegments operation.
Sourcepub fn build_instance(
&self,
data: Output,
indices: Output,
segment_ids: Output,
num_segments: Output,
scope: &mut Scope,
) -> Result<SparseSegmentSumWithNumSegmentsInst>
pub fn build_instance( &self, data: Output, indices: Output, segment_ids: Output, num_segments: Output, scope: &mut Scope, ) -> Result<SparseSegmentSumWithNumSegmentsInst>
Builds a new instance of ‘SparseSegmentSumWithNumSegments’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations§
Source§impl Default for SparseSegmentSumWithNumSegments
impl Default for SparseSegmentSumWithNumSegments
Source§fn default() -> SparseSegmentSumWithNumSegments
fn default() -> SparseSegmentSumWithNumSegments
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SparseSegmentSumWithNumSegments
impl RefUnwindSafe for SparseSegmentSumWithNumSegments
impl Send for SparseSegmentSumWithNumSegments
impl Sync for SparseSegmentSumWithNumSegments
impl Unpin for SparseSegmentSumWithNumSegments
impl UnwindSafe for SparseSegmentSumWithNumSegments
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