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