Source code for mlprodict.asv_benchmark.template.skl_model_transform_positive
"""
A template to benchmark a model
with :epkg:`asv`. The benchmark can be run through
file :epkg:`run_asv.sh` on Linux or :epkg:`run_asv.bat` on
Windows.
.. warning::
On Windows, you should avoid cloning the repository
on a folder with a long full name. Visual Studio tends to
abide by the rule of the maximum path length even though
the system is told otherwise.
:githublink:`%|py|13`
"""
import numpy # pylint: disable=W0611
from mlprodict.tools.asv_options_helper import get_opset_number_from_onnx
# Import specific to this model.
from sklearn.decomposition import NMF # pylint: disable=C0411
from mlprodict.asv_benchmark import _CommonAsvSklBenchmarkTransformPositive # pylint: disable=C0412
from mlprodict.onnx_conv import to_onnx # pylint: disable=W0611, C0412
from mlprodict.onnxrt import OnnxInference # pylint: disable=W0611, C0412