pub enum LogicalType {
Show 13 variants
Boxes,
Scores,
Objectness,
Classes,
MaskCoefs,
Protos,
Landmarks,
Detections,
Segmentation,
Masks,
Detection,
ClassLogits,
MaskLogits,
}Expand description
Semantic type of a logical output.
Variants§
Boxes
Bounding box coordinates.
Scores
Per-class or class-aggregate scores.
Objectness
Objectness scores (YOLOv5-style obj_x_class).
Classes
End-to-end class indices.
MaskCoefs
Mask coefficients for instance segmentation.
Protos
Instance segmentation prototypes.
Landmarks
Facial / keypoint landmarks.
Detections
Fully decoded post-NMS detections (end-to-end models).
Segmentation
Semantic segmentation per-pixel class scores (ModelPack, or any
per-pixel model with decoder: semantic).
Masks
Semantic segmentation class map: argmax already applied in the graph, one class index per pixel.
Detection
ModelPack anchor-grid raw output requiring anchor decode.
ClassLogits
Mask-classification per-query class logits [1, Q, K+1].
Reserved: described by the schema, not yet decoded by the HAL.
MaskLogits
Mask-classification per-query mask logits [1, Q, H, W].
Reserved: described by the schema, not yet decoded by the HAL.
Trait Implementations§
Source§impl Clone for LogicalType
impl Clone for LogicalType
impl Copy for LogicalType
Source§impl Debug for LogicalType
impl Debug for LogicalType
Source§impl<'de> Deserialize<'de> for LogicalType
impl<'de> Deserialize<'de> for LogicalType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Eq for LogicalType
Source§impl Hash for LogicalType
impl Hash for LogicalType
Source§impl PartialEq for LogicalType
impl PartialEq for LogicalType
Source§impl Serialize for LogicalType
impl Serialize for LogicalType
impl StructuralPartialEq for LogicalType
Auto Trait Implementations§
impl Freeze for LogicalType
impl RefUnwindSafe for LogicalType
impl Send for LogicalType
impl Sync for LogicalType
impl Unpin for LogicalType
impl UnsafeUnpin for LogicalType
impl UnwindSafe for LogicalType
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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> ⓘ
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> ⓘ
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