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