"examples/tutorials/streamreader_advanced_tutorial.py" did not exist on "10d1bd89e8adcf5210adcd4d25593f8588138816"
[PyTorch] Fix windows build for torchvision when `MOBILE` is defined (#4571) (#4742)
Summary: Pull Request resolved: https://github.com/pytorch/vision/pull/4571 Fixing windows build for `torchvision` when `MOBILE` is defined. In `csrc/vision.cpp`, since `PyMODINIT_FUNC` depends on `Python.h` I added the same condition for `PyMODINIT_FUNC` as the one for `import <PyTorch.h>`. Reviewed By: malfet Differential Revision: D31488734 fbshipit-source-id: fd52a9ab161288d9c8bf3b9e0ab9da856a4ebadb Co-authored-by:Mengwei Liu <larryliu@fb.com>
Showing
Please register or sign in to comment