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