Struct burn_core::tensor::ops::MaxPool2dWithIndexes
source · pub struct MaxPool2dWithIndexes<B>where
B: Backend,{
pub output: <B as Backend>::TensorPrimitive<4>,
pub indexes: <B as Backend>::IntTensorPrimitive<4>,
}Expand description
Results from max_pool2d.
Fields§
§output: <B as Backend>::TensorPrimitive<4>§indexes: <B as Backend>::IntTensorPrimitive<4>Implementations§
source§impl<B> MaxPool2dWithIndexes<B>where
B: Backend,
impl<B> MaxPool2dWithIndexes<B>where B: Backend,
sourcepub fn new(
output: <B as Backend>::TensorPrimitive<4>,
indexes: <B as Backend>::IntTensorPrimitive<4>
) -> MaxPool2dWithIndexes<B>
pub fn new( output: <B as Backend>::TensorPrimitive<4>, indexes: <B as Backend>::IntTensorPrimitive<4> ) -> MaxPool2dWithIndexes<B>
Constructs a new MaxPool2dWithIndexes.
Auto Trait Implementations§
impl<B> RefUnwindSafe for MaxPool2dWithIndexes<B>where <B as Backend>::IntTensorPrimitive<4>: RefUnwindSafe, <B as Backend>::TensorPrimitive<4>: RefUnwindSafe,
impl<B> Send for MaxPool2dWithIndexes<B>
impl<B> Sync for MaxPool2dWithIndexes<B>
impl<B> Unpin for MaxPool2dWithIndexes<B>where <B as Backend>::IntTensorPrimitive<4>: Unpin, <B as Backend>::TensorPrimitive<4>: Unpin,
impl<B> UnwindSafe for MaxPool2dWithIndexes<B>where <B as Backend>::IntTensorPrimitive<4>: UnwindSafe, <B as Backend>::TensorPrimitive<4>: UnwindSafe,
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