pytorch
14282232 - Fix `generate_not_implemented_tests` not testing unknown types correctly (#56997)

Commit
3 years ago
Fix `generate_not_implemented_tests` not testing unknown types correctly (#56997) Summary: Currently, the test code is not testing unknown types correctly because `op` is overwritten in the for-loop (i.e., currently only `__ior__` is tested). This PR fixes the test `generate_not_implemented_tests` to bind operator name to each method, and remove operators currently unsupported (`__rand__`, …). cc/ mruberry This fix is be needed to add tests for the operator we are going to introduce (e.g., `__rand__`) Pull Request resolved: https://github.com/pytorch/pytorch/pull/56997 Reviewed By: astaff Differential Revision: D28118465 Pulled By: mruberry fbshipit-source-id: c5a466a7604262ed5490862300d47043aff63d0b
Author
Parents
Loading