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