pub struct MaxPool3dWithIndices<B: Backend> {
pub output: FloatTensor<B>,
pub indices: IntTensor<B>,
}Expand description
Native volume maxima and flattened I64 input positions.
Fields§
§output: FloatTensor<B>Output [batch, channels, depth, height, width] activations.
indices: IntTensor<B>Original input positions per batch/channel, or -1 for empty selections.
Implementations§
Source§impl<B: Backend> MaxPool3dWithIndices<B>
impl<B: Backend> MaxPool3dWithIndices<B>
Sourcepub fn new(output: FloatTensor<B>, indices: IntTensor<B>) -> Self
pub fn new(output: FloatTensor<B>, indices: IntTensor<B>) -> Self
Constructs a new MaxPool3dWithIndices.
Auto Trait Implementations§
impl<B> Freeze for MaxPool3dWithIndices<B>where
<B as BackendTypes>::FloatTensorPrimitive: Freeze,
<B as BackendTypes>::IntTensorPrimitive: Freeze,
impl<B> RefUnwindSafe for MaxPool3dWithIndices<B>where
<B as BackendTypes>::FloatTensorPrimitive: RefUnwindSafe,
<B as BackendTypes>::IntTensorPrimitive: RefUnwindSafe,
impl<B> Send for MaxPool3dWithIndices<B>where
<B as BackendTypes>::FloatTensorPrimitive: Send,
<B as BackendTypes>::IntTensorPrimitive: Send,
impl<B> Sync for MaxPool3dWithIndices<B>where
<B as BackendTypes>::FloatTensorPrimitive: Sync,
<B as BackendTypes>::IntTensorPrimitive: Sync,
impl<B> Unpin for MaxPool3dWithIndices<B>where
<B as BackendTypes>::FloatTensorPrimitive: Unpin,
<B as BackendTypes>::IntTensorPrimitive: Unpin,
impl<B> UnsafeUnpin for MaxPool3dWithIndices<B>where
<B as BackendTypes>::FloatTensorPrimitive: UnsafeUnpin,
<B as BackendTypes>::IntTensorPrimitive: UnsafeUnpin,
impl<B> UnwindSafe for MaxPool3dWithIndices<B>where
<B as BackendTypes>::FloatTensorPrimitive: UnwindSafe,
<B as BackendTypes>::IntTensorPrimitive: 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