pub struct Raw {
pub logits: Tensor,
pub boxes: Vec<[f32; 4]>,
pub order: Tensor,
}Expand description
解码器的原始输出。
Fields§
§logits: Tensor类别 logit [Q, K]。
boxes: Vec<[f32; 4]>框 (cx, cy, w, h),相对网络输入 0–1。
order: Tensor阅读顺序 logit [Q, Q],下三角(含对角线)无意义。
Trait Implementations§
Auto Trait Implementations§
impl Forget for Raw
impl Freeze for Raw
impl Move for Raw
impl RefUnwindSafe for Raw
impl Send for Raw
impl Sync for Raw
impl Unpin for Raw
impl UnsafeUnpin for Raw
impl UnwindSafe for Raw
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