Struct tensorflow::ops::MaxPoolV2
source · pub struct MaxPoolV2 { /* private fields */ }
Expand description
Builder for the MaxPoolV2
operation.
Implementations§
source§impl MaxPoolV2
impl MaxPoolV2
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>>(
&self,
input: O0,
ksize: O1,
strides: O2,
scope: &mut Scope
) -> Result<Operation>
pub fn build<O0: Into<Output>, O1: Into<Output>, O2: Into<Output>>( &self, input: O0, ksize: O1, strides: O2, scope: &mut Scope ) -> Result<Operation>
Builds the MaxPoolV2
operation.
sourcepub fn build_instance(
&self,
input: Output,
ksize: Output,
strides: Output,
scope: &mut Scope
) -> Result<MaxPoolV2Inst>
pub fn build_instance( &self, input: Output, ksize: Output, strides: Output, scope: &mut Scope ) -> Result<MaxPoolV2Inst>
Builds a new instance of ‘MaxPoolV2’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for MaxPoolV2
impl Send for MaxPoolV2
impl Sync for MaxPoolV2
impl Unpin for MaxPoolV2
impl UnwindSafe for MaxPoolV2
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