pub struct EncoderOut {
pub feats: Vec<Tensor>,
pub mask_feat: Tensor,
}Expand description
编码器的输出。
Fields§
§feats: Vec<Tensor>融合后的各层特征,步长从小到大。
mask_feat: Tensor掩码特征 [原型数, H/4, W/4]。
Trait Implementations§
Source§impl Clone for EncoderOut
impl Clone for EncoderOut
Auto Trait Implementations§
impl Forget for EncoderOut
impl Freeze for EncoderOut
impl RefUnwindSafe for EncoderOut
impl Send for EncoderOut
impl Sync for EncoderOut
impl Unpin for EncoderOut
impl UnsafeUnpin for EncoderOut
impl UnwindSafe for EncoderOut
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