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