Struct tensorflow::ops::MaxPoolGradGradV2
source · [−]pub struct MaxPoolGradGradV2 { /* private fields */ }
Expand description
Builder for the MaxPoolGradGradV2
operation.
Implementations
sourceimpl 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
sourceimpl Debug for MaxPoolGradGradV2
impl Debug for MaxPoolGradGradV2
sourceimpl Default for MaxPoolGradGradV2
impl Default for MaxPoolGradGradV2
sourcefn 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more