import onnx
onnx_model = onnx.load("test.onnx")
graph = onnx_model.graph
node = graph.node
for i in range(len(node)):
print(node
出除onnx不必要的节点
最新推荐文章于 2024-04-07 14:21:54 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)
import onnx
onnx_model = onnx.load("test.onnx")
graph = onnx_model.graph
node = graph.node
for i in range(len(node)):
print(node