There are libraries to convert PyTorch to ONNX. But is there some library to convert ONNX to Pytorch?
There is a feature request for this functionality. link
Please feel free to add on to why this may be useful. Also feel free to contribute by creating this feature yourself and submitting a pull request.