pub struct MaxPool3dWithIndices<B>where
B: Backend,{
pub output: <B as BackendTypes>::FloatTensorPrimitive,
pub indices: <B as BackendTypes>::IntTensorPrimitive,
}Expand description
Native volume maxima and flattened I64 input positions.
Fields§
§output: <B as BackendTypes>::FloatTensorPrimitiveOutput [batch, channels, depth, height, width] activations.
indices: <B as BackendTypes>::IntTensorPrimitiveOriginal input positions per batch/channel, or -1 for empty selections.
Implementations§
Source§impl<B> MaxPool3dWithIndices<B>where
B: Backend,
impl<B> MaxPool3dWithIndices<B>where
B: Backend,
Sourcepub fn new(
output: <B as BackendTypes>::FloatTensorPrimitive,
indices: <B as BackendTypes>::IntTensorPrimitive,
) -> MaxPool3dWithIndices<B>
pub fn new( output: <B as BackendTypes>::FloatTensorPrimitive, indices: <B as BackendTypes>::IntTensorPrimitive, ) -> MaxPool3dWithIndices<B>
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