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