SHARE
TWEET

Libtorch make output - Code

a guest Jun 13th, 2019 6 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [1/2] C:\PROGRA~2\MICROS~1\2019\COMMUN~1\VC\Tools\MSVC\1421~1.277\bin\HostX64\x64\cl.exe  /nologo /TP  -IC:\Users\krshr\Downloads\libtorch\libtorch\include -IC:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\api\include /DWIN32 /D_WINDOWS /W3 /GR /EHsc /MD /O2 /Ob2 /DNDEBUG /showIncludes /FoCMakeFiles\example.dir\training_VGG.cpp.obj /FdCMakeFiles\example.dir\ /FS -c ..\..\..\training_VGG.cpp
  2. C:\Users\krshr\Downloads\libtorch\libtorch\include\c10\util\Exception.h(27): warning C4275: non dll-interface class 'std::exception' used as base for dll-interface class 'c10::Error'
  3.   C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.21.27702\include\vcruntime_exception.h(44): note: see declaration of 'std::exception'
  4.   C:\Users\krshr\Downloads\libtorch\libtorch\include\c10/util/Exception.h(27): note: see declaration of 'c10::Error'
  5. C:\Users\krshr\Downloads\libtorch\libtorch\include\c10\util\Exception.h(28): warning C4251: 'c10::Error::msg_stack_': class 'std::vector<std::string,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'c10::Error'
  6.           with
  7.           [
  8.               _Ty=std::string
  9.           ]
  10.   C:\Users\krshr\Downloads\libtorch\libtorch\include\c10/util/Exception.h(28): note: see declaration of 'std::vector<std::string,std::allocator<_Ty>>'
  11.           with
  12.           [
  13.               _Ty=std::string
  14.           ]
  15. C:\Users\krshr\Downloads\libtorch\libtorch\include\c10\util\Exception.h(29): warning C4251: 'c10::Error::backtrace_': class 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>' needs to have dll-interface to be used by clients of class 'c10::Error'
  16.   C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.21.27702\include\xstring(4231): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'
  17. C:\Users\krshr\Downloads\libtorch\libtorch\include\c10\util\Exception.h(34): warning C4251: 'c10::Error::msg_': class 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>' needs to have dll-interface to be used by clients of class 'c10::Error'
  18.   C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.21.27702\include\xstring(4231): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'
  19. C:\Users\krshr\Downloads\libtorch\libtorch\include\c10\util\Exception.h(35): warning C4251: 'c10::Error::msg_without_backtrace_': class 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>' needs to have dll-interface to be used by clients of class 'c10::Error'
  20.   C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.21.27702\include\xstring(4231): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'
  21. C:\Users\krshr\Downloads\libtorch\libtorch\include\c10\core\Allocator.h(21): warning C4251: 'c10::DataPtr::ptr_': class 'c10::detail::UniqueVoidPtr' needs to have dll-interface to be used by clients of class 'c10::DataPtr'
  22.   C:\Users\krshr\Downloads\libtorch\libtorch\include\c10/util/UniqueVoidPtr.h(38): note: see declaration of 'c10::detail::UniqueVoidPtr'
  23. C:\Users\krshr\Downloads\libtorch\libtorch\include\c10\core\Allocator.h(183): warning C4251: 'c10::InefficientStdFunctionContext::ptr_': class 'std::unique_ptr<void,std::function<void (void *)>>' needs to have dll-interface to be used by clients of struct 'c10::InefficientStdFunctionContext'
  24.   C:\Users\krshr\Downloads\libtorch\libtorch\include\c10/core/Allocator.h(183): note: see declaration of 'std::unique_ptr<void,std::function<void (void *)>>'
  25. C:\Users\krshr\Downloads\libtorch\libtorch\include\c10\core\TensorTypeIdRegistration.h(32): warning C4251: 'c10::TensorTypeIdCreator::last_id_': struct 'std::atomic<unsigned char>' needs to have dll-interface to be used by clients of class 'c10::TensorTypeIdCreator'
  26.   C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.21.27702\include\atomic(1821): note: see declaration of 'std::atomic<unsigned char>'
  27. C:\Users\krshr\Downloads\libtorch\libtorch\include\c10\core\TensorTypeIdRegistration.h(45): warning C4251: 'c10::TensorTypeIdRegistry::registeredTypeIds_': class 'std::unordered_set<c10::TensorTypeId,std::hash<c10::TensorTypeId>,std::equal_to<_Kty>,std::allocator<_Kty>>' needs to have dll-interface to be used by clients of class 'c10::TensorTypeIdRegistry'
  28.           with
  29.           [
  30.               _Kty=c10::TensorTypeId
  31.           ]
  32.   C:\Users\krshr\Downloads\libtorch\libtorch\include\c10/core/TensorTypeIdRegistration.h(45): note: see declaration of 'std::unordered_set<c10::TensorTypeId,std::hash<c10::TensorTypeId>,std::equal_to<_Kty>,std::allocator<_Kty>>'
  33.           with
  34.           [
  35.               _Kty=c10::TensorTypeId
  36.           ]
  37. C:\Users\krshr\Downloads\libtorch\libtorch\include\c10\core\TensorTypeIdRegistration.h(46): warning C4251: 'c10::TensorTypeIdRegistry::mutex_': class 'std::mutex' needs to have dll-interface to be used by clients of class 'c10::TensorTypeIdRegistry'
  38.   C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.21.27702\include\mutex(82): note: see declaration of 'std::mutex'
  39. C:\Users\krshr\Downloads\libtorch\libtorch\include\c10\util\Half-inl.h(168): warning C4244: 'argument': conversion from 'int' to 'float', possible loss of data
  40. C:\Users\krshr\Downloads\libtorch\libtorch\include\c10\util\Half-inl.h(171): warning C4244: 'argument': conversion from 'int' to 'float', possible loss of data
  41. C:\Users\krshr\Downloads\libtorch\libtorch\include\c10\util\Half-inl.h(174): warning C4244: 'argument': conversion from 'int' to 'float', possible loss of data
  42. C:\Users\krshr\Downloads\libtorch\libtorch\include\c10\util\Half-inl.h(177): warning C4244: 'argument': conversion from 'int' to 'float', possible loss of data
  43. C:\Users\krshr\Downloads\libtorch\libtorch\include\c10\util\Half-inl.h(181): warning C4244: 'argument': conversion from 'int' to 'float', possible loss of data
  44. C:\Users\krshr\Downloads\libtorch\libtorch\include\c10\util\Half-inl.h(184): warning C4244: 'argument': conversion from 'int' to 'float', possible loss of data
  45. C:\Users\krshr\Downloads\libtorch\libtorch\include\c10\util\Half-inl.h(187): warning C4244: 'argument': conversion from 'int' to 'float', possible loss of data
  46. C:\Users\krshr\Downloads\libtorch\libtorch\include\c10\util\Half-inl.h(190): warning C4244: 'argument': conversion from 'int' to 'float', possible loss of data
  47. C:\Users\krshr\Downloads\libtorch\libtorch\include\c10\util\Half-inl.h(196): warning C4244: 'argument': conversion from 'int64_t' to 'float', possible loss of data
  48. C:\Users\krshr\Downloads\libtorch\libtorch\include\c10\util\Half-inl.h(199): warning C4244: 'argument': conversion from 'int64_t' to 'float', possible loss of data
  49. C:\Users\krshr\Downloads\libtorch\libtorch\include\c10\util\Half-inl.h(202): warning C4244: 'argument': conversion from 'int64_t' to 'float', possible loss of data
  50. C:\Users\krshr\Downloads\libtorch\libtorch\include\c10\util\Half-inl.h(205): warning C4244: 'argument': conversion from 'int64_t' to 'float', possible loss of data
  51. C:\Users\krshr\Downloads\libtorch\libtorch\include\c10\util\Half-inl.h(209): warning C4244: 'argument': conversion from 'int64_t' to 'float', possible loss of data
  52. C:\Users\krshr\Downloads\libtorch\libtorch\include\c10\util\Half-inl.h(212): warning C4244: 'argument': conversion from 'int64_t' to 'float', possible loss of data
  53. C:\Users\krshr\Downloads\libtorch\libtorch\include\c10\util\Half-inl.h(215): warning C4244: 'argument': conversion from 'int64_t' to 'float', possible loss of data
  54. C:\Users\krshr\Downloads\libtorch\libtorch\include\c10\util\Half-inl.h(218): warning C4244: 'argument': conversion from 'int64_t' to 'float', possible loss of data
  55. C:\Users\krshr\Downloads\libtorch\libtorch\include\c10\util\intrusive_ptr.h(58): warning C4251: 'c10::intrusive_ptr_target::refcount_': struct 'std::atomic<unsigned __int64>' needs to have dll-interface to be used by clients of class 'c10::intrusive_ptr_target'
  56.   C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.21.27702\include\atomic(1829): note: see declaration of 'std::atomic<unsigned __int64>'
  57. C:\Users\krshr\Downloads\libtorch\libtorch\include\c10\util\intrusive_ptr.h(59): warning C4251: 'c10::intrusive_ptr_target::weakcount_': struct 'std::atomic<unsigned __int64>' needs to have dll-interface to be used by clients of class 'c10::intrusive_ptr_target'
  58.   C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.21.27702\include\atomic(1829): note: see declaration of 'std::atomic<unsigned __int64>'
  59. C:\Users\krshr\Downloads\libtorch\libtorch\include\c10\util\intrusive_ptr.h(723): warning C4267: 'return': conversion from 'size_t' to 'uint32_t', possible loss of data
  60. C:\Users\krshr\Downloads\libtorch\libtorch\include\c10\util\intrusive_ptr.h(757): warning C4267: 'return': conversion from 'size_t' to 'uint32_t', possible loss of data
  61. C:\Users\krshr\Downloads\libtorch\libtorch\include\c10\core\Storage.h(181): warning C4251: 'c10::Storage::storage_impl_': class 'c10::intrusive_ptr<c10::StorageImpl,c10::detail::intrusive_target_default_null_type<TTarget>>' needs to have dll-interface to be used by clients of struct 'c10::Storage'
  62.           with
  63.           [
  64.               TTarget=c10::StorageImpl
  65.           ]
  66.   C:\Users\krshr\Downloads\libtorch\libtorch\include\c10/core/Storage.h(10): note: see declaration of 'c10::intrusive_ptr<c10::StorageImpl,c10::detail::intrusive_target_default_null_type<TTarget>>'
  67.           with
  68.           [
  69.               TTarget=c10::StorageImpl
  70.           ]
  71. C:\Users\krshr\Downloads\libtorch\libtorch\include\c10\util\logging_is_not_google_glog.h(47): warning C4251: 'c10::MessageLogger::stream_': class 'std::basic_stringstream<char,std::char_traits<char>,std::allocator<char>>' needs to have dll-interface to be used by clients of class 'c10::MessageLogger'
  72.   C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.21.27702\include\iosfwd(217): note: see declaration of 'std::basic_stringstream<char,std::char_traits<char>,std::allocator<char>>'
  73. C:\Users\krshr\Downloads\libtorch\libtorch\include\c10\core\TensorImpl.h(193): warning C4251: 'c10::VariableVersion::version_block_': class 'std::shared_ptr<std::atomic<unsigned int>>' needs to have dll-interface to be used by clients of struct 'c10::VariableVersion'
  74.   C:\Users\krshr\Downloads\libtorch\libtorch\include\c10/core/TensorImpl.h(193): note: see declaration of 'std::shared_ptr<std::atomic<unsigned int>>'
  75. C:\Users\krshr\Downloads\libtorch\libtorch\include\c10\core\TensorImpl.h(1466): warning C4251: 'c10::TensorImpl::autograd_meta_': class 'std::unique_ptr<c10::AutogradMetaInterface,std::default_delete<_Ty>>' needs to have dll-interface to be used by clients of struct 'c10::TensorImpl'
  76.           with
  77.           [
  78.               _Ty=c10::AutogradMetaInterface
  79.           ]
  80.   C:\Users\krshr\Downloads\libtorch\libtorch\include\c10/core/TensorImpl.h(893): note: see declaration of 'std::unique_ptr<c10::AutogradMetaInterface,std::default_delete<_Ty>>'
  81.           with
  82.           [
  83.               _Ty=c10::AutogradMetaInterface
  84.           ]
  85. C:\Users\krshr\Downloads\libtorch\libtorch\include\c10\core\TensorImpl.h(1476): warning C4251: 'c10::TensorImpl::sizes_': class 'c10::SmallVector<int64_t,5>' needs to have dll-interface to be used by clients of struct 'c10::TensorImpl'
  86.   C:\Users\krshr\Downloads\libtorch\libtorch\include\c10/core/TensorImpl.h(1476): note: see declaration of 'c10::SmallVector<int64_t,5>'
  87. C:\Users\krshr\Downloads\libtorch\libtorch\include\c10\core\TensorImpl.h(1477): warning C4251: 'c10::TensorImpl::strides_': class 'c10::SmallVector<int64_t,5>' needs to have dll-interface to be used by clients of struct 'c10::TensorImpl'
  88.   C:\Users\krshr\Downloads\libtorch\libtorch\include\c10/core/TensorImpl.h(1476): note: see declaration of 'c10::SmallVector<int64_t,5>'
  89. C:\Users\krshr\Downloads\libtorch\libtorch\include\c10\core\TensorImpl.h(1499): warning C4251: 'c10::TensorImpl::device_opt_': class 'c10::optional<c10::Device>' needs to have dll-interface to be used by clients of struct 'c10::TensorImpl'
  90.   C:\Users\krshr\Downloads\libtorch\libtorch\include\c10/core/TensorOptions.h(171): note: see declaration of 'c10::optional<c10::Device>'
  91. C:\Users\krshr\Downloads\libtorch\libtorch\include\c10\core\TensorImpl.h(1018): warning C4244: 'argument': conversion from 'float' to 'const _Ty', possible loss of data
  92.           with
  93.           [
  94.               _Ty=size_t
  95.           ]
  96. C:\Users\krshr\Downloads\libtorch\libtorch\include\c10\core\TensorImpl.h(1416): warning C4244: 'initializing': conversion from 'int64_t' to 'int', possible loss of data
  97. C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen\core\LegacyTypeDispatch.h(136): warning C4251: 'at::LegacyTypeDispatch::type_registry': class 'std::unique_ptr<at::Type,at::LegacyTypeDeleter>' needs to have dll-interface to be used by clients of class 'at::LegacyTypeDispatch'
  98.   C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen/core/LegacyTypeDispatch.h(51): note: see declaration of 'std::unique_ptr<at::Type,at::LegacyTypeDeleter>'
  99. C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen\core\DeprecatedTypePropertiesRegistry.h(27): warning C4251: 'at::DeprecatedTypePropertiesRegistry::registry': class 'std::unique_ptr<at::DeprecatedTypeProperties,std::default_delete<_Ty>>' needs to have dll-interface to be used by clients of class 'at::DeprecatedTypePropertiesRegistry'
  100.           with
  101.           [
  102.               _Ty=at::DeprecatedTypeProperties
  103.           ]
  104.   C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen/core/DeprecatedTypePropertiesRegistry.h(24): note: see declaration of 'std::unique_ptr<at::DeprecatedTypeProperties,std::default_delete<_Ty>>'
  105.           with
  106.           [
  107.               _Ty=at::DeprecatedTypeProperties
  108.           ]
  109. C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen\core\Tensor.h(773): warning C4251: 'at::Tensor::impl_': class 'c10::intrusive_ptr<c10::TensorImpl,c10::UndefinedTensorImpl>' needs to have dll-interface to be used by clients of class 'at::Tensor'
  110.   C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen/core/Tensor.h(58): note: see declaration of 'c10::intrusive_ptr<c10::TensorImpl,c10::UndefinedTensorImpl>'
  111. C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen\core\Tensor.h(774): warning C4522: 'at::Tensor': multiple assignment operators specified
  112. C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen\core\Tensor.h(801): warning C4251: 'at::WeakTensor::weak_impl_': class 'c10::weak_intrusive_ptr<TTarget,NullType>' needs to have dll-interface to be used by clients of struct 'at::WeakTensor'
  113.           with
  114.           [
  115.               TTarget=c10::TensorImpl,
  116.               NullType=c10::UndefinedTensorImpl
  117.           ]
  118.   C:\Users\krshr\Downloads\libtorch\libtorch\include\c10/util/intrusive_ptr.h(172): note: see declaration of 'c10::weak_intrusive_ptr<TTarget,NullType>'
  119.           with
  120.           [
  121.               TTarget=c10::TensorImpl,
  122.               NullType=c10::UndefinedTensorImpl
  123.           ]
  124. C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen\LegacyTHDispatch.h(122): warning C4251: 'at::LegacyTHDispatch::dispatcher_registry': class 'std::unique_ptr<at::LegacyTHDispatcher,at::LegacyTHDispatcherDeleter>' needs to have dll-interface to be used by clients of class 'at::LegacyTHDispatch'
  125.   C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen/LegacyTHDispatch.h(62): note: see declaration of 'std::unique_ptr<at::LegacyTHDispatcher,at::LegacyTHDispatcherDeleter>'
  126. C:\Users\krshr\Downloads\libtorch\libtorch\include\c10\core\Stream.h(126): warning C4244: 'argument': conversion from 'unsigned __int64' to 'c10::DeviceIndex', possible loss of data
  127. C:\Users\krshr\Downloads\libtorch\libtorch\include\c10\core\Stream.h(126): warning C4244: 'argument': conversion from 'unsigned __int64' to 'c10::StreamId', possible loss of data
  128. C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen\Context.h(134): warning C4251: 'at::Context::generator_registry': class 'std::unique_ptr<at::Generator,std::default_delete<_Ty>>' needs to have dll-interface to be used by clients of class 'at::Context'
  129.           with
  130.           [
  131.               _Ty=at::Generator
  132.           ]
  133.   C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen/core/Type.h(77): note: see declaration of 'std::unique_ptr<at::Generator,std::default_delete<_Ty>>'
  134.           with
  135.           [
  136.               _Ty=at::Generator
  137.           ]
  138. C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen\Context.h(151): warning C4251: 'at::Context::thc_init': struct 'std::once_flag' needs to have dll-interface to be used by clients of class 'at::Context'
  139.   C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.21.27702\include\xcall_once.h(18): note: see declaration of 'std::once_flag'
  140. C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen\Context.h(152): warning C4251: 'at::Context::thh_init': struct 'std::once_flag' needs to have dll-interface to be used by clients of class 'at::Context'
  141.   C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.21.27702\include\xcall_once.h(18): note: see declaration of 'std::once_flag'
  142. C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen\Context.h(153): warning C4251: 'at::Context::complex_init_': struct 'std::once_flag' needs to have dll-interface to be used by clients of class 'at::Context'
  143.   C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.21.27702\include\xcall_once.h(18): note: see declaration of 'std::once_flag'
  144. C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen\Context.h(157): warning C4251: 'at::Context::next_id': struct 'std::atomic<unsigned __int64>' needs to have dll-interface to be used by clients of class 'at::Context'
  145.   C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.21.27702\include\atomic(1829): note: see declaration of 'std::atomic<unsigned __int64>'
  146. C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen\Context.h(158): warning C4251: 'at::Context::thc_state': class 'std::unique_ptr<THCState,void (__cdecl *)(THCState *)>' needs to have dll-interface to be used by clients of class 'at::Context'
  147.   C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen/detail/CUDAHooksInterface.h(57): note: see declaration of 'std::unique_ptr<THCState,void (__cdecl *)(THCState *)>'
  148. C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen\Context.h(159): warning C4251: 'at::Context::thh_state': class 'std::unique_ptr<THHState,void (__cdecl *)(THHState *)>' needs to have dll-interface to be used by clients of class 'at::Context'
  149.   C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen/detail/HIPHooksInterface.h(33): note: see declaration of 'std::unique_ptr<THHState,void (__cdecl *)(THHState *)>'
  150. C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen\TensorGeometry.h(56): warning C4251: 'at::TensorGeometry::sizes_': class 'std::vector<int64_t,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'at::TensorGeometry'
  151.           with
  152.           [
  153.               _Ty=int64_t
  154.           ]
  155.   C:\Users\krshr\Downloads\libtorch\libtorch\include\c10/util/typeid.h(597): note: see declaration of 'std::vector<int64_t,std::allocator<_Ty>>'
  156.           with
  157.           [
  158.               _Ty=int64_t
  159.           ]
  160. C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen\TensorGeometry.h(57): warning C4251: 'at::TensorGeometry::strides_': class 'std::vector<int64_t,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'at::TensorGeometry'
  161.           with
  162.           [
  163.               _Ty=int64_t
  164.           ]
  165.   C:\Users\krshr\Downloads\libtorch\libtorch\include\c10/util/typeid.h(597): note: see declaration of 'std::vector<int64_t,std::allocator<_Ty>>'
  166.           with
  167.           [
  168.               _Ty=int64_t
  169.           ]
  170. C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\autograd\variable.h(331): warning C4251: 'torch::autograd::Variable::AutogradMeta::name': class 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>' needs to have dll-interface to be used by clients of struct 'torch::autograd::Variable::AutogradMeta'
  171.   C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.21.27702\include\xstring(4231): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'
  172. C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\autograd\variable.h(334): warning C4251: 'torch::autograd::Variable::AutogradMeta::grad_fn_': class 'std::shared_ptr<torch::autograd::Function>' needs to have dll-interface to be used by clients of struct 'torch::autograd::Variable::AutogradMeta'
  173.   C:\Users\krshr\Downloads\libtorch\libtorch\include\torch/csrc/autograd/edge.h(17): note: see declaration of 'std::shared_ptr<torch::autograd::Function>'
  174. C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\autograd\variable.h(335): warning C4251: 'torch::autograd::Variable::AutogradMeta::grad_accumulator_': class 'std::weak_ptr<torch::autograd::Function>' needs to have dll-interface to be used by clients of struct 'torch::autograd::Variable::AutogradMeta'
  175.   C:\Users\krshr\Downloads\libtorch\libtorch\include\torch/csrc/autograd/variable.h(175): note: see declaration of 'std::weak_ptr<torch::autograd::Function>'
  176. C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\autograd\variable.h(337): warning C4251: 'torch::autograd::Variable::AutogradMeta::hooks_': class 'std::vector<std::shared_ptr<torch::autograd::FunctionPreHook>,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::autograd::Variable::AutogradMeta'
  177.           with
  178.           [
  179.               _Ty=std::shared_ptr<torch::autograd::FunctionPreHook>
  180.           ]
  181.   C:\Users\krshr\Downloads\libtorch\libtorch\include\torch/csrc/autograd/variable.h(283): note: see declaration of 'std::vector<std::shared_ptr<torch::autograd::FunctionPreHook>,std::allocator<_Ty>>'
  182.           with
  183.           [
  184.               _Ty=std::shared_ptr<torch::autograd::FunctionPreHook>
  185.           ]
  186. C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\autograd\variable.h(353): warning C4251: 'torch::autograd::Variable::AutogradMeta::mutex_': class 'std::mutex' needs to have dll-interface to be used by clients of struct 'torch::autograd::Variable::AutogradMeta'
  187.   C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.21.27702\include\mutex(82): note: see declaration of 'std::mutex'
  188. C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen\core\ivalue.h(27): warning C4251: 'c10::ivalue::ConstantString::str_': class 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>' needs to have dll-interface to be used by clients of struct 'c10::ivalue::ConstantString'
  189.   C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.21.27702\include\xstring(4231): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'
  190. C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen\core\ivalue.h(46): warning C4251: 'c10::ivalue::List<Elem>::elements_': class 'std::vector<T,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'c10::ivalue::List<Elem>'
  191.   C:\Users\krshr\Downloads\libtorch\libtorch\include\c10/util/ArrayRef.h(219): note: see declaration of 'std::vector<T,std::allocator<_Ty>>'
  192.   C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen/core/ivalue.h(72): note: see reference to class template instantiation 'c10::ivalue::List<Elem>' being compiled
  193. C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen\core\ivalue.h(46): warning C4251: 'c10::ivalue::List<c10::IValue>::elements_': class 'std::vector<Elem,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'c10::ivalue::List<c10::IValue>'
  194.           with
  195.           [
  196.               Elem=c10::IValue,
  197.               _Ty=c10::IValue
  198.           ]
  199.   C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen/core/ivalue.h(46): note: see declaration of 'std::vector<Elem,std::allocator<_Ty>>'
  200.           with
  201.           [
  202.               Elem=c10::IValue,
  203.               _Ty=c10::IValue
  204.           ]
  205.   C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen/core/ivalue.h(87): note: see reference to class template instantiation 'c10::ivalue::List<c10::IValue>' being compiled
  206. C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen\core\ivalue.h(560): warning C4275: non dll-interface class 'std::exception' used as base for dll-interface struct 'c10::ivalue::Future::FutureError'
  207.   C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.21.27702\include\vcruntime_exception.h(44): note: see declaration of 'std::exception'
  208.   C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen/core/ivalue.h(560): note: see declaration of 'c10::ivalue::Future::FutureError'
  209. C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen\core\ivalue.h(570): warning C4251: 'c10::ivalue::Future::FutureError::error_msg': class 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>' needs to have dll-interface to be used by clients of struct 'c10::ivalue::Future::FutureError'
  210.   C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.21.27702\include\xstring(4231): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'
  211. C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen\core\ivalue.h(676): warning C4251: 'c10::ivalue::Future::mutex_': class 'std::mutex' needs to have dll-interface to be used by clients of struct 'c10::ivalue::Future'
  212.   C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.21.27702\include\mutex(82): note: see declaration of 'std::mutex'
  213. C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen\core\ivalue.h(678): warning C4251: 'c10::ivalue::Future::completed_': struct 'std::atomic<bool>' needs to have dll-interface to be used by clients of struct 'c10::ivalue::Future'
  214.   C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.21.27702\include\atomic(1817): note: see declaration of 'std::atomic<bool>'
  215. C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen\core\ivalue.h(679): warning C4251: 'c10::ivalue::Future::callbacks': class 'std::vector<std::function<void (void)>,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'c10::ivalue::Future'
  216.           with
  217.           [
  218.               _Ty=std::function<void (void)>
  219.           ]
  220.   C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen/core/ivalue.h(679): note: see declaration of 'std::vector<std::function<void (void)>,std::allocator<_Ty>>'
  221.           with
  222.           [
  223.               _Ty=std::function<void (void)>
  224.           ]
  225. C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen\core\ivalue.h(722): warning C4251: 'c10::ivalue::Object::type_': class 'std::shared_ptr<c10::ClassType>' needs to have dll-interface to be used by clients of struct 'c10::ivalue::Object'
  226.   C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen/core/ivalue.h(687): note: see declaration of 'std::shared_ptr<c10::ClassType>'
  227. C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen\core\ivalue.h(723): warning C4251: 'c10::ivalue::Object::slots_': class 'std::vector<Elem,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'c10::ivalue::Object'
  228.           with
  229.           [
  230.               Elem=c10::IValue,
  231.               _Ty=c10::IValue
  232.           ]
  233.   C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen/core/ivalue.h(46): note: see declaration of 'std::vector<Elem,std::allocator<_Ty>>'
  234.           with
  235.           [
  236.               Elem=c10::IValue,
  237.               _Ty=c10::IValue
  238.           ]
  239. C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen\core\ivalue.h(728): warning C4251: 'c10::ivalue::GenericDict::elements_': class 'std::unordered_map<c10::IValue,c10::IValue,c10::ivalue::DictHash,c10::ivalue::DictEqualTo,std::allocator<std::pair<const _Kty,_Ty>>>' needs to have dll-interface to be used by clients of struct 'c10::ivalue::GenericDict'
  240.           with
  241.           [
  242.               _Kty=c10::IValue,
  243.               _Ty=c10::IValue
  244.           ]
  245.   C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen/core/ivalue.h(82): note: see declaration of 'std::unordered_map<c10::IValue,c10::IValue,c10::ivalue::DictHash,c10::ivalue::DictEqualTo,std::allocator<std::pair<const _Kty,_Ty>>>'
  246.           with
  247.           [
  248.               _Kty=c10::IValue,
  249.               _Ty=c10::IValue
  250.           ]
  251. C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen\core\ivalue.h(781): warning C4244: 'return': conversion from 'double' to 'float', possible loss of data
  252. C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen\core\ivalue.h(783): warning C4244: 'return': conversion from 'int64_t' to 'unsigned char', possible loss of data
  253. C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen\core\ivalue.h(784): warning C4244: 'return': conversion from 'int64_t' to 'signed char', possible loss of data
  254. C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen\core\ivalue.h(785): warning C4244: 'return': conversion from 'int64_t' to 'unsigned short', possible loss of data
  255. C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen\core\ivalue.h(786): warning C4244: 'return': conversion from 'int64_t' to 'short', possible loss of data
  256. C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen\core\ivalue.h(787): warning C4244: 'return': conversion from 'int64_t' to 'int', possible loss of data
  257. C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen\core\ivalue.h(788): warning C4244: 'return': conversion from 'int64_t' to 'uint32_t', possible loss of data
  258. C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen\core\ivalue.h(790): warning C4244: 'return': conversion from 'int64_t' to 'c10::detail::_guarded_unsigned_long', possible loss of data
  259. C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen\core\ivalue.h(46): warning C4251: 'c10::ivalue::List<int64_t>::elements_': class 'std::vector<int64_t,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'c10::ivalue::List<int64_t>'
  260.           with
  261.           [
  262.               _Ty=int64_t
  263.           ]
  264.   C:\Users\krshr\Downloads\libtorch\libtorch\include\c10/util/typeid.h(597): note: see declaration of 'std::vector<int64_t,std::allocator<_Ty>>'
  265.           with
  266.           [
  267.               _Ty=int64_t
  268.           ]
  269.   C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen/core/ivalue.h(859): note: see reference to class template instantiation 'c10::ivalue::List<int64_t>' being compiled
  270. C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen\core\ivalue.h(46): warning C4251: 'c10::ivalue::List<double>::elements_': class 'std::vector<T,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'c10::ivalue::List<double>'
  271.           with
  272.           [
  273.               T=double,
  274.               _Ty=double
  275.           ]
  276.   C:\Users\krshr\Downloads\libtorch\libtorch\include\c10/util/ArrayRef.h(219): note: see declaration of 'std::vector<T,std::allocator<_Ty>>'
  277.           with
  278.           [
  279.               T=double,
  280.               _Ty=double
  281.           ]
  282.   C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen/core/ivalue.h(873): note: see reference to class template instantiation 'c10::ivalue::List<double>' being compiled
  283. C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen\core\ivalue.h(46): warning C4251: 'c10::ivalue::List<bool>::elements_': class 'std::vector<bool,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'c10::ivalue::List<bool>'
  284.           with
  285.           [
  286.               _Ty=bool
  287.           ]
  288.   C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen/core/ivalue.h(318): note: see declaration of 'std::vector<bool,std::allocator<_Ty>>'
  289.           with
  290.           [
  291.               _Ty=bool
  292.           ]
  293.   C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen/core/ivalue.h(880): note: see reference to class template instantiation 'c10::ivalue::List<bool>' being compiled
  294. C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen\core\ivalue.h(46): warning C4251: 'c10::ivalue::List<at::Tensor>::elements_': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'c10::ivalue::List<at::Tensor>'
  295.           with
  296.           [
  297.               _Ty=at::Tensor
  298.           ]
  299.   C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen/core/Type.h(178): note: see declaration of 'std::vector<at::Tensor,std::allocator<_Ty>>'
  300.           with
  301.           [
  302.               _Ty=at::Tensor
  303.           ]
  304.   C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen/core/ivalue.h(887): note: see reference to class template instantiation 'c10::ivalue::List<at::Tensor>' being compiled
  305. C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen\core\ivalue.h(1003): warning C4244: 'argument': conversion from 'int64_t' to 'const _Kty', possible loss of data
  306.           with
  307.           [
  308.               _Kty=int
  309.           ]
  310. C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen\core\jit_type.h(66): warning C4251: 'std::enable_shared_from_this<c10::Type>::_Wptr': class 'std::weak_ptr<_Ty>' needs to have dll-interface to be used by clients of class 'std::enable_shared_from_this<c10::Type>'
  311.           with
  312.           [
  313.               _Ty=c10::Type
  314.           ]
  315.   C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.21.27702\include\memory(1705): note: see declaration of 'std::weak_ptr<_Ty>'
  316.           with
  317.           [
  318.               _Ty=c10::Type
  319.           ]
  320. C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen\core\jit_type.h(227): warning C4251: 'c10::SingleElementType<c10::TypeKind::OptionalType,c10::OptionalType>::elem': class 'std::shared_ptr<c10::Type>' needs to have dll-interface to be used by clients of struct 'c10::SingleElementType<c10::TypeKind::OptionalType,c10::OptionalType>'
  321.   C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen/core/jit_type.h(64): note: see declaration of 'std::shared_ptr<c10::Type>'
  322. C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen\core\jit_type.h(477): warning C4251: 'c10::VaryingShape::size_': class 'c10::optional<size_t>' needs to have dll-interface to be used by clients of struct 'c10::VaryingShape'
  323.   C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen/core/jit_type.h(428): note: see declaration of 'c10::optional<size_t>'
  324. C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen\core\jit_type.h(478): warning C4251: 'c10::VaryingShape::dims_': class 'std::vector<c10::optional<int64_t>,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'c10::VaryingShape'
  325.           with
  326.           [
  327.               _Ty=c10::optional<int64_t>
  328.           ]
  329.   C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen/core/jit_type.h(478): note: see declaration of 'std::vector<c10::optional<int64_t>,std::allocator<_Ty>>'
  330.           with
  331.           [
  332.               _Ty=c10::optional<int64_t>
  333.           ]
  334. C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen\core\jit_type.h(571): warning C4251: 'c10::ProfiledTensorType::scalar_type_': class 'c10::optional<c10::ScalarType>' needs to have dll-interface to be used by clients of struct 'c10::ProfiledTensorType'
  335.   C:\Users\krshr\Downloads\libtorch\libtorch\include\c10/core/ScalarType.h(141): note: see declaration of 'c10::optional<c10::ScalarType>'
  336. C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen\core\jit_type.h(572): warning C4251: 'c10::ProfiledTensorType::device_': class 'c10::optional<c10::Device>' needs to have dll-interface to be used by clients of struct 'c10::ProfiledTensorType'
  337.   C:\Users\krshr\Downloads\libtorch\libtorch\include\c10/core/TensorOptions.h(171): note: see declaration of 'c10::optional<c10::Device>'
  338. C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen\core\jit_type.h(575): warning C4251: 'c10::ProfiledTensorType::requires_grad_': class 'c10::optional<bool>' needs to have dll-interface to be used by clients of struct 'c10::ProfiledTensorType'
  339.   C:\Users\krshr\Downloads\libtorch\libtorch\include\c10/core/TensorOptions.h(224): note: see declaration of 'c10::optional<bool>'
  340. C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen\core\jit_type.h(533): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data
  341. C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen\core\jit_type.h(537): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data
  342. C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen\core\jit_type.h(682): warning C4251: 'c10::CompleteTensorType::sizes_': class 'std::vector<int64_t,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'c10::CompleteTensorType'
  343.           with
  344.           [
  345.               _Ty=int64_t
  346.           ]
  347.   C:\Users\krshr\Downloads\libtorch\libtorch\include\c10/util/typeid.h(597): note: see declaration of 'std::vector<int64_t,std::allocator<_Ty>>'
  348.           with
  349.           [
  350.               _Ty=int64_t
  351.           ]
  352. C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen\core\jit_type.h(683): warning C4251: 'c10::CompleteTensorType::strides_': class 'std::vector<int64_t,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'c10::CompleteTensorType'
  353.           with
  354.           [
  355.               _Ty=int64_t
  356.           ]
  357.   C:\Users\krshr\Downloads\libtorch\libtorch\include\c10/util/typeid.h(597): note: see declaration of 'std::vector<int64_t,std::allocator<_Ty>>'
  358.           with
  359.           [
  360.               _Ty=int64_t
  361.           ]
  362. C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen\core\jit_type.h(688): warning C4251: 'c10::SingleElementType<c10::TypeKind::ListType,c10::ListType>::elem': class 'std::shared_ptr<c10::Type>' needs to have dll-interface to be used by clients of struct 'c10::SingleElementType<c10::TypeKind::ListType,c10::ListType>'
  363.   C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen/core/jit_type.h(64): note: see declaration of 'std::shared_ptr<c10::Type>'
  364. C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen\core\jit_type.h(801): warning C4251: 'c10::DictType::types': class 'std::vector<c10::TypePtr,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'c10::DictType'
  365.           with
  366.           [
  367.               _Ty=c10::TypePtr
  368.           ]
  369.   C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen/core/jit_type.h(162): note: see declaration of 'std::vector<c10::TypePtr,std::allocator<_Ty>>'
  370.           with
  371.           [
  372.               _Ty=c10::TypePtr
  373.           ]
  374. C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen\core\jit_type.h(808): warning C4251: 'c10::SingleElementType<c10::TypeKind::FutureType,c10::FutureType>::elem': class 'std::shared_ptr<c10::Type>' needs to have dll-interface to be used by clients of struct 'c10::SingleElementType<c10::TypeKind::FutureType,c10::FutureType>'
  375.   C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen/core/jit_type.h(64): note: see declaration of 'std::shared_ptr<c10::Type>'
  376. C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen\core\jit_type.h(941): warning C4251: 'c10::TupleType::elements_': class 'std::vector<c10::TypePtr,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'c10::TupleType'
  377.           with
  378.           [
  379.               _Ty=c10::TypePtr
  380.           ]
  381.   C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen/core/jit_type.h(162): note: see declaration of 'std::vector<c10::TypePtr,std::allocator<_Ty>>'
  382.           with
  383.           [
  384.               _Ty=c10::TypePtr
  385.           ]
  386. C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen\core\jit_type.h(943): warning C4251: 'c10::TupleType::names_': class 'c10::optional<std::vector<std::string,std::allocator<_Ty>>>' needs to have dll-interface to be used by clients of struct 'c10::TupleType'
  387.           with
  388.           [
  389.               _Ty=std::string
  390.           ]
  391.   C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen/core/jit_type.h(836): note: see declaration of 'c10::optional<std::vector<std::string,std::allocator<_Ty>>>'
  392.           with
  393.           [
  394.               _Ty=std::string
  395.           ]
  396. C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen\core\jit_type.h(1450): warning C4251: 'c10::ClassType::qualifiedName_': class 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>' needs to have dll-interface to be used by clients of struct 'c10::ClassType'
  397.   C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.21.27702\include\xstring(4231): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'
  398. C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen\core\jit_type.h(1454): warning C4251: 'c10::ClassType::qualifier_': class 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>' needs to have dll-interface to be used by clients of struct 'c10::ClassType'
  399.   C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.21.27702\include\xstring(4231): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'
  400. C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen\core\jit_type.h(1456): warning C4251: 'c10::ClassType::basename_': class 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>' needs to have dll-interface to be used by clients of struct 'c10::ClassType'
  401.   C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.21.27702\include\xstring(4231): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'
  402. C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen\core\jit_type.h(1464): warning C4251: 'c10::ClassType::attributeNames_': class 'std::vector<std::string,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'c10::ClassType'
  403.           with
  404.           [
  405.               _Ty=std::string
  406.           ]
  407.   C:\Users\krshr\Downloads\libtorch\libtorch\include\c10/util/Exception.h(28): note: see declaration of 'std::vector<std::string,std::allocator<_Ty>>'
  408.           with
  409.           [
  410.               _Ty=std::string
  411.           ]
  412. C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen\core\jit_type.h(1465): warning C4251: 'c10::ClassType::attributeTypes_': class 'std::vector<c10::TypePtr,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'c10::ClassType'
  413.           with
  414.           [
  415.               _Ty=c10::TypePtr
  416.           ]
  417.   C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen/core/jit_type.h(162): note: see declaration of 'std::vector<c10::TypePtr,std::allocator<_Ty>>'
  418.           with
  419.           [
  420.               _Ty=c10::TypePtr
  421.           ]
  422. C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen\core\jit_type.h(1467): warning C4251: 'c10::ClassType::compilation_unit_': class 'std::shared_ptr<torch::jit::script::CompilationUnit>' needs to have dll-interface to be used by clients of struct 'c10::ClassType'
  423.   C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen/core/jit_type.h(1316): note: see declaration of 'std::shared_ptr<torch::jit::script::CompilationUnit>'
  424. C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\jit\scope.h(22): warning C4251: 'torch::jit::Scope::parent_': class 'c10::intrusive_ptr<torch::jit::Scope,c10::detail::intrusive_target_default_null_type<TTarget>>' needs to have dll-interface to be used by clients of struct 'torch::jit::Scope'
  425.           with
  426.           [
  427.               TTarget=torch::jit::Scope
  428.           ]
  429.   C:\Users\krshr\Downloads\libtorch\libtorch\include\torch/csrc/jit/scope.h(17): note: see declaration of 'c10::intrusive_ptr<torch::jit::Scope,c10::detail::intrusive_target_default_null_type<TTarget>>'
  430.           with
  431.           [
  432.               TTarget=torch::jit::Scope
  433.           ]
  434. C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\jit\constants.h(20): warning C4275: non dll-interface class 'std::runtime_error' used as base for dll-interface struct 'torch::jit::constant_not_supported_error'
  435.   C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.21.27702\include\stdexcept(122): note: see declaration of 'std::runtime_error'
  436.   C:\Users\krshr\Downloads\libtorch\libtorch\include\torch/csrc/jit/constants.h(20): note: see declaration of 'torch::jit::constant_not_supported_error'
  437. C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\jit\attributes.h(87): warning C4275: non dll-interface struct 'torch::jit::AttributeValue' used as base for dll-interface struct 'torch::jit::GraphAttr'
  438.   C:\Users\krshr\Downloads\libtorch\libtorch\include\torch/csrc/jit/attributes.h(25): note: see declaration of 'torch::jit::AttributeValue'
  439.   C:\Users\krshr\Downloads\libtorch\libtorch\include\torch/csrc/jit/attributes.h(87): note: see declaration of 'torch::jit::GraphAttr'
  440. C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\jit\attributes.h(101): warning C4251: 'torch::jit::GraphAttr::value_': class 'std::shared_ptr<torch::jit::Graph>' needs to have dll-interface to be used by clients of struct 'torch::jit::GraphAttr'
  441.   C:\Users\krshr\Downloads\libtorch\libtorch\include\torch/csrc/jit/attributes.h(88): note: see declaration of 'std::shared_ptr<torch::jit::Graph>'
  442. C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\jit\attributes.h(104): warning C4275: non dll-interface struct 'torch::jit::AttributeValue' used as base for dll-interface struct 'torch::jit::GraphsAttr'
  443.   C:\Users\krshr\Downloads\libtorch\libtorch\include\torch/csrc/jit/attributes.h(25): note: see declaration of 'torch::jit::AttributeValue'
  444.   C:\Users\krshr\Downloads\libtorch\libtorch\include\torch/csrc/jit/attributes.h(104): note: see declaration of 'torch::jit::GraphsAttr'
  445. C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\jit\attributes.h(118): warning C4251: 'torch::jit::GraphsAttr::value_': class 'std::vector<std::shared_ptr<torch::jit::Graph>,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::jit::GraphsAttr'
  446.           with
  447.           [
  448.               _Ty=std::shared_ptr<torch::jit::Graph>
  449.           ]
  450.   C:\Users\krshr\Downloads\libtorch\libtorch\include\torch/csrc/jit/attributes.h(105): note: see declaration of 'std::vector<std::shared_ptr<torch::jit::Graph>,std::allocator<_Ty>>'
  451.           with
  452.           [
  453.               _Ty=std::shared_ptr<torch::jit::Graph>
  454.           ]
  455. C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\jit\ir.h(246): warning C4251: 'torch::jit::Node::inputs_': class 'std::vector<torch::jit::Value *,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::jit::Node'
  456.           with
  457.           [
  458.               _Ty=torch::jit::Value *
  459.           ]
  460.   C:\Users\krshr\Downloads\libtorch\libtorch\include\torch/csrc/jit/ir.h(141): note: see declaration of 'std::vector<torch::jit::Value *,std::allocator<_Ty>>'
  461.           with
  462.           [
  463.               _Ty=torch::jit::Value *
  464.           ]
  465. C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\jit\ir.h(247): warning C4251: 'torch::jit::Node::outputs_': class 'std::vector<torch::jit::Value *,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::jit::Node'
  466.           with
  467.           [
  468.               _Ty=torch::jit::Value *
  469.           ]
  470.   C:\Users\krshr\Downloads\libtorch\libtorch\include\torch/csrc/jit/ir.h(141): note: see declaration of 'std::vector<torch::jit::Value *,std::allocator<_Ty>>'
  471.           with
  472.           [
  473.               _Ty=torch::jit::Value *
  474.           ]
  475. C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\jit\ir.h(249): warning C4251: 'torch::jit::Node::blocks_': class 'std::vector<torch::jit::Block *,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::jit::Node'
  476.           with
  477.           [
  478.               _Ty=torch::jit::Block *
  479.           ]
  480.   C:\Users\krshr\Downloads\libtorch\libtorch\include\torch/csrc/jit/ir.h(249): note: see declaration of 'std::vector<torch::jit::Block *,std::allocator<_Ty>>'
  481.           with
  482.           [
  483.               _Ty=torch::jit::Block *
  484.           ]
  485. C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\jit\ir.h(252): warning C4251: 'torch::jit::Node::source_location_': class 'std::shared_ptr<torch::jit::SourceLocation>' needs to have dll-interface to be used by clients of struct 'torch::jit::Node'
  486.   C:\Users\krshr\Downloads\libtorch\libtorch\include\torch/csrc/jit/ir.h(252): note: see declaration of 'std::shared_ptr<torch::jit::SourceLocation>'
  487. C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\jit\ir.h(253): warning C4251: 'torch::jit::Node::scope_': class 'c10::intrusive_ptr<torch::jit::Scope,c10::detail::intrusive_target_default_null_type<TTarget>>' needs to have dll-interface to be used by clients of struct 'torch::jit::Node'
  488.           with
  489.           [
  490.               TTarget=torch::jit::Scope
  491.           ]
  492.   C:\Users\krshr\Downloads\libtorch\libtorch\include\torch/csrc/jit/scope.h(17): note: see declaration of 'c10::intrusive_ptr<torch::jit::Scope,c10::detail::intrusive_target_default_null_type<TTarget>>'
  493.           with
  494.           [
  495.               TTarget=torch::jit::Scope
  496.           ]
  497. C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\jit\ir.h(756): warning C4251: 'torch::jit::Node::values_': class 'std::vector<torch::jit::Node::AVPtr,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::jit::Node'
  498.           with
  499.           [
  500.               _Ty=torch::jit::Node::AVPtr
  501.           ]
  502.   C:\Users\krshr\Downloads\libtorch\libtorch\include\torch/csrc/jit/ir.h(756): note: see declaration of 'std::vector<torch::jit::Node::AVPtr,std::allocator<_Ty>>'
  503.           with
  504.           [
  505.               _Ty=torch::jit::Node::AVPtr
  506.           ]
  507. C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\jit\tracing_state.h(30): warning C4251: 'std::enable_shared_from_this<torch::jit::tracer::TracingState>::_Wptr': class 'std::weak_ptr<_Ty>' needs to have dll-interface to be used by clients of class 'std::enable_shared_from_this<torch::jit::tracer::TracingState>'
  508.           with
  509.           [
  510.               _Ty=torch::jit::tracer::TracingState
  511.           ]
  512.   C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.21.27702\include\memory(1705): note: see declaration of 'std::weak_ptr<_Ty>'
  513.           with
  514.           [
  515.               _Ty=torch::jit::tracer::TracingState
  516.           ]
  517. C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\jit\tracing_state.h(58): warning C4251: 'torch::jit::tracer::TracingState::env_stack': class 'std::vector<torch::jit::tracer::TracingState::TracingEnvironmentFrame,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::jit::tracer::TracingState'
  518.           with
  519.           [
  520.               _Ty=torch::jit::tracer::TracingState::TracingEnvironmentFrame
  521.           ]
  522.   C:\Users\krshr\Downloads\libtorch\libtorch\include\torch/csrc/jit/tracing_state.h(56): note: see declaration of 'std::vector<torch::jit::tracer::TracingState::TracingEnvironmentFrame,std::allocator<_Ty>>'
  523.           with
  524.           [
  525.               _Ty=torch::jit::tracer::TracingState::TracingEnvironmentFrame
  526.           ]
  527. C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\jit\tracing_state.h(59): warning C4251: 'torch::jit::tracer::TracingState::graph': class 'std::shared_ptr<torch::jit::Graph>' needs to have dll-interface to be used by clients of struct 'torch::jit::tracer::TracingState'
  528.   C:\Users\krshr\Downloads\libtorch\libtorch\include\torch/csrc/jit/attributes.h(88): note: see declaration of 'std::shared_ptr<torch::jit::Graph>'
  529. C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\jit\tracing_state.h(63): warning C4251: 'torch::jit::tracer::TracingState::lookup_var_name_fn': class 'std::function<std::string (const torch::autograd::Variable &)>' needs to have dll-interface to be used by clients of struct 'torch::jit::tracer::TracingState'
  530.   C:\Users\krshr\Downloads\libtorch\libtorch\include\torch/csrc/jit/tracing_state.h(62): note: see declaration of 'std::function<std::string (const torch::autograd::Variable &)>'
  531. C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\jit\tracing_state.h(159): warning C4251: 'torch::jit::tracer::NoWarn::state': class 'std::shared_ptr<_Ty>' needs to have dll-interface to be used by clients of struct 'torch::jit::tracer::NoWarn'
  532.           with
  533.           [
  534.               _Ty=torch::jit::tracer::TracingState
  535.           ]
  536.   C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.21.27702\include\memory(1697): note: see declaration of 'std::shared_ptr<_Ty>'
  537.           with
  538.           [
  539.               _Ty=torch::jit::tracer::TracingState
  540.           ]
  541. C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\jit\tracer.h(169): warning C4273: 'torch::jit::tracer::addInputs': inconsistent dll linkage
  542.   C:\Users\krshr\Downloads\libtorch\libtorch\include\torch/csrc/jit/tracer.h(154): note: see previous definition of 'addInputs'
  543. C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\jit\tracer.h(176): warning C4273: 'torch::jit::tracer::addInputs': inconsistent dll linkage
  544.   C:\Users\krshr\Downloads\libtorch\libtorch\include\torch/csrc/jit/tracer.h(160): note: see previous definition of 'addInputs'
  545. C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\api\include\torch\data\samplers\distributed.h(96): warning C4251: 'torch::data::samplers::DistributedRandomSampler::all_indices_': class 'std::vector<T,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::data::samplers::DistributedRandomSampler'
  546.           with
  547.           [
  548.               T=size_t,
  549.               _Ty=size_t
  550.           ]
  551.   C:\Users\krshr\Downloads\libtorch\libtorch\include\c10/util/ArrayRef.h(219): note: see declaration of 'std::vector<T,std::allocator<_Ty>>'
  552.           with
  553.           [
  554.               T=size_t,
  555.               _Ty=size_t
  556.           ]
  557. C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\api\include\torch\data\samplers\distributed.h(129): warning C4251: 'torch::data::samplers::DistributedSequentialSampler::all_indices_': class 'std::vector<T,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::data::samplers::DistributedSequentialSampler'
  558.           with
  559.           [
  560.               T=size_t,
  561.               _Ty=size_t
  562.           ]
  563.   C:\Users\krshr\Downloads\libtorch\libtorch\include\c10/util/ArrayRef.h(219): note: see declaration of 'std::vector<T,std::allocator<_Ty>>'
  564.           with
  565.           [
  566.               T=size_t,
  567.               _Ty=size_t
  568.           ]
  569. C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\api\include\torch\serialize\input-archive.h(89): warning C4251: 'torch::serialize::InputArchive::module_': class 'std::shared_ptr<torch::jit::script::Module>' needs to have dll-interface to be used by clients of class 'torch::serialize::InputArchive'
  570.   C:\Users\krshr\Downloads\libtorch\libtorch\include\torch/csrc/jit/tracer.h(96): note: see declaration of 'std::shared_ptr<torch::jit::script::Module>'
  571. C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\api\include\torch\serialize\output-archive.h(66): warning C4251: 'torch::serialize::OutputArchive::module_': class 'std::shared_ptr<torch::jit::script::Module>' needs to have dll-interface to be used by clients of class 'torch::serialize::OutputArchive'
  572.   C:\Users\krshr\Downloads\libtorch\libtorch\include\torch/csrc/jit/tracer.h(96): note: see declaration of 'std::shared_ptr<torch::jit::script::Module>'
  573. C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\jit\script\lexer.h(356): warning C4251: 'torch::jit::script::SharedParserData::head': class 'std::unique_ptr<torch::jit::script::TokenTrie,std::default_delete<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::jit::script::SharedParserData'
  574.           with
  575.           [
  576.               _Ty=torch::jit::script::TokenTrie
  577.           ]
  578.   C:\Users\krshr\Downloads\libtorch\libtorch\include\torch/csrc/jit/script/lexer.h(126): note: see declaration of 'std::unique_ptr<torch::jit::script::TokenTrie,std::default_delete<_Ty>>'
  579.           with
  580.           [
  581.               _Ty=torch::jit::script::TokenTrie
  582.           ]
  583. C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\jit\script\lexer.h(382): warning C4267: 'argument': conversion from 'size_t' to '_Ty', possible loss of data
  584.           with
  585.           [
  586.               _Ty=int32_t
  587.           ]
  588. C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\jit\script\lexer.h(458): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
  589. C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\jit\argument_spec.h(168): warning C4251: 'torch::jit::ArgumentSpecCreator::instructions_': class 'std::vector<torch::jit::ArgumentSpecCreator::Inst,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::jit::ArgumentSpecCreator'
  590.           with
  591.           [
  592.               _Ty=torch::jit::ArgumentSpecCreator::Inst
  593.           ]
  594.   C:\Users\krshr\Downloads\libtorch\libtorch\include\torch/csrc/jit/argument_spec.h(168): note: see declaration of 'std::vector<torch::jit::ArgumentSpecCreator::Inst,std::allocator<_Ty>>'
  595.           with
  596.           [
  597.               _Ty=torch::jit::ArgumentSpecCreator::Inst
  598.           ]
  599. C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\jit\argument_spec.h(201): warning C4267: 'initializing': conversion from 'size_t' to 'int32_t', possible loss of data
  600. C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\jit\argument_spec.h(204): warning C4267: 'initializing': conversion from 'size_t' to 'int32_t', possible loss of data
  601. C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\jit\argument_spec.h(204): warning C4267: 'initializing': conversion from 'size_t' to 'const int32_t', possible loss of data
  602. C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\jit\argument_spec.h(209): warning C4244: '+=': conversion from 'int64_t' to 'int32_t', possible loss of data
  603. C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\jit\argument_spec.h(229): warning C4244: '+=': conversion from 'int64_t' to 'int32_t', possible loss of data
  604. C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\jit\argument_spec.h(391): warning C4267: 'argument': conversion from 'size_t' to 'const int', possible loss of data
  605. C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\jit\interpreter.h(44): warning C4251: 'torch::jit::Code::pImpl': class 'std::shared_ptr<torch::jit::CodeImpl>' needs to have dll-interface to be used by clients of struct 'torch::jit::Code'
  606.   C:\Users\krshr\Downloads\libtorch\libtorch\include\torch/csrc/jit/interpreter.h(44): note: see declaration of 'std::shared_ptr<torch::jit::CodeImpl>'
  607. C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\jit\graph_executor.h(41): warning C4251: 'torch::jit::GraphExecutor::pImpl': class 'std::shared_ptr<torch::jit::GraphExecutorImpl>' needs to have dll-interface to be used by clients of struct 'torch::jit::GraphExecutor'
  608.   C:\Users\krshr\Downloads\libtorch\libtorch\include\torch/csrc/jit/graph_executor.h(41): note: see declaration of 'std::shared_ptr<torch::jit::GraphExecutorImpl>'
  609. C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\jit\script\compilation_unit.h(160): warning C4251: 'torch::jit::script::Function::name_': class 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>' needs to have dll-interface to be used by clients of struct 'torch::jit::script::Function'
  610.   C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.21.27702\include\xstring(4231): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'
  611. C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\jit\script\compilation_unit.h(161): warning C4251: 'torch::jit::script::Function::graph_': class 'std::shared_ptr<torch::jit::Graph>' needs to have dll-interface to be used by clients of struct 'torch::jit::script::Function'
  612.   C:\Users\krshr\Downloads\libtorch\libtorch\include\torch/csrc/jit/attributes.h(88): note: see declaration of 'std::shared_ptr<torch::jit::Graph>'
  613. C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\jit\script\compilation_unit.h(166): warning C4251: 'torch::jit::script::Function::executor_init_': struct 'std::once_flag' needs to have dll-interface to be used by clients of struct 'torch::jit::script::Function'
  614.   C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.21.27702\include\xcall_once.h(18): note: see declaration of 'std::once_flag'
  615. C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\jit\script\compilation_unit.h(171): warning C4251: 'torch::jit::script::Function::function_creator_': class 'std::function<void (torch::jit::script::Function &)>' needs to have dll-interface to be used by clients of struct 'torch::jit::script::Function'
  616.   C:\Users\krshr\Downloads\libtorch\libtorch\include\torch/csrc/jit/script/compilation_unit.h(45): note: see declaration of 'std::function<void (torch::jit::script::Function &)>'
  617. C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\jit\script\compilation_unit.h(176): warning C4251: 'torch::jit::script::Function::schema_': class 'std::unique_ptr<c10::FunctionSchema,std::default_delete<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::jit::script::Function'
  618.           with
  619.           [
  620.               _Ty=c10::FunctionSchema
  621.           ]
  622.   C:\Users\krshr\Downloads\libtorch\libtorch\include\torch/csrc/jit/script/compilation_unit.h(176): note: see declaration of 'std::unique_ptr<c10::FunctionSchema,std::default_delete<_Ty>>'
  623.           with
  624.           [
  625.               _Ty=c10::FunctionSchema
  626.           ]
  627. C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\jit\script\compilation_unit.h(266): warning C4251: 'torch::jit::script::CompilationUnit::functions_': class 'std::vector<std::shared_ptr<torch::jit::script::Function>,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::jit::script::CompilationUnit'
  628.           with
  629.           [
  630.               _Ty=std::shared_ptr<torch::jit::script::Function>
  631.           ]
  632.   C:\Users\krshr\Downloads\libtorch\libtorch\include\torch/csrc/jit/script/compilation_unit.h(228): note: see declaration of 'std::vector<std::shared_ptr<torch::jit::script::Function>,std::allocator<_Ty>>'
  633.           with
  634.           [
  635.               _Ty=std::shared_ptr<torch::jit::script::Function>
  636.           ]
  637. C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\jit\script\compilation_unit.h(268): warning C4251: 'torch::jit::script::CompilationUnit::dict_': class 'std::unordered_map<std::string,size_t,std::hash<std::string>,std::equal_to<_Kty>,std::allocator<std::pair<const _Kty,_Ty>>>' needs to have dll-interface to be used by clients of struct 'torch::jit::script::CompilationUnit'
  638.           with
  639.           [
  640.               _Kty=std::string,
  641.               _Ty=size_t
  642.           ]
  643.   C:\Users\krshr\Downloads\libtorch\libtorch\include\torch/csrc/jit/script/compilation_unit.h(268): note: see declaration of 'std::unordered_map<std::string,size_t,std::hash<std::string>,std::equal_to<_Kty>,std::allocator<std::pair<const _Kty,_Ty>>>'
  644.           with
  645.           [
  646.               _Kty=std::string,
  647.               _Ty=size_t
  648.           ]
  649. C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\jit\script\module.h(123): warning C4251: 'torch::jit::script::Method::function_': class 'std::shared_ptr<torch::jit::script::Function>' needs to have dll-interface to be used by clients of struct 'torch::jit::script::Method'
  650.   C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen/core/jit_type.h(1389): note: see declaration of 'std::shared_ptr<torch::jit::script::Function>'
  651. C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\jit\script\module.h(127): warning C4251: 'torch::jit::script::Method::initial_ivalues_': class 'std::vector<torch::jit::script::Slot,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::jit::script::Method'
  652.           with
  653.           [
  654.               _Ty=torch::jit::script::Slot
  655.           ]
  656.   C:\Users\krshr\Downloads\libtorch\libtorch\include\torch/csrc/jit/script/module.h(87): note: see declaration of 'std::vector<torch::jit::script::Slot,std::allocator<_Ty>>'
  657.           with
  658.           [
  659.               _Ty=torch::jit::script::Slot
  660.           ]
  661. C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\jit\script\module.h(128): warning C4251: 'torch::jit::script::Method::schema_': struct 'c10::FunctionSchema' needs to have dll-interface to be used by clients of struct 'torch::jit::script::Method'
  662.   C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen/core/function_schema.h(96): note: see declaration of 'c10::FunctionSchema'
  663. C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\jit\script\module.h(543): warning C4251: 'torch::jit::script::Module::modules_': class 'std::vector<std::shared_ptr<torch::jit::script::Module>,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::jit::script::Module'
  664.           with
  665.           [
  666.               _Ty=std::shared_ptr<torch::jit::script::Module>
  667.           ]
  668.   C:\Users\krshr\Downloads\libtorch\libtorch\include\torch/csrc/jit/script/module.h(543): note: see declaration of 'std::vector<std::shared_ptr<torch::jit::script::Module>,std::allocator<_Ty>>'
  669.           with
  670.           [
  671.               _Ty=std::shared_ptr<torch::jit::script::Module>
  672.           ]
  673. C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\jit\script\module.h(544): warning C4251: 'torch::jit::script::Module::parameters_': class 'std::vector<torch::jit::script::Slot,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::jit::script::Module'
  674.           with
  675.           [
  676.               _Ty=torch::jit::script::Slot
  677.           ]
  678.   C:\Users\krshr\Downloads\libtorch\libtorch\include\torch/csrc/jit/script/module.h(87): note: see declaration of 'std::vector<torch::jit::script::Slot,std::allocator<_Ty>>'
  679.           with
  680.           [
  681.               _Ty=torch::jit::script::Slot
  682.           ]
  683. C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\jit\script\module.h(545): warning C4251: 'torch::jit::script::Module::attributes_': class 'std::vector<torch::jit::script::Slot,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::jit::script::Module'
  684.           with
  685.           [
  686.               _Ty=torch::jit::script::Slot
  687.           ]
  688.   C:\Users\krshr\Downloads\libtorch\libtorch\include\torch/csrc/jit/script/module.h(87): note: see declaration of 'std::vector<torch::jit::script::Slot,std::allocator<_Ty>>'
  689.           with
  690.           [
  691.               _Ty=torch::jit::script::Slot
  692.           ]
  693. C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\jit\script\module.h(546): warning C4251: 'torch::jit::script::Module::methods_': class 'std::vector<std::unique_ptr<torch::jit::script::Method,std::default_delete<_Ty>>,std::allocator<std::unique_ptr<_Ty,std::default_delete<_Ty>>>>' needs to have dll-interface to be used by clients of struct 'torch::jit::script::Module'
  694.           with
  695.           [
  696.               _Ty=torch::jit::script::Method
  697.           ]
  698.   C:\Users\krshr\Downloads\libtorch\libtorch\include\torch/csrc/jit/script/module.h(276): note: see declaration of 'std::vector<std::unique_ptr<torch::jit::script::Method,std::default_delete<_Ty>>,std::allocator<std::unique_ptr<_Ty,std::default_delete<_Ty>>>>'
  699.           with
  700.           [
  701.               _Ty=torch::jit::script::Method
  702.           ]
  703. C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\jit\script\module.h(548): warning C4251: 'torch::jit::script::Module::dict_': class 'std::unordered_map<std::string,torch::jit::script::Module::Entry,std::hash<std::string>,std::equal_to<_Kty>,std::allocator<std::pair<const _Kty,_Ty>>>' needs to have dll-interface to be used by clients of struct 'torch::jit::script::Module'
  704.           with
  705.           [
  706.               _Kty=std::string,
  707.               _Ty=torch::jit::script::Module::Entry
  708.           ]
  709.   C:\Users\krshr\Downloads\libtorch\libtorch\include\torch/csrc/jit/script/module.h(548): note: see declaration of 'std::unordered_map<std::string,torch::jit::script::Module::Entry,std::hash<std::string>,std::equal_to<_Kty>,std::allocator<std::pair<const _Kty,_Ty>>>'
  710.           with
  711.           [
  712.               _Kty=std::string,
  713.               _Ty=torch::jit::script::Module::Entry
  714.           ]
  715. C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\jit\script\module.h(549): warning C4251: 'torch::jit::script::Module::name_': class 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>' needs to have dll-interface to be used by clients of struct 'torch::jit::script::Module'
  716.   C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.21.27702\include\xstring(4231): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'
  717. C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\jit\script\module.h(551): warning C4251: 'torch::jit::script::Module::module_value_': class 'c10::intrusive_ptr<c10::ivalue::Object,c10::detail::intrusive_target_default_null_type<TTarget>>' needs to have dll-interface to be used by clients of struct 'torch::jit::script::Module'
  718.           with
  719.           [
  720.               TTarget=c10::ivalue::Object
  721.           ]
  722.   C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen/core/ivalue.h(403): note: see declaration of 'c10::intrusive_ptr<c10::ivalue::Object,c10::detail::intrusive_target_default_null_type<TTarget>>'
  723.           with
  724.           [
  725.               TTarget=c10::ivalue::Object
  726.           ]
  727. C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\jit\script\module.h(566): warning C4251: 'torch::jit::script::Module::create_method_guard_': class 'std::recursive_mutex' needs to have dll-interface to be used by clients of struct 'torch::jit::script::Module'
  728.   C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.21.27702\include\mutex(92): note: see declaration of 'std::recursive_mutex'
  729. C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\jit\script\sugared_value.h(25): warning C4251: 'std::enable_shared_from_this<torch::jit::script::SugaredValue>::_Wptr': class 'std::weak_ptr<_Ty>' needs to have dll-interface to be used by clients of class 'std::enable_shared_from_this<torch::jit::script::SugaredValue>'
  730.           with
  731.           [
  732.               _Ty=torch::jit::script::SugaredValue
  733.           ]
  734.   C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.21.27702\include\memory(1705): note: see declaration of 'std::weak_ptr<_Ty>'
  735.           with
  736.           [
  737.               _Ty=torch::jit::script::SugaredValue
  738.           ]
  739. C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\jit\script\sugared_value.h(156): warning C4251: 'torch::jit::script::BuiltinFunction::self': class 'c10::optional<torch::jit::NamedValue>' needs to have dll-interface to be used by clients of struct 'torch::jit::script::BuiltinFunction'
  740.   C:\Users\krshr\Downloads\libtorch\libtorch\include\torch/csrc/jit/script/compilation_unit.h(130): note: see declaration of 'c10::optional<torch::jit::NamedValue>'
  741. C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\jit\script\sugared_value.h(185): warning C4251: 'torch::jit::script::BuiltinModule::name': class 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>' needs to have dll-interface to be used by clients of struct 'torch::jit::script::BuiltinModule'
  742.   C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.21.27702\include\xstring(4231): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'
  743. C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\jit\script\sugared_value.h(188): warning C4251: 'torch::jit::script::BuiltinModule::version': class 'c10::optional<int64_t>' needs to have dll-interface to be used by clients of struct 'torch::jit::script::BuiltinModule'
  744.   C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen/core/Type.h(160): note: see declaration of 'c10::optional<int64_t>'
  745. C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\jit\script\sugared_value.h(214): warning C4251: 'torch::jit::script::ClassValue::type_': class 'std::shared_ptr<c10::ClassType>' needs to have dll-interface to be used by clients of struct 'torch::jit::script::ClassValue'
  746.   C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen/core/ivalue.h(687): note: see declaration of 'std::shared_ptr<c10::ClassType>'
  747. C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\jit\script\sugared_value.h(282): warning C4251: 'torch::jit::script::CastValue::type_': class 'std::shared_ptr<c10::Type>' needs to have dll-interface to be used by clients of struct 'torch::jit::script::CastValue'
  748.   C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen/core/jit_type.h(64): note: see declaration of 'std::shared_ptr<c10::Type>'
  749. C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\jit\script\sugared_value.h(338): warning C4251: 'torch::jit::script::ClassNewMethod::type_': class 'std::shared_ptr<c10::ClassType>' needs to have dll-interface to be used by clients of struct 'torch::jit::script::ClassNewMethod'
  750.   C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen/core/ivalue.h(687): note: see declaration of 'std::shared_ptr<c10::ClassType>'
  751. C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\api\include\torch\nn\module.h(62): warning C4251: 'std::enable_shared_from_this<torch::nn::Module>::_Wptr': class 'std::weak_ptr<_Ty>' needs to have dll-interface to be used by clients of class 'std::enable_shared_from_this<torch::nn::Module>'
  752.           with
  753.           [
  754.               _Ty=torch::nn::Module
  755.           ]
  756.   C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.21.27702\include\memory(1705): note: see declaration of 'std::weak_ptr<_Ty>'
  757.           with
  758.           [
  759.               _Ty=torch::nn::Module
  760.           ]
  761. C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\api\include\torch\nn\module.h(514): warning C4251: 'torch::nn::Module::parameters_': class 'torch::OrderedDict<std::string,at::Tensor>' needs to have dll-interface to be used by clients of class 'torch::nn::Module'
  762.   C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\api\include\torch/nn/module.h(210): note: see declaration of 'torch::OrderedDict<std::string,at::Tensor>'
  763. C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\api\include\torch\nn\module.h(517): warning C4251: 'torch::nn::Module::buffers_': class 'torch::OrderedDict<std::string,at::Tensor>' needs to have dll-interface to be used by clients of class 'torch::nn::Module'
  764.   C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\api\include\torch/nn/module.h(210): note: see declaration of 'torch::OrderedDict<std::string,at::Tensor>'
  765. C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\api\include\torch\nn\module.h(520): warning C4251: 'torch::nn::Module::children_': class 'torch::OrderedDict<std::string,std::shared_ptr<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::nn::Module'
  766.           with
  767.           [
  768.               _Ty=torch::nn::Module
  769.           ]
  770.   C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\api\include\torch/nn/module.h(246): note: see declaration of 'torch::OrderedDict<std::string,std::shared_ptr<_Ty>>'
  771.           with
  772.           [
  773.               _Ty=torch::nn::Module
  774.           ]
  775. C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\api\include\torch\nn\module.h(523): warning C4251: 'torch::nn::Module::name_': class 'c10::optional<std::string>' needs to have dll-interface to be used by clients of class 'torch::nn::Module'
  776.   C:\Users\krshr\Downloads\libtorch\libtorch\include\torch/csrc/jit/named_value.h(71): note: see declaration of 'c10::optional<std::string>'
  777. C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\api\include\torch\nn\modules\conv.h(111): warning C4251: 'torch::nn::ConvImpl<1,torch::nn::Conv1dImpl>::options': struct 'torch::nn::ConvOptions<1>' needs to have dll-interface to be used by clients of class 'torch::nn::ConvImpl<1,torch::nn::Conv1dImpl>'
  778.   C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\api\include\torch/nn/modules/conv.h(89): note: see declaration of 'torch::nn::ConvOptions<1>'
  779. C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\api\include\torch\nn\modules\conv.h(131): warning C4251: 'torch::nn::ConvImpl<2,torch::nn::Conv2dImpl>::options': struct 'torch::nn::ConvOptions<2>' needs to have dll-interface to be used by clients of class 'torch::nn::ConvImpl<2,torch::nn::Conv2dImpl>'
  780.   C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\api\include\torch/nn/modules/conv.h(89): note: see declaration of 'torch::nn::ConvOptions<2>'
  781. C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\api\include\torch\nn\modules\conv.h(151): warning C4251: 'torch::nn::ConvImpl<3,torch::nn::Conv3dImpl>::options': struct 'torch::nn::ConvOptions<3>' needs to have dll-interface to be used by clients of class 'torch::nn::ConvImpl<3,torch::nn::Conv3dImpl>'
  782.   C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\api\include\torch/nn/modules/conv.h(89): note: see declaration of 'torch::nn::ConvOptions<3>'
  783. C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\api\include\torch\nn\modules\functional.h(94): warning C4251: 'torch::nn::FunctionalImpl::function_': class 'std::function<at::Tensor (at::Tensor)>' needs to have dll-interface to be used by clients of class 'torch::nn::FunctionalImpl'
  784.   C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\api\include\torch/data/transforms/tensor.h(39): note: see declaration of 'std::function<at::Tensor (at::Tensor)>'
  785. C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\api\include\torch\nn\modules\rnn.h(177): warning C4251: 'torch::nn::detail::RNNImplBase<torch::nn::RNNImpl>::w_ih': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase<torch::nn::RNNImpl>'
  786.           with
  787.           [
  788.               _Ty=at::Tensor
  789.           ]
  790.   C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen/core/Type.h(178): note: see declaration of 'std::vector<at::Tensor,std::allocator<_Ty>>'
  791.           with
  792.           [
  793.               _Ty=at::Tensor
  794.           ]
  795. C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\api\include\torch\nn\modules\rnn.h(177): warning C4251: 'torch::nn::detail::RNNImplBase<torch::nn::RNNImpl>::w_hh': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase<torch::nn::RNNImpl>'
  796.           with
  797.           [
  798.               _Ty=at::Tensor
  799.           ]
  800.   C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen/core/Type.h(178): note: see declaration of 'std::vector<at::Tensor,std::allocator<_Ty>>'
  801.           with
  802.           [
  803.               _Ty=at::Tensor
  804.           ]
  805. C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\api\include\torch\nn\modules\rnn.h(177): warning C4251: 'torch::nn::detail::RNNImplBase<torch::nn::RNNImpl>::b_ih': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase<torch::nn::RNNImpl>'
  806.           with
  807.           [
  808.               _Ty=at::Tensor
  809.           ]
  810.   C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen/core/Type.h(178): note: see declaration of 'std::vector<at::Tensor,std::allocator<_Ty>>'
  811.           with
  812.           [
  813.               _Ty=at::Tensor
  814.           ]
  815. C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\api\include\torch\nn\modules\rnn.h(177): warning C4251: 'torch::nn::detail::RNNImplBase<torch::nn::RNNImpl>::b_hh': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase<torch::nn::RNNImpl>'
  816.           with
  817.           [
  818.               _Ty=at::Tensor
  819.           ]
  820.   C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen/core/Type.h(178): note: see declaration of 'std::vector<at::Tensor,std::allocator<_Ty>>'
  821.           with
  822.           [
  823.               _Ty=at::Tensor
  824.           ]
  825. C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\api\include\torch\nn\modules\rnn.h(177): warning C4251: 'torch::nn::detail::RNNImplBase<torch::nn::RNNImpl>::cudnn_mode_': class 'c10::optional<torch::nn::detail::RNNImplBase<torch::nn::RNNImpl>::CuDNNMode>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase<torch::nn::RNNImpl>'
  826.   C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\api\include\torch/nn/modules/rnn.h(64): note: see declaration of 'c10::optional<torch::nn::detail::RNNImplBase<torch::nn::RNNImpl>::CuDNNMode>'
  827. C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\api\include\torch\nn\modules\rnn.h(177): warning C4251: 'torch::nn::detail::RNNImplBase<torch::nn::RNNImpl>::flat_weights_': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase<torch::nn::RNNImpl>'
  828.           with
  829.           [
  830.               _Ty=at::Tensor
  831.           ]
  832.   C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen/core/Type.h(178): note: see declaration of 'std::vector<at::Tensor,std::allocator<_Ty>>'
  833.           with
  834.           [
  835.               _Ty=at::Tensor
  836.           ]
  837. C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\api\include\torch\nn\modules\rnn.h(208): warning C4251: 'torch::nn::detail::RNNImplBase<torch::nn::LSTMImpl>::w_ih': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase<torch::nn::LSTMImpl>'
  838.           with
  839.           [
  840.               _Ty=at::Tensor
  841.           ]
  842.   C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen/core/Type.h(178): note: see declaration of 'std::vector<at::Tensor,std::allocator<_Ty>>'
  843.           with
  844.           [
  845.               _Ty=at::Tensor
  846.           ]
  847. C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\api\include\torch\nn\modules\rnn.h(208): warning C4251: 'torch::nn::detail::RNNImplBase<torch::nn::LSTMImpl>::w_hh': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase<torch::nn::LSTMImpl>'
  848.           with
  849.           [
  850.               _Ty=at::Tensor
  851.           ]
  852.   C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen/core/Type.h(178): note: see declaration of 'std::vector<at::Tensor,std::allocator<_Ty>>'
  853.           with
  854.           [
  855.               _Ty=at::Tensor
  856.           ]
  857. C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\api\include\torch\nn\modules\rnn.h(208): warning C4251: 'torch::nn::detail::RNNImplBase<torch::nn::LSTMImpl>::b_ih': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase<torch::nn::LSTMImpl>'
  858.           with
  859.           [
  860.               _Ty=at::Tensor
  861.           ]
  862.   C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen/core/Type.h(178): note: see declaration of 'std::vector<at::Tensor,std::allocator<_Ty>>'
  863.           with
  864.           [
  865.               _Ty=at::Tensor
  866.           ]
  867. C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\api\include\torch\nn\modules\rnn.h(208): warning C4251: 'torch::nn::detail::RNNImplBase<torch::nn::LSTMImpl>::b_hh': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase<torch::nn::LSTMImpl>'
  868.           with
  869.           [
  870.               _Ty=at::Tensor
  871.           ]
  872.   C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen/core/Type.h(178): note: see declaration of 'std::vector<at::Tensor,std::allocator<_Ty>>'
  873.           with
  874.           [
  875.               _Ty=at::Tensor
  876.           ]
  877. C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\api\include\torch\nn\modules\rnn.h(208): warning C4251: 'torch::nn::detail::RNNImplBase<torch::nn::LSTMImpl>::cudnn_mode_': class 'c10::optional<torch::nn::detail::RNNImplBase<torch::nn::LSTMImpl>::CuDNNMode>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase<torch::nn::LSTMImpl>'
  878.   C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\api\include\torch/nn/modules/rnn.h(64): note: see declaration of 'c10::optional<torch::nn::detail::RNNImplBase<torch::nn::LSTMImpl>::CuDNNMode>'
  879. C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\api\include\torch\nn\modules\rnn.h(208): warning C4251: 'torch::nn::detail::RNNImplBase<torch::nn::LSTMImpl>::flat_weights_': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase<torch::nn::LSTMImpl>'
  880.           with
  881.           [
  882.               _Ty=at::Tensor
  883.           ]
  884.   C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen/core/Type.h(178): note: see declaration of 'std::vector<at::Tensor,std::allocator<_Ty>>'
  885.           with
  886.           [
  887.               _Ty=at::Tensor
  888.           ]
  889. C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\api\include\torch\nn\modules\rnn.h(234): warning C4251: 'torch::nn::detail::RNNImplBase<torch::nn::GRUImpl>::w_ih': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase<torch::nn::GRUImpl>'
  890.           with
  891.           [
  892.               _Ty=at::Tensor
  893.           ]
  894.   C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen/core/Type.h(178): note: see declaration of 'std::vector<at::Tensor,std::allocator<_Ty>>'
  895.           with
  896.           [
  897.               _Ty=at::Tensor
  898.           ]
  899. C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\api\include\torch\nn\modules\rnn.h(234): warning C4251: 'torch::nn::detail::RNNImplBase<torch::nn::GRUImpl>::w_hh': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase<torch::nn::GRUImpl>'
  900.           with
  901.           [
  902.               _Ty=at::Tensor
  903.           ]
  904.   C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen/core/Type.h(178): note: see declaration of 'std::vector<at::Tensor,std::allocator<_Ty>>'
  905.           with
  906.           [
  907.               _Ty=at::Tensor
  908.           ]
  909. C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\api\include\torch\nn\modules\rnn.h(234): warning C4251: 'torch::nn::detail::RNNImplBase<torch::nn::GRUImpl>::b_ih': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase<torch::nn::GRUImpl>'
  910.           with
  911.           [
  912.               _Ty=at::Tensor
  913.           ]
  914.   C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen/core/Type.h(178): note: see declaration of 'std::vector<at::Tensor,std::allocator<_Ty>>'
  915.           with
  916.           [
  917.               _Ty=at::Tensor
  918.           ]
  919. C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\api\include\torch\nn\modules\rnn.h(234): warning C4251: 'torch::nn::detail::RNNImplBase<torch::nn::GRUImpl>::b_hh': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase<torch::nn::GRUImpl>'
  920.           with
  921.           [
  922.               _Ty=at::Tensor
  923.           ]
  924.   C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen/core/Type.h(178): note: see declaration of 'std::vector<at::Tensor,std::allocator<_Ty>>'
  925.           with
  926.           [
  927.               _Ty=at::Tensor
  928.           ]
  929. C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\api\include\torch\nn\modules\rnn.h(234): warning C4251: 'torch::nn::detail::RNNImplBase<torch::nn::GRUImpl>::cudnn_mode_': class 'c10::optional<torch::nn::detail::RNNImplBase<torch::nn::GRUImpl>::CuDNNMode>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase<torch::nn::GRUImpl>'
  930.   C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\api\include\torch/nn/modules/rnn.h(64): note: see declaration of 'c10::optional<torch::nn::detail::RNNImplBase<torch::nn::GRUImpl>::CuDNNMode>'
  931. C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\api\include\torch\nn\modules\rnn.h(234): warning C4251: 'torch::nn::detail::RNNImplBase<torch::nn::GRUImpl>::flat_weights_': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase<torch::nn::GRUImpl>'
  932.           with
  933.           [
  934.               _Ty=at::Tensor
  935.           ]
  936.   C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen/core/Type.h(178): note: see declaration of 'std::vector<at::Tensor,std::allocator<_Ty>>'
  937.           with
  938.           [
  939.               _Ty=at::Tensor
  940.           ]
  941. C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\api\include\torch\optim\optimizer.h(83): warning C4251: 'torch::optim::detail::OptimizerBase::parameters_': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::optim::detail::OptimizerBase'
  942.           with
  943.           [
  944.               _Ty=at::Tensor
  945.           ]
  946.   C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen/core/Type.h(178): note: see declaration of 'std::vector<at::Tensor,std::allocator<_Ty>>'
  947.           with
  948.           [
  949.               _Ty=at::Tensor
  950.           ]
  951. C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\api\include\torch\optim\adagrad.h(28): warning C4275: non dll-interface class 'torch::optim::Optimizer' used as base for dll-interface class 'torch::optim::Adagrad'
  952.   C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\api\include\torch/optim/optimizer.h(100): note: see declaration of 'torch::optim::Optimizer'
  953.   C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\api\include\torch/optim/adagrad.h(28): note: see declaration of 'torch::optim::Adagrad'
  954. C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\api\include\torch\optim\adagrad.h(44): warning C4251: 'torch::optim::Adagrad::sum_buffers': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::optim::Adagrad'
  955.           with
  956.           [
  957.               _Ty=at::Tensor
  958.           ]
  959.   C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen/core/Type.h(178): note: see declaration of 'std::vector<at::Tensor,std::allocator<_Ty>>'
  960.           with
  961.           [
  962.               _Ty=at::Tensor
  963.           ]
  964. C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\api\include\torch\optim\adagrad.h(45): warning C4251: 'torch::optim::Adagrad::step_buffers': class 'std::vector<int64_t,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::optim::Adagrad'
  965.           with
  966.           [
  967.               _Ty=int64_t
  968.           ]
  969.   C:\Users\krshr\Downloads\libtorch\libtorch\include\c10/util/typeid.h(597): note: see declaration of 'std::vector<int64_t,std::allocator<_Ty>>'
  970.           with
  971.           [
  972.               _Ty=int64_t
  973.           ]
  974. C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\api\include\torch\optim\adam.h(31): warning C4275: non dll-interface class 'torch::optim::Optimizer' used as base for dll-interface class 'torch::optim::Adam'
  975.   C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\api\include\torch/optim/optimizer.h(100): note: see declaration of 'torch::optim::Optimizer'
  976.   C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\api\include\torch/optim/adam.h(31): note: see declaration of 'torch::optim::Adam'
  977. C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\api\include\torch\optim\adam.h(45): warning C4251: 'torch::optim::Adam::step_buffers': class 'std::vector<int64_t,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::optim::Adam'
  978.           with
  979.           [
  980.               _Ty=int64_t
  981.           ]
  982.   C:\Users\krshr\Downloads\libtorch\libtorch\include\c10/util/typeid.h(597): note: see declaration of 'std::vector<int64_t,std::allocator<_Ty>>'
  983.           with
  984.           [
  985.               _Ty=int64_t
  986.           ]
  987. C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\api\include\torch\optim\adam.h(46): warning C4251: 'torch::optim::Adam::exp_average_buffers': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::optim::Adam'
  988.           with
  989.           [
  990.               _Ty=at::Tensor
  991.           ]
  992.   C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen/core/Type.h(178): note: see declaration of 'std::vector<at::Tensor,std::allocator<_Ty>>'
  993.           with
  994.           [
  995.               _Ty=at::Tensor
  996.           ]
  997. C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\api\include\torch\optim\adam.h(47): warning C4251: 'torch::optim::Adam::exp_average_sq_buffers': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::optim::Adam'
  998.           with
  999.           [
  1000.               _Ty=at::Tensor
  1001.           ]
  1002.   C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen/core/Type.h(178): note: see declaration of 'std::vector<at::Tensor,std::allocator<_Ty>>'
  1003.           with
  1004.           [
  1005.               _Ty=at::Tensor
  1006.           ]
  1007. C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\api\include\torch\optim\adam.h(48): warning C4251: 'torch::optim::Adam::max_exp_average_sq_buffers': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::optim::Adam'
  1008.           with
  1009.           [
  1010.               _Ty=at::Tensor
  1011.           ]
  1012.   C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen/core/Type.h(178): note: see declaration of 'std::vector<at::Tensor,std::allocator<_Ty>>'
  1013.           with
  1014.           [
  1015.               _Ty=at::Tensor
  1016.           ]
  1017. C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\api\include\torch\optim\lbfgs.h(22): warning C4305: 'initializing': truncation from 'double' to 'float'
  1018. C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\api\include\torch\optim\lbfgs.h(23): warning C4305: 'initializing': truncation from 'double' to 'float'
  1019. C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\api\include\torch\optim\lbfgs.h(27): warning C4275: non dll-interface class 'torch::optim::LossClosureOptimizer' used as base for dll-interface class 'torch::optim::LBFGS'
  1020.   C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\api\include\torch/optim/optimizer.h(110): note: see declaration of 'torch::optim::LossClosureOptimizer'
  1021.   C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\api\include\torch/optim/lbfgs.h(27): note: see declaration of 'torch::optim::LBFGS'
  1022. C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\api\include\torch\optim\lbfgs.h(48): warning C4251: 'torch::optim::LBFGS::ro': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::optim::LBFGS'
  1023.           with
  1024.           [
  1025.               _Ty=at::Tensor
  1026.           ]
  1027.   C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen/core/Type.h(178): note: see declaration of 'std::vector<at::Tensor,std::allocator<_Ty>>'
  1028.           with
  1029.           [
  1030.               _Ty=at::Tensor
  1031.           ]
  1032. C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\api\include\torch\optim\lbfgs.h(49): warning C4251: 'torch::optim::LBFGS::al': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::optim::LBFGS'
  1033.           with
  1034.           [
  1035.               _Ty=at::Tensor
  1036.           ]
  1037.   C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen/core/Type.h(178): note: see declaration of 'std::vector<at::Tensor,std::allocator<_Ty>>'
  1038.           with
  1039.           [
  1040.               _Ty=at::Tensor
  1041.           ]
  1042. C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\api\include\torch\optim\lbfgs.h(50): warning C4251: 'torch::optim::LBFGS::old_dirs': class 'std::deque<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::optim::LBFGS'
  1043.           with
  1044.           [
  1045.               _Ty=at::Tensor
  1046.           ]
  1047.   C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\api\include\torch/optim/lbfgs.h(50): note: see declaration of 'std::deque<at::Tensor,std::allocator<_Ty>>'
  1048.           with
  1049.           [
  1050.               _Ty=at::Tensor
  1051.           ]
  1052. C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\api\include\torch\optim\lbfgs.h(51): warning C4251: 'torch::optim::LBFGS::old_stps': class 'std::deque<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::optim::LBFGS'
  1053.           with
  1054.           [
  1055.               _Ty=at::Tensor
  1056.           ]
  1057.   C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\api\include\torch/optim/lbfgs.h(50): note: see declaration of 'std::deque<at::Tensor,std::allocator<_Ty>>'
  1058.           with
  1059.           [
  1060.               _Ty=at::Tensor
  1061.           ]
  1062. C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\api\include\torch\optim\rmsprop.h(34): warning C4275: non dll-interface class 'torch::optim::Optimizer' used as base for dll-interface class 'torch::optim::RMSprop'
  1063.   C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\api\include\torch/optim/optimizer.h(100): note: see declaration of 'torch::optim::Optimizer'
  1064.   C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\api\include\torch/optim/rmsprop.h(34): note: see declaration of 'torch::optim::RMSprop'
  1065. C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\api\include\torch\optim\rmsprop.h(50): warning C4251: 'torch::optim::RMSprop::square_average_buffers': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::optim::RMSprop'
  1066.           with
  1067.           [
  1068.               _Ty=at::Tensor
  1069.           ]
  1070.   C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen/core/Type.h(178): note: see declaration of 'std::vector<at::Tensor,std::allocator<_Ty>>'
  1071.           with
  1072.           [
  1073.               _Ty=at::Tensor
  1074.           ]
  1075. C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\api\include\torch\optim\rmsprop.h(51): warning C4251: 'torch::optim::RMSprop::momentum_buffers': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::optim::RMSprop'
  1076.           with
  1077.           [
  1078.               _Ty=at::Tensor
  1079.           ]
  1080.   C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen/core/Type.h(178): note: see declaration of 'std::vector<at::Tensor,std::allocator<_Ty>>'
  1081.           with
  1082.           [
  1083.               _Ty=at::Tensor
  1084.           ]
  1085. C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\api\include\torch\optim\rmsprop.h(52): warning C4251: 'torch::optim::RMSprop::grad_average_buffers': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::optim::RMSprop'
  1086.           with
  1087.           [
  1088.               _Ty=at::Tensor
  1089.           ]
  1090.   C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen/core/Type.h(178): note: see declaration of 'std::vector<at::Tensor,std::allocator<_Ty>>'
  1091.           with
  1092.           [
  1093.               _Ty=at::Tensor
  1094.           ]
  1095. C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\api\include\torch\optim\sgd.h(31): warning C4275: non dll-interface class 'torch::optim::Optimizer' used as base for dll-interface class 'torch::optim::SGD'
  1096.   C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\api\include\torch/optim/optimizer.h(100): note: see declaration of 'torch::optim::Optimizer'
  1097.   C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\api\include\torch/optim/sgd.h(31): note: see declaration of 'torch::optim::SGD'
  1098. C:\Users\krshr\Downloads\libtorch\libtorch\include\torch\csrc\api\include\torch\optim\sgd.h(45): warning C4251: 'torch::optim::SGD::momentum_buffers': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::optim::SGD'
  1099.           with
  1100.           [
  1101.               _Ty=at::Tensor
  1102.           ]
  1103.   C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen/core/Type.h(178): note: see declaration of 'std::vector<at::Tensor,std::allocator<_Ty>>'
  1104.           with
  1105.           [
  1106.               _Ty=at::Tensor
  1107.           ]
  1108. C:\Users\krshr\Downloads\libtorch\libtorch\include\c10\util\Optional.h(430): warning C4244: 'argument': conversion from '_Ty' to 'T', possible loss of data
  1109.           with
  1110.           [
  1111.               _Ty=unsigned __int64
  1112.           ]
  1113.           and
  1114.           [
  1115.               T=int32_t
  1116.           ]
  1117.   C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen/core/function_schema.h(171): note: see reference to function template instantiation 'c10::optional<int32_t>::optional<size_t,false>(U &&)' being compiled
  1118.           with
  1119.           [
  1120.               U=size_t
  1121.           ]
  1122.   C:\Users\krshr\Downloads\libtorch\libtorch\include\ATen/core/function_schema.h(171): note: see reference to function template instantiation 'c10::optional<int32_t>::optional<size_t,false>(U &&)' being compiled
  1123.           with
  1124.           [
  1125.               U=size_t
  1126.           ]
  1127. C:\Users\krshr\Downloads\libtorch\libtorch\include\c10\util\Half.h(440): warning C4018: '>': signed/unsigned mismatch
  1128.   C:\Users\krshr\Downloads\libtorch\libtorch\include\c10/util/Half.h(486): note: see reference to function template instantiation 'bool c10::overflows<To,From>(From)' being compiled
  1129.           with
  1130.           [
  1131.               To=int64_t,
  1132.               From=int64_t
  1133.           ]
  1134.   C:\Users\krshr\Downloads\libtorch\libtorch\include\c10/core/Scalar.h(75): note: see reference to function template instantiation 'To c10::checked_convert<int64_t,int64_t>(From,const char *)' being compiled
  1135.           with
  1136.           [
  1137.               To=int64_t,
  1138.               From=int64_t
  1139.           ]
  1140. C:\Users\krshr\Downloads\libtorch\libtorch\include\c10\util\Half.h(400): warning C4244: 'argument': conversion from 'From' to 'const std::complex<double>::_Ty', possible loss of data
  1141.           with
  1142.           [
  1143.               From=int64_t
  1144.           ]
  1145.   C:\Users\krshr\Downloads\libtorch\libtorch\include\c10/util/Half.h(399): note: while compiling class template member function 'To c10::Converter<To,From,void>::operator ()(From)'
  1146.           with
  1147.           [
  1148.               To=std::complex<double>,
  1149.               From=int64_t
  1150.           ]
  1151.   C:\Users\krshr\Downloads\libtorch\libtorch\include\c10/util/Half.h(406): note: see reference to function template instantiation 'To c10::Converter<To,From,void>::operator ()(From)' being compiled
  1152.           with
  1153.           [
  1154.               To=std::complex<double>,
  1155.               From=int64_t
  1156.           ]
  1157.   C:\Users\krshr\Downloads\libtorch\libtorch\include\c10/util/Half.h(406): note: see reference to class template instantiation 'c10::Converter<To,From,void>' being compiled
  1158.           with
  1159.           [
  1160.               To=std::complex<double>,
  1161.               From=int64_t
  1162.           ]
  1163.   C:\Users\krshr\Downloads\libtorch\libtorch\include\c10/util/Half.h(492): note: see reference to function template instantiation 'To c10::convert<To,From>(From)' being compiled
  1164.           with
  1165.           [
  1166.               To=std::complex<double>,
  1167.               From=int64_t
  1168.           ]
  1169.   C:\Users\krshr\Downloads\libtorch\libtorch\include\c10/core/Scalar.h(75): note: see reference to function template instantiation 'To c10::checked_convert<std::complex<double>,int64_t>(From,const char *)' being compiled
  1170.           with
  1171.           [
  1172.               To=std::complex<double>,
  1173.               From=int64_t
  1174.           ]
  1175. C:\Users\krshr\Downloads\libtorch\libtorch\include\c10\util\Half.h(400): warning C4244: 'argument': conversion from 'From' to 'const std::complex<float>::_Ty', possible loss of data
  1176.           with
  1177.           [
  1178.               From=int64_t
  1179.           ]
  1180.   C:\Users\krshr\Downloads\libtorch\libtorch\include\c10/util/Half.h(399): note: while compiling class template member function 'To c10::Converter<To,From,void>::operator ()(From)'
  1181.           with
  1182.           [
  1183.               To=std::complex<float>,
  1184.               From=int64_t
  1185.           ]
  1186.   C:\Users\krshr\Downloads\libtorch\libtorch\include\c10/util/Half.h(406): note: see reference to function template instantiation 'To c10::Converter<To,From,void>::operator ()(From)' being compiled
  1187.           with
  1188.           [
  1189.               To=std::complex<float>,
  1190.               From=int64_t
  1191.           ]
  1192.   C:\Users\krshr\Downloads\libtorch\libtorch\include\c10/util/Half.h(406): note: see reference to class template instantiation 'c10::Converter<To,From,void>' being compiled
  1193.           with
  1194.           [
  1195.               To=std::complex<float>,
  1196.               From=int64_t
  1197.           ]
  1198.   C:\Users\krshr\Downloads\libtorch\libtorch\include\c10/util/Half.h(492): note: see reference to function template instantiation 'To c10::convert<To,From>(From)' being compiled
  1199.           with
  1200.           [
  1201.               To=std::complex<float>,
  1202.               From=int64_t
  1203.           ]
  1204.   C:\Users\krshr\Downloads\libtorch\libtorch\include\c10/core/Scalar.h(75): note: see reference to function template instantiation 'To c10::checked_convert<std::complex<float>,int64_t>(From,const char *)' being compiled
  1205.           with
  1206.           [
  1207.               To=std::complex<float>,
  1208.               From=int64_t
  1209.           ]
  1210. C:\Users\krshr\Downloads\libtorch\libtorch\include\c10\util\Half.h(400): warning C4244: 'argument': conversion from 'From' to 'const std::complex<float>::_Ty', possible loss of data
  1211.           with
  1212.           [
  1213.               From=double
  1214.           ]
  1215.   C:\Users\krshr\Downloads\libtorch\libtorch\include\c10/util/Half.h(399): note: while compiling class template member function 'To c10::Converter<To,From,void>::operator ()(From)'
  1216.           with
  1217.           [
  1218.               To=std::complex<float>,
  1219.               From=double
  1220.           ]
  1221.   C:\Users\krshr\Downloads\libtorch\libtorch\include\c10/util/Half.h(406): note: see reference to function template instantiation 'To c10::Converter<To,From,void>::operator ()(From)' being compiled
  1222.           with
  1223.           [
  1224.               To=std::complex<float>,
  1225.               From=double
  1226.           ]
  1227.   C:\Users\krshr\Downloads\libtorch\libtorch\include\c10/util/Half.h(406): note: see reference to class template instantiation 'c10::Converter<To,From,void>' being compiled
  1228.           with
  1229.           [
  1230.               To=std::complex<float>,
  1231.               From=double
  1232.           ]
  1233.   C:\Users\krshr\Downloads\libtorch\libtorch\include\c10/util/Half.h(492): note: see reference to function template instantiation 'To c10::convert<To,From>(From)' being compiled
  1234.           with
  1235.           [
  1236.               To=std::complex<float>,
  1237.               From=double
  1238.           ]
  1239.   C:\Users\krshr\Downloads\libtorch\libtorch\include\c10/core/Scalar.h(75): note: see reference to function template instantiation 'To c10::checked_convert<std::complex<float>,double>(From,const char *)' being compiled
  1240.           with
  1241.           [
  1242.               To=std::complex<float>,
  1243.               From=double
  1244.           ]
  1245. C:\Users\krshr\Downloads\libtorch\libtorch\include\c10\util\Half.h(400): warning C4244: 'argument': conversion from 'From' to 'float', possible loss of data
  1246.           with
  1247.           [
  1248.               From=int64_t
  1249.           ]
  1250.   C:\Users\krshr\Downloads\libtorch\libtorch\include\c10/util/Half.h(399): note: while compiling class template member function 'To c10::Converter<To,From,void>::operator ()(From)'
  1251.           with
  1252.           [
  1253.               To=c10::Half,
  1254.               From=int64_t
  1255.           ]
  1256.   C:\Users\krshr\Downloads\libtorch\libtorch\include\c10/util/Half.h(406): note: see reference to function template instantiation 'To c10::Converter<To,From,void>::operator ()(From)' being compiled
  1257.           with
  1258.           [
  1259.               To=c10::Half,
  1260.               From=int64_t
  1261.           ]
  1262.   C:\Users\krshr\Downloads\libtorch\libtorch\include\c10/util/Half.h(406): note: see reference to class template instantiation 'c10::Converter<To,From,void>' being compiled
  1263.           with
  1264.           [
  1265.               To=c10::Half,
  1266.               From=int64_t
  1267.           ]
  1268.   C:\Users\krshr\Downloads\libtorch\libtorch\include\c10/util/Half.h(492): note: see reference to function template instantiation 'To c10::convert<To,From>(From)' being compiled
  1269.           with
  1270.           [
  1271.               To=c10::Half,
  1272.               From=int64_t
  1273.           ]
  1274.   C:\Users\krshr\Downloads\libtorch\libtorch\include\c10/core/Scalar.h(75): note: see reference to function template instantiation 'To c10::checked_convert<c10::Half,int64_t>(From,const char *)' being compiled
  1275.           with
  1276.           [
  1277.               To=c10::Half,
  1278.               From=int64_t
  1279.           ]
  1280. C:\Users\krshr\Downloads\libtorch\libtorch\include\c10\util\Half.h(416): warning C4244: 'argument': conversion from '_Ty' to 'float', possible loss of data
  1281.           with
  1282.           [
  1283.               _Ty=double
  1284.           ]
  1285.   C:\Users\krshr\Downloads\libtorch\libtorch\include\c10/util/Half.h(415): note: while compiling class template member function 'To c10::Converter<To,From,void>::operator ()(std::complex<double>)'
  1286.           with
  1287.           [
  1288.               To=c10::Half,
  1289.               From=std::complex<double>
  1290.           ]
  1291.   C:\Users\krshr\Downloads\libtorch\libtorch\include\c10/util/Half.h(406): note: see reference to function template instantiation 'To c10::Converter<To,From,void>::operator ()(std::complex<double>)' being compiled
  1292.           with
  1293.           [
  1294.               To=c10::Half,
  1295.               From=std::complex<double>
  1296.           ]
  1297.   C:\Users\krshr\Downloads\libtorch\libtorch\include\c10/util/Half.h(406): note: see reference to class template instantiation 'c10::Converter<To,From,void>' being compiled
  1298.           with
  1299.           [
  1300.               To=c10::Half,
  1301.               From=std::complex<double>
  1302.           ]
  1303.   C:\Users\krshr\Downloads\libtorch\libtorch\include\c10/util/Half.h(492): note: see reference to function template instantiation 'To c10::convert<To,From>(From)' being compiled
  1304.           with
  1305.           [
  1306.               To=c10::Half,
  1307.               From=std::complex<double>
  1308.           ]
  1309.   C:\Users\krshr\Downloads\libtorch\libtorch\include\c10/core/Scalar.h(75): note: see reference to function template instantiation 'To c10::checked_convert<c10::Half,std::complex<double>>(From,const char *)' being compiled
  1310.           with
  1311.           [
  1312.               To=c10::Half,
  1313.               From=std::complex<double>
  1314.           ]
  1315. C:\Users\krshr\Downloads\libtorch\libtorch\include\c10\util\Half.h(400): warning C4244: 'argument': conversion from 'From' to 'float', possible loss of data
  1316.           with
  1317.           [
  1318.               From=double
  1319.           ]
  1320.   C:\Users\krshr\Downloads\libtorch\libtorch\include\c10/util/Half.h(399): note: while compiling class template member function 'To c10::Converter<To,From,void>::operator ()(From)'
  1321.           with
  1322.           [
  1323.               To=c10::Half,
  1324.               From=double
  1325.           ]
  1326.   C:\Users\krshr\Downloads\libtorch\libtorch\include\c10/util/Half.h(406): note: see reference to function template instantiation 'To c10::Converter<To,From,void>::operator ()(From)' being compiled
  1327.           with
  1328.           [
  1329.               To=c10::Half,
  1330.               From=double
  1331.           ]
  1332.   C:\Users\krshr\Downloads\libtorch\libtorch\include\c10/util/Half.h(406): note: see reference to class template instantiation 'c10::Converter<To,From,void>' being compiled
  1333.           with
  1334.           [
  1335.               To=c10::Half,
  1336.               From=double
  1337.           ]
  1338.   C:\Users\krshr\Downloads\libtorch\libtorch\include\c10/util/Half.h(492): note: see reference to function template instantiation 'To c10::convert<To,From>(From)' being compiled
  1339.           with
  1340.           [
  1341.               To=c10::Half,
  1342.               From=double
  1343.           ]
  1344.   C:\Users\krshr\Downloads\libtorch\libtorch\include\c10/core/Scalar.h(75): note: see reference to function template instantiation 'To c10::checked_convert<c10::Half,double>(From,const char *)' being compiled
  1345.           with
  1346.           [
  1347.               To=c10::Half,
  1348.               From=double
  1349.           ]
  1350.   [2/2] cmd.exe /C "cd . && "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E vs_link_exe --intdir=CMakeFiles\example.dir --rc=C:\PROGRA~2\WI3CF2~1\10\bin\100177~1.0\x64\rc.exe --mt=C:\PROGRA~2\WI3CF2~1\10\bin\100177~1.0\x64\mt.exe --manifests  -- C:\PROGRA~2\MICROS~1\2019\COMMUN~1\VC\Tools\MSVC\1421~1.277\bin\Hostx64\x64\link.exe /nologo CMakeFiles\example.dir\training_VGG.cpp.obj  /out:example.exe /implib:example.lib /pdb:example.pdb /version:0.0  /machine:x64 /INCREMENTAL:NO /subsystem:console  C:\Users\krshr\Downloads\libtorch\libtorch\lib\torch.lib C:\Users\krshr\Downloads\libtorch\libtorch\lib\c10.lib C:\Users\krshr\Downloads\libtorch\libtorch\lib\caffe2.lib C:\Users\krshr\Downloads\libtorch\libtorch\lib\c10.lib kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib && cd ."
  1351.      Creating library example.lib and object example.exp
  1352.  
  1353. Build All succeeded.
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top