pytorch/docs/source/testing.rst
Kushashwa Ravi Shrimali d37636901e [Doc] make_tensor to torch.testing module (#63925)
Summary:
This PR aims to add `make_tensor` to the `torch.testing` module in PyTorch docs.

TODOs:

* [x] Add examples

cc: pmeier mruberry brianjo

Pull Request resolved: https://github.com/pytorch/pytorch/pull/63925

Reviewed By: ngimel

Differential Revision: D30633487

Pulled By: mruberry

fbshipit-source-id: 8e5a1f880c6ece5925b4039fee8122bd739538af
2021-08-30 12:25:40 -07:00

13 lines
373 B
ReStructuredText

torch.testing
=============
.. warning::
This module is in a PROTOTYPE state. New functions are still being added, and the available functions may change in
future PyTorch releases. We are actively looking for feedback for UI/UX improvements or missing functionalities.
.. automodule:: torch.testing
.. autofunction:: assert_close
.. autofunction:: make_tensor