Binary Model Output

This section describes the output file that contains all the raw data outputed by the model.

Location

The file raw_output.bin must be placed in the AI_Manager/out/ directory.

Content

This file is simply the raw bytes given model concatenated.

For instence, a model takes 128 bytes for the input and outputs 16 bytes as the result of the inference :

  • The $DATASET_FILENAME file contains 128 bytes * the number of samples.
  • The model is presented with 128 bytes from the $DATASET_FILENAME.
  • The model compute the output of 16 bytes.
  • The 16 bytes are added to the raw_output.bin file.
  • This is repeated for the number of samples.

The final size of the raw_output.bin is then 16 bytes* the number of samples.