pub struct FpnNeck { /* private fields */ }Expand description
Feature Pyramid Network lateral + top-down pathway (inference-mode, NHWC).
Reduces each backbone level to out_channels via 1x1 conv, then top-down
merges with 2x nearest-neighbor upsample + element-wise add + 3x3 smoothing.
Implementations§
Auto Trait Implementations§
impl Freeze for FpnNeck
impl RefUnwindSafe for FpnNeck
impl Send for FpnNeck
impl Sync for FpnNeck
impl Unpin for FpnNeck
impl UnsafeUnpin for FpnNeck
impl UnwindSafe for FpnNeck
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more