Skip to content

flash-tinyml-binary

Automatically generated README for this automation recipe: flash-tinyml-binary

Category: TinyML automation

License: Apache 2.0

  • Notes from the authors, contributors and users: README-extra

  • CM meta description for this script: _cm.json

  • Output cached? False

Reuse this script in your project

Install MLCommons CM automation meta-framework

Pull CM repository with this automation recipe (CM script)

cm pull repo mlcommons@cm4mlops

cmr "flash tiny mlperf mlcommons" --help

Run this script

Run this script via CLI
cm run script --tags=flash,tiny,mlperf,mlcommons[,variations] [--input_flags]
Run this script via CLI (alternative)
cmr "flash tiny mlperf mlcommons [variations]" [--input_flags]
Run this script from Python
import cmind

r = cmind.access({'action':'run'
              'automation':'script',
              'tags':'flash,tiny,mlperf,mlcommons'
              'out':'con',
              ...
              (other input keys for this script)
              ...
             })

if r['return']>0:
    print (r['error'])
Run this script via Docker (beta)
cm docker script "flash tiny mlperf mlcommons[variations]" [--input_flags]

Variations

  • No group (any combination of variations can be selected)

    Click here to expand this section.

    • _NRF
    • _NUCLEO
    • _ad
    • _cmsis_nn
    • _ic
    • _kws
    • _native
    • _vww

Script flags mapped to environment

  • --build_dir=valueCM_TINY_BUILD_DIR=value

Versions

Default version: r1.0

Native script being run

No run file exists for Windows


Script output

cmr "flash tiny mlperf mlcommons [variations]" [--input_flags] -j