Struct tensorflow::eager::raw_ops::MaxPoolGradV2
source · pub struct MaxPoolGradV2 { /* private fields */ }
Expand description
MaxPoolGradV2
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/MaxPoolGradV2
Implementations§
source§impl MaxPoolGradV2
impl MaxPoolGradV2
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 data_format<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn data_format<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the data_format
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>, T3: ToTensorHandle<'a>, T4: ToTensorHandle<'a>>(
&self,
ctx: &'a Context,
orig_input: &T0,
orig_output: &T1,
grad: &T2,
ksize: &T3,
strides: &T4
) -> Result<TensorHandle<'a>>
pub fn call<'a, T0: ToTensorHandle<'a>, T1: ToTensorHandle<'a>, T2: ToTensorHandle<'a>, T3: ToTensorHandle<'a>, T4: ToTensorHandle<'a>>( &self, ctx: &'a Context, orig_input: &T0, orig_output: &T1, grad: &T2, ksize: &T3, strides: &T4 ) -> Result<TensorHandle<'a>>
Execute max_pool_grad_v2.
Trait Implementations§
source§impl Clone for MaxPoolGradV2
impl Clone for MaxPoolGradV2
source§fn clone(&self) -> MaxPoolGradV2
fn clone(&self) -> MaxPoolGradV2
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 MaxPoolGradV2
impl Debug for MaxPoolGradV2
Auto Trait Implementations§
impl RefUnwindSafe for MaxPoolGradV2
impl Send for MaxPoolGradV2
impl Sync for MaxPoolGradV2
impl Unpin for MaxPoolGradV2
impl UnwindSafe for MaxPoolGradV2
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