ONNX:机器学习模型通用格式
Python示例:
import numpy
from onnx import numpy_helper, TensorProto
from onnx.helper import (
make_model, make_node, set_model_props, make_tensor,
make_graph, make_tensor_value_info)
from mlprodict.plotting.text_plot import onnx_simple_text_plot
# inputs
# 'X' is the name, TensorProto.FLOA ...