nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2020 NVIDIA Corporation
Built on Tue_Sep_15_19:12:04_Pacific_Daylight_Time_2020
Cuda compilation tools, release 11.1, V11.1.74
Build cuda_11.1.relgpu_drvr455TC455_06.29069683_0
Tue Jan 11 17:00:56 2022
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 457.51 Driver Version: 457.51 CUDA Version: 11.1 |
|-------------------------------+----------------------+----------------------+
| GPU Name TCC/WDDM | Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|===============================+======================+======================|
| 0 GeForce RTX 306... WDDM | 00000000:26:00.0 On | N/A |
| 0% 29C P8 9W / 200W | 350MiB / 8192MiB | 4% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| 0 N/A N/A 1224 C+G Insufficient Permissions N/A |
| 0 N/A N/A 1472 C+G ...8wekyb3d8bbwe\GameBar.exe N/A |
| 0 N/A N/A 6404 C+G ...nputApp\TextInputHost.exe N/A |
| 0 N/A N/A 6500 C+G ...bbwe\Microsoft.Photos.exe N/A |
| 0 N/A N/A 6688 C+G C:\Windows\explorer.exe N/A |
| 0 N/A N/A 8068 C+G ...5n1h2txyewy\SearchApp.exe N/A |
| 0 N/A N/A 8660 C+G ...ekyb3d8bbwe\YourPhone.exe N/A |
| 0 N/A N/A 10640 C+G ...8wekyb3d8bbwe\Cortana.exe N/A |
| 0 N/A N/A 10784 C+G ...wekyb3d8bbwe\Video.UI.exe N/A |
| 0 N/A N/A 10808 C+G ...y\ShellExperienceHost.exe N/A |
| 0 N/A N/A 11876 C+G Insufficient Permissions N/A |
| 0 N/A N/A 13552 C+G Insufficient Permissions N/A |
| 0 N/A N/A 14676 C+G ...lPanel\SystemSettings.exe N/A |
+-----------------------------------------------------------------------------+
以下是错误信息
(pytorch191) C:\Users\guowei\Desktop\yolov5_obb\utils\nms_rotated>python setup.py develop
running develop
running egg_info
writing nms_rotated_ext.egg-info\PKG-INFO
writing dependency_links to nms_rotated_ext.egg-info\dependency_links.txt
writing top-level names to nms_rotated_ext.egg-info\top_level.txt
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\utils\cpp_extension.py:370: UserWarning: Attempted to use ninja as the BuildExtension backend but we could not find ninja.. Falling back to using the slow distutils ba
ckend.
warnings.warn(msg.format('we could not find ninja.'))
reading manifest file 'nms_rotated_ext.egg-info\SOURCES.txt'
writing manifest file 'nms_rotated_ext.egg-info\SOURCES.txt'
running build_ext
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\utils\cpp_extension.py:305: UserWarning: Error checking compiler version for cl: [WinError 2] 系统找不到指定的文件。
warnings.warn(f'Error checking compiler version for {compiler}: {error}')
building '.nms_rotated_ext' extension
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -DWITH_CUDA -ID:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include -ID:\ProgramData\Anaconda3\envs\p
ytorch191\lib\site-packages\torch\include\torch\csrc\api\include -ID:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\TH -ID:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\THC "-IC:\Prog
ram Files\NVIDIA GPU Computing Toolkit\CUDA\v11.1\include" -ID:\ProgramData\Anaconda3\envs\pytorch191\include -ID:\ProgramData\Anaconda3\envs\pytorch191\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC
:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\8.1\include\shared" "-IC:\Program Files (x86)\Windows Kits\8.1\include\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\wi
nrt" /EHsc /Tpsrc/nms_rotated_cpu.cpp /Fobuild\temp.win-amd64-3.7\Release\src/nms_rotated_cpu.obj /MD /wd4819 /wd4251 /wd4244 /wd4267 /wd4275 /wd4018 /wd4190 /EHsc -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=nms_rotated_e
xt -D_GLIBCXX_USE_CXX11_ABI=0
nms_rotated_cpu.cpp
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/Array.h(111): warning C4814: 'c10::guts::array<_Tp,_Nm>::fill': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/Array.h(232): note: see reference to class template instantiation 'c10::guts::array<_Tp,_Nm>' being compiled
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/Array.h(115): warning C4814: 'c10::guts::array<_Tp,_Nm>::swap': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/Array.h(120): warning C4814: 'c10::guts::array<_Tp,_Nm>::begin': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/Array.h(128): warning C4814: 'c10::guts::array<_Tp,_Nm>::end': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/Array.h(136): warning C4814: 'c10::guts::array<_Tp,_Nm>::rbegin': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/Array.h(144): warning C4814: 'c10::guts::array<_Tp,_Nm>::rend': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/Array.h(182): warning C4814: 'c10::guts::array<_Tp,_Nm>::operator []': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'co
nst'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/Array.h(195): warning C4814: 'c10::guts::array<_Tp,_Nm>::at': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/Array.h(210): warning C4814: 'c10::guts::array<_Tp,_Nm>::front': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/Array.h(218): warning C4814: 'c10::guts::array<_Tp,_Nm>::back': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/Array.h(227): warning C4814: 'c10::guts::array<_Tp,_Nm>::data': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/TypeList.h(405): error C2672: 'c10::guts::min': no matching overloaded function found
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/TypeList.h(408): note: see reference to class template instantiation 'c10::guts::typelist::drop_if_nonempty<TypeList,num>' being compiled
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/TypeList.h(405): error C2782: 'const T &c10::guts::min(const T &,const T &)': template parameter 'T' is ambiguous
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/C++17.h(422): note: see declaration of 'c10::guts::min'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/TypeList.h(405): note: could be 'size::value'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/TypeList.h(405): note: or 'std::size_t'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/TypeList.h(405): error C2784: 'const T &c10::guts::min(const T &,const T &)': could not deduce template argument for 'const T &' from 'size:
:value'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/C++17.h(422): note: see declaration of 'c10::guts::min'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/TypeList.h(407): error C2672: 'c10::guts::min': no matching overloaded function found
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/TypeList.h(407): error C2782: 'const T &c10::guts::min(const T &,const T &)': template parameter 'T' is ambiguous
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/C++17.h(422): note: see declaration of 'c10::guts::min'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/TypeList.h(407): note: could be 'size::value'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/TypeList.h(407): note: or 'std::size_t'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/TypeList.h(407): error C2784: 'const T &c10::guts::min(const T &,const T &)': could not deduce template argument for 'const T &' from 'size:
:value'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/C++17.h(422): note: see declaration of 'c10::guts::min'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/DispatchKeySet.h(59): error C3250: '$L0': declaration is not allowed in 'constexpr' function body
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/DispatchKeySet.h(59): error C3249: illegal statement or sub-expression for 'constexpr' function
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/DispatchKeySet.h(59): error C3250: '$L0': declaration is not allowed in 'constexpr' function body
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/DispatchKeySet.h(59): error C3250: '$L0': declaration is not allowed in 'constexpr' function body
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/DispatchKeySet.h(59): note: see usage of '++'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/DispatchKeySet.h(59): error C3250: 'k': declaration is not allowed in 'constexpr' function body
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/DispatchKeySet.h(60): error C3249: illegal statement or sub-expression for 'constexpr' function
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/DispatchKeySet.h(60): note: see usage of '|='
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/DispatchKeySet.h(66): warning C4800: 'uint64_t': forcing value to bool 'true' or 'false' (performance warning)
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/complex.h(177): warning C4814: 'c10::complex::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/complex.h(299): note: see reference to class template instantiation 'c10::complex' being compiled
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/DispatchKeySet.h(57): note: see reference to class template instantiation 'std::initializer_listc10::DispatchKey' being compiled
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/complex.h(182): warning C4814: 'c10::complex::operator +=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/complex.h(187): warning C4814: 'c10::complex::operator -=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/complex.h(193): warning C4814: 'c10::complex::operator *=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/complex.h(199): warning C4814: 'c10::complex::operator /=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/complex.h(206): warning C4814: 'c10::complex::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/complex.h(213): warning C4814: 'c10::complex::operator +=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/complex.h(220): warning C4814: 'c10::complex::operator -=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/complex.h(232): warning C4814: 'c10::complex::operator *=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/complex.h(251): warning C4814: 'c10::complex::operator /=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/complex.h(259): warning C4814: 'c10::complex::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/complex.h(292): warning C4814: 'c10::complex::real': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/complex.h(298): warning C4814: 'c10::complex::imag': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/complex.h(177): warning C4814: 'c10::complex::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/complex.h(303): note: see reference to class template instantiation 'c10::complex' being compiled
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/complex.h(182): warning C4814: 'c10::complex::operator +=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/complex.h(187): warning C4814: 'c10::complex::operator -=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/complex.h(193): warning C4814: 'c10::complex::operator *=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/complex.h(199): warning C4814: 'c10::complex::operator /=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/complex.h(206): warning C4814: 'c10::complex::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/complex.h(213): warning C4814: 'c10::complex::operator +=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/complex.h(220): warning C4814: 'c10::complex::operator -=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/complex.h(232): warning C4814: 'c10::complex::operator *=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/complex.h(251): warning C4814: 'c10::complex::operator /=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/complex.h(259): warning C4814: 'c10::complex::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/complex.h(292): warning C4814: 'c10::complex::real': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/complex.h(298): warning C4814: 'c10::complex::imag': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/complex.h(177): warning C4814: 'c10::complex::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/complex.h(307): note: see reference to class template instantiation 'c10::complex' being compiled
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/complex.h(182): warning C4814: 'c10::complex::operator +=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const
'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/complex.h(187): warning C4814: 'c10::complex::operator -=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const
'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/complex.h(193): warning C4814: 'c10::complex::operator *=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const
'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/complex.h(199): warning C4814: 'c10::complex::operator /=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const
'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/complex.h(206): warning C4814: 'c10::complex::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/complex.h(213): warning C4814: 'c10::complex::operator +=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const
'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/complex.h(220): warning C4814: 'c10::complex::operator -=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const
'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/complex.h(232): warning C4814: 'c10::complex::operator *=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const
'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/complex.h(251): warning C4814: 'c10::complex::operator /=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const
'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/complex.h(259): warning C4814: 'c10::complex::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/complex.h(292): warning C4814: 'c10::complex::real': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/complex.h(298): warning C4814: 'c10::complex::imag': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/Optional.h(476): warning C4814: 'c10::optional::contained_val': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/Optional.h(688): note: see reference to class template instantiation 'c10::optional' being compiled
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/Optional.h(479): warning C4814: 'c10::optional::contained_val': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/Optional.h(638): warning C4814: 'c10::optional::operator ->': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/Optional.h(647): warning C4814: 'c10::optional::operator *': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/Optional.h(652): warning C4814: 'c10::optional::operator *': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/Optional.h(664): warning C4814: 'c10::optional::value': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/Optional.h(670): warning C4814: 'c10::optional::value': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/Optional.h(682): warning C4814: 'c10::optional::value_or': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/Scalar.h(63): warning C4800: 'const int64_t': forcing value to bool 'true' or 'false' (performance warning)
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/Scalar.h(129): warning C4800: 'const int64_t': forcing value to bool 'true' or 'false' (performance warning)
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/reverse_iterator.h(92): warning C4814: 'c10::reverse_iterator<_Iterator>::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitl
y specifying 'const'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/reverse_iterator.h(176): note: see reference to class template instantiation 'c10::reverse_iterator<_Iterator>' being compiled
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/reverse_iterator.h(125): warning C4814: 'c10::reverse_iterator<_Iterator>::operator ++': in C++14 'constexpr' will not imply 'const'; consider explici
tly specifying 'const'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/reverse_iterator.h(131): warning C4814: 'c10::reverse_iterator<_Iterator>::operator ++': in C++14 'constexpr' will not imply 'const'; consider explici
tly specifying 'const'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/reverse_iterator.h(136): warning C4814: 'c10::reverse_iterator<_Iterator>::operator --': in C++14 'constexpr' will not imply 'const'; consider explici
tly specifying 'const'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/reverse_iterator.h(142): warning C4814: 'c10::reverse_iterator<_Iterator>::operator --': in C++14 'constexpr' will not imply 'const'; consider explici
tly specifying 'const'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/reverse_iterator.h(151): warning C4814: 'c10::reverse_iterator<_Iterator>::operator +=': in C++14 'constexpr' will not imply 'const'; consider explici
tly specifying 'const'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/reverse_iterator.h(160): warning C4814: 'c10::reverse_iterator<_Iterator>::operator -=': in C++14 'constexpr' will not imply 'const'; consider explici
tly specifying 'const'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/string_view.h(59): warning C4814: 'c10::basic_string_view::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specif
ying 'const'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/string_view.h(642): note: see reference to class template instantiation 'c10::basic_string_view' being compiled
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/string_view.h(160): warning C4814: 'c10::basic_string_view::remove_prefix': in C++14 'constexpr' will not imply 'const'; consider explicitly sp
ecifying 'const'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/string_view.h(169): warning C4814: 'c10::basic_string_view::remove_suffix': in C++14 'constexpr' will not imply 'const'; consider explicitly sp
ecifying 'const'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/string_view.h(175): warning C4814: 'c10::basic_string_view::swap': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying
'const'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/ConstexprCrc.h(103): error C3250: 'i': declaration is not allowed in 'constexpr' function body
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/ConstexprCrc.h(103): error C3249: illegal statement or sub-expression for 'constexpr' function
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/ConstexprCrc.h(103): note: see usage of '++'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/ConstexprCrc.h(104): error C3249: illegal statement or sub-expression for 'constexpr' function
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/ConstexprCrc.h(105): error C3249: illegal statement or sub-expression for 'constexpr' function
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/string_view.h(59): warning C4814: 'c10::basic_string_view::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specify
ing 'const'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/ConstexprCrc.h(123): note: see reference to class template instantiation 'c10::basic_string_view' being compiled
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/string_view.h(160): warning C4814: 'c10::basic_string_view::remove_prefix': in C++14 'constexpr' will not imply 'const'; consider explicitly spe
cifying 'const'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/string_view.h(169): warning C4814: 'c10::basic_string_view::remove_suffix': in C++14 'constexpr' will not imply 'const'; consider explicitly spe
cifying 'const'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/string_view.h(175): warning C4814: 'c10::basic_string_view::swap': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying '
const'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/Optional.h(476): warning C4814: 'c10::optionalc10::ScalarType::contained_val': in C++14 'constexpr' will not imply 'const'; consider explicitly spec
ifying 'const'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/ScalarTypeToTypeMeta.h(30): note: see reference to class template instantiation 'c10::optionalc10::ScalarType' being compiled
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/Optional.h(477): error C2556: 'c10::ScalarType &c10::optionalc10::ScalarType::contained_val(void) const &': overloaded function differs only by retu
rn type from 'const c10::ScalarType &c10::optionalc10::ScalarType::contained_val(void) const &'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/Optional.h(471): note: see declaration of 'c10::optionalc10::ScalarType::contained_val'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/Optional.h(477): error C2373: 'c10::optionalc10::ScalarType::contained_val': redefinition; different type modifiers
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/Optional.h(471): note: see declaration of 'c10::optionalc10::ScalarType::contained_val'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/Optional.h(478): error C2059: syntax error: 'return'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/Optional.h(478): error C2238: unexpected token(s) preceding ';'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/Optional.h(481): error C2144: syntax error: 'void' should be preceded by ';'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/Optional.h(476): warning C4814: 'c10::optionalcaffe2::TypeMeta::contained_val': in C++14 'constexpr' will not imply 'const'; consider explicitly spe
cifying 'const'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/ScalarTypeToTypeMeta.h(30): note: see reference to class template instantiation 'c10::optionalcaffe2::TypeMeta' being compiled
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/Optional.h(477): error C2556: 'caffe2::TypeMeta &c10::optionalcaffe2::TypeMeta::contained_val(void) const &': overloaded function differs only by re
turn type from 'const caffe2::TypeMeta &c10::optionalcaffe2::TypeMeta::contained_val(void) const &'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/Optional.h(471): note: see declaration of 'c10::optionalcaffe2::TypeMeta::contained_val'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/Optional.h(477): error C2373: 'c10::optionalcaffe2::TypeMeta::contained_val': redefinition; different type modifiers
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/Optional.h(471): note: see declaration of 'c10::optionalcaffe2::TypeMeta::contained_val'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/ScalarTypeToTypeMeta.h(31): error C2039: 'has_value': is not a member of 'c10::optionalcaffe2::TypeMeta'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/ScalarTypeToTypeMeta.h(30): note: see declaration of 'c10::optionalcaffe2::TypeMeta'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/ScalarTypeToTypeMeta.h(32): error C2440: 'return': cannot convert from 'const c10::nullopt_t' to 'c10::optionalc10::ScalarType'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/ScalarTypeToTypeMeta.h(32): note: No constructor could take the source type, or constructor overload resolution was ambiguous
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/ScalarTypeToTypeMeta.h(34): error C2819: type 'c10::optionalcaffe2::TypeMeta' does not have an overloaded member 'operator ->'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/ScalarTypeToTypeMeta.h(30): note: see declaration of 'c10::optionalcaffe2::TypeMeta'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/ScalarTypeToTypeMeta.h(34): note: did you intend to use '.' instead?
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/ScalarTypeToTypeMeta.h(34): error C2039: 'toScalarType': is not a member of 'c10::optionalcaffe2::TypeMeta'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/ScalarTypeToTypeMeta.h(30): note: see declaration of 'c10::optionalcaffe2::TypeMeta'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/Optional.h(476): warning C4814: 'c10::optionalc10::Layout::contained_val': in C++14 'constexpr' will not imply 'const'; consider explicitly specifyi
ng 'const'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/TensorOptions.h(36): note: see reference to class template instantiation 'c10::optionalc10::Layout' being compiled
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/Optional.h(477): error C2556: 'c10::Layout &c10::optionalc10::Layout::contained_val(void) const &': overloaded function differs only by return type
from 'const c10::Layout &c10::optionalc10::Layout::contained_val(void) const &'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/Optional.h(471): note: see declaration of 'c10::optionalc10::Layout::contained_val'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/Optional.h(477): error C2373: 'c10::optionalc10::Layout::contained_val': redefinition; different type modifiers
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/Optional.h(471): note: see declaration of 'c10::optionalc10::Layout::contained_val'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/TensorOptions.h(37): error C2039: 'value_or': is not a member of 'c10::optionalc10::Layout'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/TensorOptions.h(24): note: see declaration of 'c10::optionalc10::Layout'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/Optional.h(476): warning C4814: 'c10::optionalc10::Device::contained_val': in C++14 'constexpr' will not imply 'const'; consider explicitly specifyi
ng 'const'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/TensorOptions.h(40): note: see reference to class template instantiation 'c10::optionalc10::Device' being compiled
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/Optional.h(477): error C2556: 'c10::Device &c10::optionalc10::Device::contained_val(void) const &': overloaded function differs only by return type
from 'const c10::Device &c10::optionalc10::Device::contained_val(void) const &'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/Optional.h(471): note: see declaration of 'c10::optionalc10::Device::contained_val'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/Optional.h(477): error C2373: 'c10::optionalc10::Device::contained_val': redefinition; different type modifiers
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/Optional.h(471): note: see declaration of 'c10::optionalc10::Device::contained_val'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/Optional.h(476): warning C4814: 'c10::optional::contained_val': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'con
st'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/TensorOptions.h(44): note: see reference to class template instantiation 'c10::optional' being compiled
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/Optional.h(477): error C2556: 'bool &c10::optional::contained_val(void) const &': overloaded function differs only by return type from 'const bo
ol &c10::optional::contained_val(void) const &'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/Optional.h(471): note: see declaration of 'c10::optional::contained_val'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/Optional.h(477): error C2373: 'c10::optional::contained_val': redefinition; different type modifiers
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/Optional.h(471): note: see declaration of 'c10::optional::contained_val'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/TensorOptions.h(45): error C2039: 'value_or': is not a member of 'c10::optional'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/TensorOptions.h(44): note: see declaration of 'c10::optional'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/TensorOptions.h(148): error C2664: 'void c10::TensorOptions::set_layout(c10::optionalc10::Layout) noexcept &': cannot convert argument 1 from 'c10::
Layout' to 'c10::optionalc10::Layout'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/TensorOptions.h(148): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/TensorOptions.h(177): error C2664: 'void c10::TensorOptions::set_dtype(c10::optionalc10::ScalarType) noexcept &': cannot convert argument 1 from 'ca
ffe2::TypeMeta' to 'c10::optionalcaffe2::TypeMeta'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/TensorOptions.h(177): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/TensorOptions.h(182): error C2664: 'void c10::TensorOptions::set_dtype(c10::optionalc10::ScalarType) noexcept &': cannot convert argument 1 from 'c1
0::ScalarType' to 'c10::optionalcaffe2::TypeMeta'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/TensorOptions.h(182): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/Optional.h(476): warning C4814: 'c10::optionalc10::MemoryFormat::contained_val': in C++14 'constexpr' will not imply 'const'; consider explicitly sp
ecifying 'const'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/TensorOptions.h(187): note: see reference to class template instantiation 'c10::optionalc10::MemoryFormat' being compiled
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/Optional.h(477): error C2556: 'c10::MemoryFormat &c10::optionalc10::MemoryFormat::contained_val(void) const &': overloaded function differs only by
return type from 'const c10::MemoryFormat &c10::optionalc10::MemoryFormat::contained_val(void) const &'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/Optional.h(471): note: see declaration of 'c10::optionalc10::MemoryFormat::contained_val'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/Optional.h(477): error C2373: 'c10::optionalc10::MemoryFormat::contained_val': redefinition; different type modifiers
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/Optional.h(471): note: see declaration of 'c10::optionalc10::MemoryFormat::contained_val'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/TensorOptions.h(187): error C2664: 'void c10::TensorOptions::set_memory_format(c10::optionalc10::MemoryFormat) noexcept &': cannot convert argument
1 from 'c10::MemoryFormat' to 'c10::optionalc10::MemoryFormat'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/TensorOptions.h(187): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/TensorOptions.h(287): error C2446: ':': no conversion from 'const c10::nullopt_t' to 'c10::optionalc10::Device'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/TensorOptions.h(287): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/TensorOptions.h(308): error C2446: ':': no conversion from 'const c10::nullopt_t' to 'c10::optionalcaffe2::TypeMeta'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/TensorOptions.h(308): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/TensorOptions.h(324): error C2446: ':': no conversion from 'const c10::nullopt_t' to 'c10::optionalc10::Layout'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/TensorOptions.h(324): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/TensorOptions.h(341): error C2446: ':': no conversion from 'const c10::nullopt_t' to 'c10::optional'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/TensorOptions.h(341): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/TensorOptions.h(373): error C2446: ':': no conversion from 'const c10::nullopt_t' to 'c10::optional'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/TensorOptions.h(373): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/TensorOptions.h(388): error C2446: ':': no conversion from 'const c10::nullopt_t' to 'c10::optionalc10::MemoryFormat'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/TensorOptions.h(388): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/TensorOptions.h(429): error C2039: 'has_value': is not a member of 'c10::optionalc10::MemoryFormat'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/TensorOptions.h(268): note: see declaration of 'c10::optionalc10::MemoryFormat'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/TensorOptions.h(430): error C2100: illegal indirection
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/TensorOptions.h(459): error C2451: conditional expression of type 'c10::optionalc10::Device' is illegal
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/TensorOptions.h(459): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/TensorOptions.h(460): error C2100: illegal indirection
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/TensorOptions.h(469): error C2451: conditional expression of type 'c10::optionalcaffe2::TypeMeta' is illegal
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/TensorOptions.h(469): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/TensorOptions.h(470): error C2100: illegal indirection
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/TensorOptions.h(479): error C2451: conditional expression of type 'c10::optionalc10::ScalarType' is illegal
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/TensorOptions.h(479): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/TensorOptions.h(480): error C2100: illegal indirection
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/TensorOptions.h(489): error C2451: conditional expression of type 'c10::optionalc10::Layout' is illegal
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/TensorOptions.h(489): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/TensorOptions.h(490): error C2100: illegal indirection
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/TensorOptions.h(490): error C2440: '=': cannot convert from 'c10::optionalc10::Layout' to 'c10::Layout'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/TensorOptions.h(490): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/TensorOptions.h(499): error C2451: conditional expression of type 'c10::optional' is illegal
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/TensorOptions.h(499): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/TensorOptions.h(500): error C2100: illegal indirection
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/TensorOptions.h(500): error C2440: '=': cannot convert from 'c10::optional' to 'bool'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/TensorOptions.h(500): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/TensorOptions.h(509): error C2451: conditional expression of type 'c10::optional' is illegal
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/TensorOptions.h(509): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/TensorOptions.h(510): error C2100: illegal indirection
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/TensorOptions.h(510): error C2440: '=': cannot convert from 'c10::optional' to 'bool'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/TensorOptions.h(510): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/TensorOptions.h(519): error C2451: conditional expression of type 'c10::optionalc10::MemoryFormat' is illegal
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/TensorOptions.h(519): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/TensorOptions.h(520): error C2100: illegal indirection
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/TensorOptions.h(520): error C2440: '=': cannot convert from 'c10::optionalc10::MemoryFormat' to 'c10::MemoryFormat'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/TensorOptions.h(520): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/TensorOptions.h(568): error C2664: 'caffe2::TypeMeta c10::TensorOptions::dtype(void) noexcept const': cannot convert argument 1 from 'caffe2::TypeMeta
' to 'c10::optionalcaffe2::TypeMeta'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/TensorOptions.h(568): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/TensorOptions.h(573): error C2664: 'caffe2::TypeMeta c10::TensorOptions::dtype(void) noexcept const': cannot convert argument 1 from 'caffe2::TypeMeta
' to 'c10::optionalcaffe2::TypeMeta'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/TensorOptions.h(573): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/TensorOptions.h(579): error C2664: 'c10::Layout c10::TensorOptions::layout(void) noexcept const': cannot convert argument 1 from 'c10::Layout' to 'c10
::optionalc10::Layout'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/TensorOptions.h(579): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/TensorOptions.h(597): error C2664: 'bool c10::TensorOptions::requires_grad(void) noexcept const': cannot convert argument 1 from 'bool' to 'c10::optio
nal'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/TensorOptions.h(597): note: No constructor could take the source type, or constructor overload resolution was ambiguous
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/TensorOptions.h(603): error C2664: 'c10::TensorOptions c10::TensorOptions::memory_format(c10::optionalc10::MemoryFormat) noexcept const': cannot con
vert argument 1 from 'c10::MemoryFormat' to 'c10::optionalc10::MemoryFormat'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/TensorOptions.h(603): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/TensorOptions.h(795): error C2664: 'c10::Layout c10::TensorOptions::layout(void) noexcept const': cannot convert argument 1 from 'c10::Layout' to 'c10
::optionalc10::Layout'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/TensorOptions.h(795): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/TensorOptions.h(796): error C2228: left of '.device' must have class/struct/union
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/TensorImpl.h(720): error C2039: 'has_value': is not a member of 'c10::optionalc10::Device'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/TensorOptions.h(25): note: see declaration of 'c10::optionalc10::Device'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/TensorImpl.h(722): error C2100: illegal indirection
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/TensorImpl.h(722): error C2039: 'index': is not a member of 'c10::optionalc10::Device'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/TensorOptions.h(25): note: see declaration of 'c10::optionalc10::Device'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/TensorImpl.h(726): error C2039: 'has_value': is not a member of 'c10::optionalc10::Device'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/TensorOptions.h(25): note: see declaration of 'c10::optionalc10::Device'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/TensorImpl.h(728): error C2100: illegal indirection
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/TensorImpl.h(1327): error C2039: 'has_value': is not a member of 'c10::optionalc10::Device'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/TensorOptions.h(25): note: see declaration of 'c10::optionalc10::Device'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/TensorImpl.h(1331): error C2100: illegal indirection
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/TensorImpl.h(1331): error C2039: 'type': is not a member of 'c10::optionalc10::Device'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/TensorOptions.h(25): note: see declaration of 'c10::optionalc10::Device'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/TensorImpl.h(1562): error C2679: binary '=': no operator found which takes a right-hand operand of type 'c10::Device' (or there is no acceptable conve
rsion)
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/Optional.h(479): note: could be 'c10::optionalc10::Device &c10::optionalc10::Device::operator =(c10::optionalc10::Device &&)'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/Optional.h(479): note: or 'c10::optionalc10::Device &c10::optionalc10::Device::operator =(const c10::optionalc10::Device &)'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/TensorImpl.h(1562): note: while trying to match the argument list '(c10::optionalc10::Device, c10::Device)'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/TensorImpl.h(1573): error C2679: binary '=': no operator found which takes a right-hand operand of type 'c10::Device' (or there is no acceptable conve
rsion)
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/Optional.h(479): note: could be 'c10::optionalc10::Device &c10::optionalc10::Device::operator =(c10::optionalc10::Device &&)'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/Optional.h(479): note: or 'c10::optionalc10::Device &c10::optionalc10::Device::operator =(const c10::optionalc10::Device &)'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/TensorImpl.h(1573): note: while trying to match the argument list '(c10::optionalc10::Device, c10::Device)'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/TensorImpl.h(1637): error C2679: binary '=': no operator found which takes a right-hand operand of type 'c10::Device' (or there is no acceptable conve
rsion)
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/Optional.h(479): note: could be 'c10::optionalc10::Device &c10::optionalc10::Device::operator =(c10::optionalc10::Device &&)'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/Optional.h(479): note: or 'c10::optionalc10::Device &c10::optionalc10::Device::operator =(const c10::optionalc10::Device &)'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/TensorImpl.h(1637): note: while trying to match the argument list '(c10::optionalc10::Device, c10::Device)'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/TensorImpl.h(1687): error C2679: binary '=': no operator found which takes a right-hand operand of type 'c10::Device' (or there is no acceptable conve
rsion)
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/Optional.h(479): note: could be 'c10::optionalc10::Device &c10::optionalc10::Device::operator =(c10::optionalc10::Device &&)'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/Optional.h(479): note: or 'c10::optionalc10::Device &c10::optionalc10::Device::operator =(const c10::optionalc10::Device &)'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/TensorImpl.h(1687): note: while trying to match the argument list '(c10::optionalc10::Device, c10::Device)'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\ATen/core/DeprecatedTypeProperties.h(99): error C2664: 'caffe2::TypeMeta c10::TensorOptions::dtype(void) noexcept const': cannot convert argument 1 from 'caffe
2::TypeMeta' to 'c10::optionalcaffe2::TypeMeta'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\ATen/core/DeprecatedTypeProperties.h(99): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be calle
d
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\ATen/core/DeprecatedTypeProperties.h(100): error C2228: left of '.device' must have class/struct/union
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\ATen/core/DeprecatedTypeProperties.h(101): error C2228: left of '.layout' must have class/struct/union
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\ATen/core/DeprecatedTypeProperties.h(107): error C2039: 'has_value': is not a member of 'c10::optionalc10::Device'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/TensorOptions.h(25): note: see declaration of 'c10::optionalc10::Device'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\ATen/core/DeprecatedTypeProperties.h(110): error C2039: 'value': is not a member of 'c10::optionalc10::Device'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/TensorOptions.h(25): note: see declaration of 'c10::optionalc10::Device'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\ATen/core/DeprecatedTypeProperties.h(110): error C2512: 'c10::Device': no appropriate default constructor available
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/Device.h(30): note: see declaration of 'c10::Device'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/Optional.h(476): warning C4814: 'c10::optionalat::TensorList::contained_val': in C++14 'constexpr' will not imply 'const'; consider explicitly speci
fying 'const'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\ATen/core/TensorBody.h(661): note: see reference to class template instantiation 'c10::optionalat::TensorList' being compiled
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/core/MemoryFormat.h(63): note: see reference to class template instantiation 'c10::ArrayRef<int64_t>' being compiled
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/Optional.h(477): error C2556: 'at::TensorList &c10::optionalat::TensorList::contained_val(void) const &': overloaded function differs only by return
type from 'const at::TensorList &c10::optionalat::TensorList::contained_val(void) const &'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/Optional.h(471): note: see declaration of 'c10::optionalat::TensorList::contained_val'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/Optional.h(477): error C2373: 'c10::optionalat::TensorList::contained_val': redefinition; different type modifiers
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/Optional.h(471): note: see declaration of 'c10::optionalat::TensorList::contained_val'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\ATen/core/TensorBody.h(661): error C2440: 'default argument': cannot convert from 'const c10::nullopt_t' to 'c10::optionalat::TensorList'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\ATen/core/TensorBody.h(661): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\ATen/core/TensorBody.h(661): error C2440: 'default argument': cannot convert from 'const c10::nullopt_t' to 'c10::optional'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\ATen/core/TensorBody.h(661): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\ATen/core/TensorBody.h(734): error C2440: 'default argument': cannot convert from 'const c10::nullopt_t' to 'c10::optional'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\ATen/core/TensorBody.h(734): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/Optional.h(183): warning C4624: 'c10::constexpr_storage_t': destructor was implicitly defined as deleted
with
[
T=at::Tensor
]
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/Optional.h(367): note: see reference to class template instantiation 'c10::constexpr_storage_t' being compiled
with
[
T=at::Tensor
]
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\type_traits(487): note: see reference to class template instantiation 'c10::trivially_copyable_optimization_optional_base' being compiled
with
[
T=at::Tensor
]
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\type_traits(499): note: see reference to class template instantiation 'std::is_constructible<_Ty,const c10::trivially_copyable_optimization_optional_base &>' being co
mpiled
with
[
_Ty=c10::trivially_copyable_optimization_optional_baseat::Tensor,
T=at::Tensor
]
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/Optional.h(408): note: see reference to class template instantiation 'std::is_copy_constructible<c10::trivially_copyable_optimization_optional_base
' being compiled
with
[
T=at::Tensor
]
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/Optional.h(427): note: see reference to class template instantiation 'OptionalBaseat::Tensor' being compiled
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\ATen/core/TensorBody.h(734): note: see reference to class template instantiation 'c10::optionalat::Tensor' being compiled
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/Optional.h(395): warning C4624: 'c10::trivially_copyable_optimization_optional_base': destructor was implicitly defined as deleted
with
[
T=at::Tensor
]
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/Optional.h(476): warning C4814: 'c10::optionalat::Tensor::contained_val': in C++14 'constexpr' will not imply 'const'; consider explicitly specifyin
g 'const'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/Optional.h(477): error C2556: 'at::Tensor &c10::optionalat::Tensor::contained_val(void) const &': overloaded function differs only by return type fr
om 'const at::Tensor &c10::optionalat::Tensor::contained_val(void) const &'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/Optional.h(471): note: see declaration of 'c10::optionalat::Tensor::contained_val'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/Optional.h(477): error C2373: 'c10::optionalat::Tensor::contained_val': redefinition; different type modifiers
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/Optional.h(471): note: see declaration of 'c10::optionalat::Tensor::contained_val'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/Optional.h(476): warning C4814: 'c10::optional<int64_t>::contained_val': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying '
const'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\ATen/core/TensorBody.h(774): note: see reference to class template instantiation 'c10::optional<int64_t>' being compiled
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/Optional.h(477): error C2556: 'int64_t &c10::optional<int64_t>::contained_val(void) const &': overloaded function differs only by return type from 'co
nst int64_t &c10::optional<int64_t>::contained_val(void) const &'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/Optional.h(471): note: see declaration of 'c10::optional<int64_t>::contained_val'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/Optional.h(477): error C2373: 'c10::optional<int64_t>::contained_val': redefinition; different type modifiers
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/Optional.h(471): note: see declaration of 'c10::optional<int64_t>::contained_val'
D:\ProgramData\Anaconda3\envs\pytorch191\lib\site-packages\torch\include\c10/util/Optional.h(477): fatal error C1003: error count exceeds 100; stopping compilation
error: command 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\cl.exe' failed with exit status 2