Struct tensorflow::eager::raw_ops::FractionalMaxPool
source · pub struct FractionalMaxPool { /* private fields */ }
Expand description
FractionalMaxPool
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/FractionalMaxPool
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 target_device_name<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn target_device_name<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the `` attribute.
sourcepub fn call<'a, T0: ToTensorHandle<'a>>(
&self,
ctx: &'a Context,
value: &T0
) -> Result<[TensorHandle<'a>; 3]>
pub fn call<'a, T0: ToTensorHandle<'a>>( &self, ctx: &'a Context, value: &T0 ) -> Result<[TensorHandle<'a>; 3]>
Execute fractional_max_pool.
Trait Implementations§
source§impl Clone for FractionalMaxPool
impl Clone for FractionalMaxPool
source§fn clone(&self) -> FractionalMaxPool
fn clone(&self) -> FractionalMaxPool
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for FractionalMaxPool
impl Debug for FractionalMaxPool
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