mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
[Codemod][AddExplicitStrictExportArg] caffe2/test (#143688)
Reviewed By: avikchaudhuri Differential Revision: D67530154 Pull Request resolved: https://github.com/pytorch/pytorch/pull/143688 Approved by: https://github.com/tugsbayasgalan
This commit is contained in:
committed by
PyTorch MergeBot
parent
969415885d
commit
ba5cacbc17
@ -78,6 +78,7 @@ Result:
|
||||
example_case.example_args,
|
||||
example_case.example_kwargs,
|
||||
dynamic_shapes=example_case.dynamic_shapes,
|
||||
strict=True,
|
||||
)
|
||||
graph_output = str(exported_program)
|
||||
graph_output = re.sub(r" # File(.|\n)*?\n", "", graph_output)
|
||||
|
Reference in New Issue
Block a user