pub struct RtmDetOutput {
pub cls_scores: Vec<FeatureMap>,
pub bbox_preds: Vec<FeatureMap>,
pub strides: Vec<usize>,
}Expand description
Multi-scale detector output.
Fields§
§cls_scores: Vec<FeatureMap>Per-level class logits, each [n_classes, H, W].
bbox_preds: Vec<FeatureMap>Per-level raw box regression, each [4, H, W].
strides: Vec<usize>Per-level stride (image pixels / feature pixel).
Trait Implementations§
Source§impl Clone for RtmDetOutput
impl Clone for RtmDetOutput
Source§fn clone(&self) -> RtmDetOutput
fn clone(&self) -> RtmDetOutput
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RtmDetOutput
impl RefUnwindSafe for RtmDetOutput
impl Send for RtmDetOutput
impl Sync for RtmDetOutput
impl Unpin for RtmDetOutput
impl UnsafeUnpin for RtmDetOutput
impl UnwindSafe for RtmDetOutput
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