Onnx. Associate weights with nodes


(Glen) #1

Hi. When exporting PyTorch model to ONNX, it seems weights from all nodes are stored in graph.initializer. Is there any way to know which node a specific initializer belongs to?