onnx_diagnostic.tasks

onnx_diagnostic.tasks.random_input_kwargs(config: Any, task: str) Tuple[Dict[str, Any], Callable][source]

Inputs kwargs. If the configuration is None, the function selects typical dimensions. It returns parameters and a function. The function creates dummy inputs if it receives the parameters returned as a first result.

onnx_diagnostic.tasks.reduce_model_config(config: Any, task: str) Dict[str, Any][source]

Reduces a model size.

onnx_diagnostic.tasks.supported_tasks() List[str][source]

Returns the list of supported tasks.