Skip to content

Add Support for Saving Predicted ML Metadata and Raw Output Tensors to SDS Files - #35

Open
Jithendar11 wants to merge 2 commits into
Arm-Examples:mainfrom
Jithendar11:br_fs_sds_metadata
Open

Jithendar11 wants to merge 2 commits into
Arm-Examples:mainfrom
Jithendar11:br_fs_sds_metadata

Conversation

@Jithendar11

Copy link
Copy Markdown
Contributor

Description

Added support for recording predicted ML metadata and raw model output tensors into separate SDS files, with runtime control for enabling the additional ML output streams.

Changes

  • Added support for generating the following SDS files:

    • ML_Result.sds

      • Stores post-processed prediction metadata.
      • Includes:
        • Predicted class label
        • Class index
        • Confidence score
    • ML_RawOutput.sds

      • Stores the raw ML output tensors directly from the model.
      • No post-processing is applied to the tensor data.
  • Added runtime SDS flag support to control the generation of these additional SDS files.

    • Uses the user-defined SDS flag F.
    • ML_Result.sds and ML_RawOutput.sds are generated only when flag F is enabled.
    • When flag F is not enabled, the existing SDS workflow remains unchanged.

data into SDS files.

Summary of Changes:
- Added support to save ML_Result.sds and ML_RawOutput.sds.
- ML_Result.sds stores predicted metadata, including class label,
  class index, and class confidence score.
- ML_RawOutput.sds stores raw ML output tensors without any
  post-processing.
Summary of Changes:
- Added runtime SDS flag support to control additional SDS file generation.
- Used user-defined SDS flag F to enable additional ML output files.
- ML_Result.sds and ML_RawOutput.sds are generated only when flag F is enabled.
@Jithendar11
Jithendar11 marked this pull request as ready for review September 18, 2026 09:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant