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