Skip to content

[add] exposing the function for creating a config file template from an ONNX operator

Maxence Naud requested to merge feat_benchmark into dev

Context

#262 (moved)

  • add: function to create a default config file from an ONNX operator type
aidge_benchmark --generate-template Conv:21:1 --save-directory mydirectory
{
    "operator": "Conv",
    "opset_version": 21,
    "initializer_rank": 1,
    "test_meta_data": {
        "multiple_batchs": true
    },
    "base_configuration": {
        "attributes": {
            "auto_pad": "NOTSET",
            "dilations": null,
            "group": 1,
            "kernel_shape": null,
            "pads": null,
            "strides": null
        },
        "input_properties": [
            {
                "name": "X",
                "dims": null,
                "values": null
            },
            {
                "name": "W",
                "dims": null,
                "values": null
            },
            {
                "name": "B",
                "dims": null,
                "values": null
            }
        ]
    },
    "test_configurations": {}
}
Edited by Maxence Naud

Merge request reports

Loading