Struct tensorflow::eager::raw_ops::AvgPoolGrad
source · pub struct AvgPoolGrad { /* private fields */ }
Expand description
AvgPoolGrad
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/AvgPoolGrad
Implementations§
source§impl AvgPoolGrad
impl AvgPoolGrad
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 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>>(
&self,
ctx: &'a Context,
orig_input_shape: &T0,
grad: &T1
) -> Result<TensorHandle<'a>>
pub fn call<'a, T0: ToTensorHandle<'a>, T1: ToTensorHandle<'a>>( &self, ctx: &'a Context, orig_input_shape: &T0, grad: &T1 ) -> Result<TensorHandle<'a>>
Execute avg_pool_grad.
Trait Implementations§
source§impl Clone for AvgPoolGrad
impl Clone for AvgPoolGrad
source§fn clone(&self) -> AvgPoolGrad
fn clone(&self) -> AvgPoolGrad
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 AvgPoolGrad
impl Debug for AvgPoolGrad
Auto Trait Implementations§
impl RefUnwindSafe for AvgPoolGrad
impl Send for AvgPoolGrad
impl Sync for AvgPoolGrad
impl Unpin for AvgPoolGrad
impl UnwindSafe for AvgPoolGrad
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