pytorch/docs/source/dlpack.rst
Thomas Viehmann b2a74d17ad document torch.utils.dlpack (#9343)
Summary:
dlpacks deserve documentation. :)

I wonder whether it might make sense to merge the various small torch.utils pages (and include a link for the larger ones, e.g. data) to enhance the structure in the docs.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/9343

Differential Revision: D8801227

Pulled By: soumith

fbshipit-source-id: 2980d271971743b86f052bec5a2cb4d146a90d9b
2018-07-11 07:46:09 -07:00

9 lines
137 B
ReStructuredText

torch.utils.dlpack
==================
.. currentmodule:: torch.utils.dlpack
.. autofunction:: from_dlpack
.. autofunction:: to_dlpack