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