Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve documentation and warning message for creation of a tensor wi…
…th from_numpy() (#49516) Summary: Implements very simple changes suggested in the short discussion of the issue. Updated documentation to inform user that creation of tensor with memory mapped read only numpy arrays will probably cause a crash of the program. The displayed warning message was also updated to contain the information about issues concerning the use of a memory mapped read only numpy array. Closes #46741. Pull Request resolved: #49516 Reviewed By: mrshenli Differential Revision: D25746115 Pulled By: mruberry fbshipit-source-id: 3e534a8f2bc1f083a2835440d324bd6f30798ad4
- Loading branch information