"""Auto-generated stub for module: postprocessor."""
from typing import Any

from .schemas import ActionPrediction, ClassificationPrediction, DetectionPrediction, FramewiseActionPredictions

# Functions
def classification_top1_from_raw_output(raw_output: Any) -> Any:
    """
    Normalize common runtime outputs and return top-1 prediction.
    """
    ...
def classification_top1_prediction(logits: Any.Any) -> Any:
    """
    Return top-1 class prediction with confidence from logits.
    """
    ...
def format_detection_from_normalized_tensors(labels: Any.Any, boxes_xyxy_normalized: Any.Any, scores: Any.Any) -> list[Any]:
    """
    Convert normalized detection tensors into API-ready dict records.
    """
    ...
def framewise_action_results(inference_results: Any[Any[str, Any]]) -> Any:
    """
    Group frame-level action predictions keyed by frame index string.
    """
    ...
