pytorch / xla

Enabling PyTorch on XLA Devices (e.g. Google TPU)
https://pytorch.org/xla
Other
2.37k stars 424 forks source link

Op info test for `nn.functional.smooth_l1_loss .. nn.functional.softsign` #7562

Open qihqi opened 5 days ago

qihqi commented 5 days ago

Fix the Op info test for nn.functional.smooth_l1_loss .. nn.functional.softsign

  1. Find the lines 438 to 442 of test_ops.py and remove nn.functional.smooth_l1_loss .. nn.functional.softsign from skip_list
  2. Run op_info test with pytest test/test_ops.py
  3. Fix the failure.

Please refer to this guide as guide to fix:

Also refer to these PRs: