pub struct QuantizedAvgPool2d { /* private fields */ }Expand description
Quantized Average Pooling 2D
Uses i16 intermediate precision to accumulate sums before division. Output may have different scale than input due to averaging.
Implementations§
Source§impl QuantizedAvgPool2d
impl QuantizedAvgPool2d
Trait Implementations§
Source§impl Clone for QuantizedAvgPool2d
impl Clone for QuantizedAvgPool2d
Source§fn clone(&self) -> QuantizedAvgPool2d
fn clone(&self) -> QuantizedAvgPool2d
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for QuantizedAvgPool2d
impl RefUnwindSafe for QuantizedAvgPool2d
impl Send for QuantizedAvgPool2d
impl Sync for QuantizedAvgPool2d
impl Unpin for QuantizedAvgPool2d
impl UnsafeUnpin for QuantizedAvgPool2d
impl UnwindSafe for QuantizedAvgPool2d
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