Struct tensorflow::eager::raw_ops::FractionalAvgPool
source · pub struct FractionalAvgPool { /* private fields */ }
Expand description
FractionalAvgPool
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/FractionalAvgPool
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 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_avg_pool.
Trait Implementations§
source§impl Clone for FractionalAvgPool
impl Clone for FractionalAvgPool
source§fn clone(&self) -> FractionalAvgPool
fn clone(&self) -> FractionalAvgPool
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 FractionalAvgPool
impl Debug for FractionalAvgPool
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