Struct tensorflow::eager::raw_ops::MaxPoolGradWithArgmax
source · pub struct MaxPoolGradWithArgmax { /* private fields */ }
Expand description
MaxPoolGradWithArgmax
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/MaxPoolGradWithArgmax
Implementations§
source§impl MaxPoolGradWithArgmax
impl MaxPoolGradWithArgmax
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 target_device_name<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn target_device_name<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the `` attribute.
sourcepub fn call<'a, T0: ToTensorHandle<'a>, T1: ToTensorHandle<'a>, T2: ToTensorHandle<'a>>(
&self,
ctx: &'a Context,
input: &T0,
grad: &T1,
argmax: &T2
) -> Result<TensorHandle<'a>>
pub fn call<'a, T0: ToTensorHandle<'a>, T1: ToTensorHandle<'a>, T2: ToTensorHandle<'a>>( &self, ctx: &'a Context, input: &T0, grad: &T1, argmax: &T2 ) -> Result<TensorHandle<'a>>
Execute max_pool_grad_with_argmax.
Trait Implementations§
source§impl Clone for MaxPoolGradWithArgmax
impl Clone for MaxPoolGradWithArgmax
source§fn clone(&self) -> MaxPoolGradWithArgmax
fn clone(&self) -> MaxPoolGradWithArgmax
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for MaxPoolGradWithArgmax
impl Debug for MaxPoolGradWithArgmax
Auto Trait Implementations§
impl RefUnwindSafe for MaxPoolGradWithArgmax
impl Send for MaxPoolGradWithArgmax
impl Sync for MaxPoolGradWithArgmax
impl Unpin for MaxPoolGradWithArgmax
impl UnwindSafe for MaxPoolGradWithArgmax
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