mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 12:54:11 +08:00
Summary: There are actually 2 `nn.functional.batch_norm` in op_db. See https://github.com/pytorch/pytorch/blob/main/torch/testing/_internal/common_methods_invocations.py#L16797-L16831 So previously the test failed at `assert len(ops)==1` Test Plan: python test/export/test_export_opinfo.py TestExportOnFakeCudaCUDA Differential Revision: D83581427 Pull Request resolved: https://github.com/pytorch/pytorch/pull/164261 Approved by: https://github.com/SherlockNoMad