mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 12:54:11 +08:00
Updated Running and writing tests (markdown)
@ -114,3 +114,6 @@ To use the selection syntax to run only a single test class or test, be it with
|
||||
See the "OpInfos" note in torch/testing/_internal/opinfo/core.py for details on adding an OpInfo and how they work.
|
||||
|
||||
OpInfos are used to automatically generate a variety of operator tests from metadata. If you're adding a new operator to the torch, torch.nn, torch.special, torch.fft, or torch.linalg namespaces you should write an OpInfo for it so it's tested properly.
|
||||
|
||||
## Next
|
||||
Unit 2: Tensors, Operators, and Testing - [Tensor Views Lab](https://colab.research.google.com/drive/1rJP2aw-f5Iwqwri0_Ei_OI8_esh1Nyeq#scrollTo=LpTEuP0JZzav&line=1&uniqifier=1)
|
||||
|
Reference in New Issue
Block a user