Commit 46554fc1 authored by Lysandre's avatar Lysandre
Browse files

Grad enabled typo

parent 0e4f7270
...@@ -127,7 +127,7 @@ def export( ...@@ -127,7 +127,7 @@ def export(
) )
config.restore_ops() config.restore_ops()
torch.set_grad_enabled(False) torch.set_grad_enabled(True)
return matched_inputs, onnx_outputs return matched_inputs, onnx_outputs
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment