Struct tensorflow::ops::SparseSegmentSumWithNumSegments
source · 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 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