[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:
Yanan Cao (PyTorch)
2024-12-27 07:58:44 +00:00
committed by PyTorch MergeBot
parent 969415885d
commit ba5cacbc17
29 changed files with 149 additions and 119 deletions

View File

@ -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)