mirror of
https://github.com/ml-explore/mlx.git
synced 2025-11-05 19:48:15 +08:00
docs up
This commit is contained in:
committed by
CircleCI Docs
parent
f5cfadc3d7
commit
cc06c8bc0e
5
docs/build/html/_sources/usage/numpy.rst
vendored
5
docs/build/html/_sources/usage/numpy.rst
vendored
@@ -62,6 +62,11 @@ even though no in-place operations on MLX memory are executed.
|
||||
PyTorch
|
||||
-------
|
||||
|
||||
.. warning::
|
||||
|
||||
PyTorch Support for :obj:`memoryview` is experimental and can break for
|
||||
multi-dimensional arrays. Casting to NumPy first is advised for now.
|
||||
|
||||
PyTorch supports the buffer protocol, but it requires an explicit :obj:`memoryview`.
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
Reference in New Issue
Block a user