ezyang / onnx-pytorch

PyTorch development for onnx
21 stars 4 forks source link

Verifier for model export / formally create onnx_pytorch. #6

Closed ezyang closed 7 years ago

ezyang commented 7 years ago

onnx_pytorch.verify contains the distilled knowledge about common ways model verification can fail, based on our experiences working on ONNX exports of models. A few key features:

We also give the expect test suite good exercise, since we can easily test for error messages and see how improvements affect what is printed.

Requires a PyTorch update tracked at https://github.com/pytorch/pytorch/pull/2781

Signed-off-by: Edward Z. Yang ezyang@fb.com

Supersedes https://github.com/ezyang/pytorch/pull/209 and https://github.com/ezyang/pytorch/pull/204