Skip to content

Commande line interface

yaitaissa edited this page Aug 22, 2024 · 1 revision

The package acetone-nnet add to terminal commands to your bin:

  • acetone_generate generate a code according to the parameters

    • model_file: path to the file describing the model to generate
    • function_name: name of the generated function
    • nb_tests: number of inferences to do with one run of the generated code
    • conv_algorithm: version of the convolution to use
    • output_dir: path to the directory in which the code will be generated
    • test_dataset_file: path to the dataset on which the code will be tested
    • normalize: boolean indicating if the input need to be normalized (for NNet files only)
  • ``acetone_compare` compare the values in two text files

    • reference_file: reference to compare with
    • c_file: file to compare to the reference
    • nb_tests: number of tests done to generate the c_file
    • precision: precision of the values
Clone this wiki locally