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