pub struct AvgPoolGrad { /* private fields */ }
Expand description
Builder for the AvgPoolGrad
operation.
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 add_control_input(self, op: Operation) -> Self
pub fn add_control_input(self, op: Operation) -> Self
Adds a control input.
Trait Implementations§
Source§impl Debug for AvgPoolGrad
impl Debug for AvgPoolGrad
Source§impl Default for AvgPoolGrad
impl Default for AvgPoolGrad
Source§fn default() -> AvgPoolGrad
fn default() -> AvgPoolGrad
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AvgPoolGrad
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