Foreach Test Refactor: Pointwise, Min/Max-imum (#61327)
Summary:
- rewrite pointwise unittests using `ops` decorator
- rewrite minimum&maximum unittests using `ops` decorator
- enable minimum/maximum fastpath for BFloat16
- remove _test_data method
https://github.com/pytorch/pytorch/issues/58833
cc: ptrblck ngimel
Pull Request resolved: https://github.com/pytorch/pytorch/pull/61327
Reviewed By: albanD
Differential Revision: D29830209
Pulled By: ngimel
fbshipit-source-id: fa7805262b86c40fc32750b16629d80ad48ea4b5