[doc] Improve mps package description (#104184)

Fixes #104183

Pull Request resolved: https://github.com/pytorch/pytorch/pull/104184
Approved by: https://github.com/malfet
This commit is contained in:
David Radley
2023-06-27 15:50:36 +00:00
committed by PyTorch MergeBot
parent ad2905ad27
commit 4d613b9a5f

View File

@ -1,5 +1,8 @@
r"""
This package enables an interface for accessing MPS backend in python
This package enables an interface for accessing MPS (Metal Performance Shaders) backend in Python.
Metal is Apple's API for programming metal GPU (graphics processor unit). Using MPS means that increased
performance can be achieved, by running work on the metal GPU(s).
See https://developer.apple.com/documentation/metalperformanceshaders for more details.
"""
import torch
from .. import Tensor