module testing.test_utils
#
Short summary#
module mlprodict.testing.test_utils
Inspired from sklearn-onnx, handles two backends.
Functions#
function |
truncated documentation |
---|---|
Creates a tensor. |
|
Tells if onnxruntime version is greater than ver. |
Documentation#
Inspired from sklearn-onnx, handles two backends.
- mlprodict.testing.test_utils.create_tensor(N, C, H=None, W=None)#
Creates a tensor.
- mlprodict.testing.test_utils.ort_version_greater(ver)#
Tells if onnxruntime version is greater than ver.
- Parameters:
ver – version as a string
- Returns:
boolean