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