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