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