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