The quick check function for the conversion process of the model is provided by HMCT, where the input onnx model is checked with some random quantization parameters to see if the model conversion and the process is successful.
Generate an onnx model with stochastic parameter quantization.
The value ranges and definitions of the same parameters in check_model as in build_model are identical.
| Parameter | Type | Description | |
| onnx_model | ModelProto | Required, no default value | The input onnx model. |
| march | str | Required, no default value | Computing platform. |
| input_dict | Optional[Dict[str, Any]] | None | Modify the converted model inputs according to the specified parameters. Note: The caller needs to ensure that the modifications to the model inputs are legal.
|