Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ====================[ Build | sampleC | Debug ]=================================
- "C:\Program Files\CMake\bin\cmake.exe" --build F:\sampleC\cmake-build-debug --target sampleC --
- Scanning dependencies of target sampleC
- [ 50%] Building CXX object CMakeFiles/sampleC.dir/main.cpp.obj
- main.cpp
- E:\libtorch\include\c10/util/Exception.h(27): warning C4275: non dll-interface class 'std::exception' used as base for dll-interface class 'c10::Error'
- F:\Visual Studio Program Files\Microsoft Visual Studio\2017\VC\Tools\MSVC\14.16.27023\include\vcruntime_exception.h(44): note: see declaration of 'std::exception'
- E:\libtorch\include\c10/util/Exception.h(27): note: see declaration of 'c10::Error'
- E:\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'
- with
- [
- _Ty=std::string
- ]
- E:\libtorch\include\c10/util/Exception.h(28): note: see declaration of 'std::vector<std::string,std::allocator<_Ty>>'
- with
- [
- _Ty=std::string
- ]
- E:\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'
- F:\Visual Studio Program Files\Microsoft Visual Studio\2017\VC\Tools\MSVC\14.16.27023\include\xstring(4373): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'
- E:\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'
- F:\Visual Studio Program Files\Microsoft Visual Studio\2017\VC\Tools\MSVC\14.16.27023\include\xstring(4373): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'
- E:\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'
- F:\Visual Studio Program Files\Microsoft Visual Studio\2017\VC\Tools\MSVC\14.16.27023\include\xstring(4373): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'
- E:\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'
- E:\libtorch\include\c10/util/UniqueVoidPtr.h(38): note: see declaration of 'c10::detail::UniqueVoidPtr'
- E:\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'
- E:\libtorch\include\c10/core/Allocator.h(183): note: see declaration of 'std::unique_ptr<void,std::function<void (void *)>>'
- E:\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'
- F:\Visual Studio Program Files\Microsoft Visual Studio\2017\VC\Tools\MSVC\14.16.27023\include\xxatomic(162): note: see declaration of 'std::atomic<unsigned char>'
- E:\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'
- with
- [
- _Kty=c10::TensorTypeId
- ]
- E:\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>>'
- with
- [
- _Kty=c10::TensorTypeId
- ]
- E:\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'
- F:\Visual Studio Program Files\Microsoft Visual Studio\2017\VC\Tools\MSVC\14.16.27023\include\mutex(82): note: see declaration of 'std::mutex'
- E:\libtorch\include\c10/util/Half-inl.h(168): warning C4244: 'argument': conversion from 'int' to 'float', possible loss of data
- E:\libtorch\include\c10/util/Half-inl.h(171): warning C4244: 'argument': conversion from 'int' to 'float', possible loss of data
- E:\libtorch\include\c10/util/Half-inl.h(174): warning C4244: 'argument': conversion from 'int' to 'float', possible loss of data
- E:\libtorch\include\c10/util/Half-inl.h(177): warning C4244: 'argument': conversion from 'int' to 'float', possible loss of data
- E:\libtorch\include\c10/util/Half-inl.h(181): warning C4244: 'argument': conversion from 'int' to 'float', possible loss of data
- E:\libtorch\include\c10/util/Half-inl.h(184): warning C4244: 'argument': conversion from 'int' to 'float', possible loss of data
- E:\libtorch\include\c10/util/Half-inl.h(187): warning C4244: 'argument': conversion from 'int' to 'float', possible loss of data
- E:\libtorch\include\c10/util/Half-inl.h(190): warning C4244: 'argument': conversion from 'int' to 'float', possible loss of data
- E:\libtorch\include\c10/util/Half-inl.h(196): warning C4244: 'argument': conversion from 'int64_t' to 'float', possible loss of data
- E:\libtorch\include\c10/util/Half-inl.h(199): warning C4244: 'argument': conversion from 'int64_t' to 'float', possible loss of data
- E:\libtorch\include\c10/util/Half-inl.h(202): warning C4244: 'argument': conversion from 'int64_t' to 'float', possible loss of data
- E:\libtorch\include\c10/util/Half-inl.h(205): warning C4244: 'argument': conversion from 'int64_t' to 'float', possible loss of data
- E:\libtorch\include\c10/util/Half-inl.h(209): warning C4244: 'argument': conversion from 'int64_t' to 'float', possible loss of data
- E:\libtorch\include\c10/util/Half-inl.h(212): warning C4244: 'argument': conversion from 'int64_t' to 'float', possible loss of data
- E:\libtorch\include\c10/util/Half-inl.h(215): warning C4244: 'argument': conversion from 'int64_t' to 'float', possible loss of data
- E:\libtorch\include\c10/util/Half-inl.h(218): warning C4244: 'argument': conversion from 'int64_t' to 'float', possible loss of data
- E:\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'
- F:\Visual Studio Program Files\Microsoft Visual Studio\2017\VC\Tools\MSVC\14.16.27023\include\xxatomic(162): note: see declaration of 'std::atomic<unsigned __int64>'
- E:\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'
- F:\Visual Studio Program Files\Microsoft Visual Studio\2017\VC\Tools\MSVC\14.16.27023\include\xxatomic(162): note: see declaration of 'std::atomic<unsigned __int64>'
- E:\libtorch\include\c10/util/intrusive_ptr.h(723): warning C4267: 'return': conversion from 'size_t' to 'uint32_t', possible loss of data
- E:\libtorch\include\c10/util/intrusive_ptr.h(757): warning C4267: 'return': conversion from 'size_t' to 'uint32_t', possible loss of data
- E:\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'
- with
- [
- TTarget=c10::StorageImpl
- ]
- E:\libtorch\include\c10/core/Storage.h(10): note: see declaration of 'c10::intrusive_ptr<c10::StorageImpl,c10::detail::intrusive_target_default_null_type<TTarget>>'
- with
- [
- TTarget=c10::StorageImpl
- ]
- E:\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'
- F:\Visual Studio Program Files\Microsoft Visual Studio\2017\VC\Tools\MSVC\14.16.27023\include\iosfwd(623): note: see declaration of 'std::basic_stringstream<char,std::char_traits<char>,std::allocator<char>>'
- E:\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'
- E:\libtorch\include\c10/core/TensorImpl.h(193): note: see declaration of 'std::shared_ptr<std::atomic<unsigned int>>'
- E:\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'
- with
- [
- _Ty=c10::AutogradMetaInterface
- ]
- E:\libtorch\include\c10/core/TensorImpl.h(893): note: see declaration of 'std::unique_ptr<c10::AutogradMetaInterface,std::default_delete<_Ty>>'
- with
- [
- _Ty=c10::AutogradMetaInterface
- ]
- E:\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'
- E:\libtorch\include\c10/core/TensorImpl.h(1476): note: see declaration of 'c10::SmallVector<int64_t,5>'
- E:\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'
- E:\libtorch\include\c10/core/TensorImpl.h(1476): note: see declaration of 'c10::SmallVector<int64_t,5>'
- E:\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'
- E:\libtorch\include\c10/core/TensorOptions.h(171): note: see declaration of 'c10::optional<c10::Device>'
- E:\libtorch\include\c10/core/TensorImpl.h(1018): warning C4244: 'argument': conversion from 'float' to 'const _Ty', possible loss of data
- with
- [
- _Ty=size_t
- ]
- E:\libtorch\include\c10/core/TensorImpl.h(1416): warning C4244: 'initializing': conversion from 'int64_t' to 'int', possible loss of data
- E:\libtorch\include\ATen/core/LegacyTypeDispatch.h(137): 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'
- E:\libtorch\include\ATen/core/LegacyTypeDispatch.h(51): note: see declaration of 'std::unique_ptr<at::Type,at::LegacyTypeDeleter>'
- E:\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'
- with
- [
- _Ty=at::DeprecatedTypeProperties
- ]
- E:\libtorch\include\ATen/core/DeprecatedTypePropertiesRegistry.h(24): note: see declaration of 'std::unique_ptr<at::DeprecatedTypeProperties,std::default_delete<_Ty>>'
- with
- [
- _Ty=at::DeprecatedTypeProperties
- ]
- E:\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'
- E:\libtorch\include\ATen/core/Tensor.h(58): note: see declaration of 'c10::intrusive_ptr<c10::TensorImpl,c10::UndefinedTensorImpl>'
- E:\libtorch\include\ATen/core/Tensor.h(774): warning C4522: 'at::Tensor': multiple assignment operators specified
- E:\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'
- with
- [
- TTarget=c10::TensorImpl,
- NullType=c10::UndefinedTensorImpl
- ]
- E:\libtorch\include\c10/util/intrusive_ptr.h(172): note: see declaration of 'c10::weak_intrusive_ptr<TTarget,NullType>'
- with
- [
- TTarget=c10::TensorImpl,
- NullType=c10::UndefinedTensorImpl
- ]
- E:\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'
- E:\libtorch\include\ATen/LegacyTHDispatch.h(62): note: see declaration of 'std::unique_ptr<at::LegacyTHDispatcher,at::LegacyTHDispatcherDeleter>'
- E:\libtorch\include\c10/core/Stream.h(126): warning C4244: 'argument': conversion from 'unsigned __int64' to 'c10::DeviceIndex', possible loss of data
- E:\libtorch\include\c10/core/Stream.h(126): warning C4244: 'argument': conversion from 'unsigned __int64' to 'c10::StreamId', possible loss of data
- E:\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'
- with
- [
- _Ty=at::Generator
- ]
- E:\libtorch\include\ATen/core/Type.h(77): note: see declaration of 'std::unique_ptr<at::Generator,std::default_delete<_Ty>>'
- with
- [
- _Ty=at::Generator
- ]
- E:\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'
- F:\Visual Studio Program Files\Microsoft Visual Studio\2017\VC\Tools\MSVC\14.16.27023\include\xcall_once.h(18): note: see declaration of 'std::once_flag'
- E:\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'
- F:\Visual Studio Program Files\Microsoft Visual Studio\2017\VC\Tools\MSVC\14.16.27023\include\xcall_once.h(18): note: see declaration of 'std::once_flag'
- E:\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'
- F:\Visual Studio Program Files\Microsoft Visual Studio\2017\VC\Tools\MSVC\14.16.27023\include\xcall_once.h(18): note: see declaration of 'std::once_flag'
- E:\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'
- F:\Visual Studio Program Files\Microsoft Visual Studio\2017\VC\Tools\MSVC\14.16.27023\include\xxatomic(162): note: see declaration of 'std::atomic<unsigned __int64>'
- E:\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'
- E:\libtorch\include\ATen/detail/CUDAHooksInterface.h(57): note: see declaration of 'std::unique_ptr<THCState,void (__cdecl *)(THCState *)>'
- E:\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'
- E:\libtorch\include\ATen/detail/HIPHooksInterface.h(33): note: see declaration of 'std::unique_ptr<THHState,void (__cdecl *)(THHState *)>'
- E:\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'
- with
- [
- _Ty=int64_t
- ]
- E:\libtorch\include\c10/util/typeid.h(597): note: see declaration of 'std::vector<int64_t,std::allocator<_Ty>>'
- with
- [
- _Ty=int64_t
- ]
- E:\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'
- with
- [
- _Ty=int64_t
- ]
- E:\libtorch\include\c10/util/typeid.h(597): note: see declaration of 'std::vector<int64_t,std::allocator<_Ty>>'
- with
- [
- _Ty=int64_t
- ]
- E:\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'
- F:\Visual Studio Program Files\Microsoft Visual Studio\2017\VC\Tools\MSVC\14.16.27023\include\xstring(4373): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'
- E:\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'
- E:\libtorch\include\torch/csrc/autograd/edge.h(17): note: see declaration of 'std::shared_ptr<torch::autograd::Function>'
- E:\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'
- E:\libtorch\include\torch/csrc/autograd/variable.h(175): note: see declaration of 'std::weak_ptr<torch::autograd::Function>'
- E:\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'
- with
- [
- _Ty=std::shared_ptr<torch::autograd::FunctionPreHook>
- ]
- E:\libtorch\include\torch/csrc/autograd/variable.h(283): note: see declaration of 'std::vector<std::shared_ptr<torch::autograd::FunctionPreHook>,std::allocator<_Ty>>'
- with
- [
- _Ty=std::shared_ptr<torch::autograd::FunctionPreHook>
- ]
- E:\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'
- F:\Visual Studio Program Files\Microsoft Visual Studio\2017\VC\Tools\MSVC\14.16.27023\include\mutex(82): note: see declaration of 'std::mutex'
- E:\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'
- F:\Visual Studio Program Files\Microsoft Visual Studio\2017\VC\Tools\MSVC\14.16.27023\include\xstring(4373): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'
- E:\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>'
- E:\libtorch\include\c10/util/ArrayRef.h(219): note: see declaration of 'std::vector<T,std::allocator<_Ty>>'
- E:\libtorch\include\ATen/core/ivalue.h(72): note: see reference to class template instantiation 'c10::ivalue::List<Elem>' being compiled
- E:\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>'
- with
- [
- Elem=c10::IValue,
- _Ty=c10::IValue
- ]
- E:\libtorch\include\ATen/core/ivalue.h(46): note: see declaration of 'std::vector<Elem,std::allocator<_Ty>>'
- with
- [
- Elem=c10::IValue,
- _Ty=c10::IValue
- ]
- E:\libtorch\include\ATen/core/ivalue.h(87): note: see reference to class template instantiation 'c10::ivalue::List<c10::IValue>' being compiled
- E:\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'
- F:\Visual Studio Program Files\Microsoft Visual Studio\2017\VC\Tools\MSVC\14.16.27023\include\vcruntime_exception.h(44): note: see declaration of 'std::exception'
- E:\libtorch\include\ATen/core/ivalue.h(560): note: see declaration of 'c10::ivalue::Future::FutureError'
- E:\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'
- F:\Visual Studio Program Files\Microsoft Visual Studio\2017\VC\Tools\MSVC\14.16.27023\include\xstring(4373): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'
- E:\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'
- F:\Visual Studio Program Files\Microsoft Visual Studio\2017\VC\Tools\MSVC\14.16.27023\include\mutex(82): note: see declaration of 'std::mutex'
- E:\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'
- F:\Visual Studio Program Files\Microsoft Visual Studio\2017\VC\Tools\MSVC\14.16.27023\include\xxatomic(162): note: see declaration of 'std::atomic<bool>'
- E:\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'
- with
- [
- _Ty=std::function<void (void)>
- ]
- E:\libtorch\include\ATen/core/ivalue.h(679): note: see declaration of 'std::vector<std::function<void (void)>,std::allocator<_Ty>>'
- with
- [
- _Ty=std::function<void (void)>
- ]
- E:\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'
- E:\libtorch\include\ATen/core/ivalue.h(687): note: see declaration of 'std::shared_ptr<c10::ClassType>'
- E:\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'
- with
- [
- Elem=c10::IValue,
- _Ty=c10::IValue
- ]
- E:\libtorch\include\ATen/core/ivalue.h(46): note: see declaration of 'std::vector<Elem,std::allocator<_Ty>>'
- with
- [
- Elem=c10::IValue,
- _Ty=c10::IValue
- ]
- E:\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'
- with
- [
- _Kty=c10::IValue,
- _Ty=c10::IValue
- ]
- E:\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>>>'
- with
- [
- _Kty=c10::IValue,
- _Ty=c10::IValue
- ]
- E:\libtorch\include\ATen/core/ivalue.h(781): warning C4244: 'return': conversion from 'double' to 'float', possible loss of data
- E:\libtorch\include\ATen/core/ivalue.h(783): warning C4244: 'return': conversion from 'int64_t' to 'unsigned char', possible loss of data
- E:\libtorch\include\ATen/core/ivalue.h(784): warning C4244: 'return': conversion from 'int64_t' to 'signed char', possible loss of data
- E:\libtorch\include\ATen/core/ivalue.h(785): warning C4244: 'return': conversion from 'int64_t' to 'unsigned short', possible loss of data
- E:\libtorch\include\ATen/core/ivalue.h(786): warning C4244: 'return': conversion from 'int64_t' to 'short', possible loss of data
- E:\libtorch\include\ATen/core/ivalue.h(787): warning C4244: 'return': conversion from 'int64_t' to 'int', possible loss of data
- E:\libtorch\include\ATen/core/ivalue.h(788): warning C4244: 'return': conversion from 'int64_t' to 'uint32_t', possible loss of data
- E:\libtorch\include\ATen/core/ivalue.h(790): warning C4244: 'return': conversion from 'int64_t' to 'c10::detail::_guarded_unsigned_long', possible loss of data
- E:\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>'
- with
- [
- _Ty=int64_t
- ]
- E:\libtorch\include\c10/util/typeid.h(597): note: see declaration of 'std::vector<int64_t,std::allocator<_Ty>>'
- with
- [
- _Ty=int64_t
- ]
- E:\libtorch\include\ATen/core/ivalue.h(859): note: see reference to class template instantiation 'c10::ivalue::List<int64_t>' being compiled
- E:\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>'
- with
- [
- T=double,
- _Ty=double
- ]
- E:\libtorch\include\c10/util/ArrayRef.h(219): note: see declaration of 'std::vector<T,std::allocator<_Ty>>'
- with
- [
- T=double,
- _Ty=double
- ]
- E:\libtorch\include\ATen/core/ivalue.h(873): note: see reference to class template instantiation 'c10::ivalue::List<double>' being compiled
- E:\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>'
- with
- [
- _Ty=bool
- ]
- E:\libtorch\include\ATen/core/ivalue.h(318): note: see declaration of 'std::vector<bool,std::allocator<_Ty>>'
- with
- [
- _Ty=bool
- ]
- E:\libtorch\include\ATen/core/ivalue.h(880): note: see reference to class template instantiation 'c10::ivalue::List<bool>' being compiled
- E:\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>'
- with
- [
- _Ty=at::Tensor
- ]
- E:\libtorch\include\ATen/core/Type.h(178): note: see declaration of 'std::vector<at::Tensor,std::allocator<_Ty>>'
- with
- [
- _Ty=at::Tensor
- ]
- E:\libtorch\include\ATen/core/ivalue.h(887): note: see reference to class template instantiation 'c10::ivalue::List<at::Tensor>' being compiled
- E:\libtorch\include\ATen/core/ivalue.h(1003): warning C4244: 'argument': conversion from 'int64_t' to 'const _Kty', possible loss of data
- with
- [
- _Kty=int
- ]
- E:\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>'
- with
- [
- _Ty=c10::Type
- ]
- F:\Visual Studio Program Files\Microsoft Visual Studio\2017\VC\Tools\MSVC\14.16.27023\include\memory(2029): note: see declaration of 'std::weak_ptr<_Ty>'
- with
- [
- _Ty=c10::Type
- ]
- E:\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>'
- E:\libtorch\include\ATen/core/jit_type.h(64): note: see declaration of 'std::shared_ptr<c10::Type>'
- E:\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'
- E:\libtorch\include\ATen/core/jit_type.h(428): note: see declaration of 'c10::optional<size_t>'
- E:\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'
- with
- [
- _Ty=c10::optional<int64_t>
- ]
- E:\libtorch\include\ATen/core/jit_type.h(478): note: see declaration of 'std::vector<c10::optional<int64_t>,std::allocator<_Ty>>'
- with
- [
- _Ty=c10::optional<int64_t>
- ]
- E:\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'
- E:\libtorch\include\c10/core/ScalarType.h(141): note: see declaration of 'c10::optional<c10::ScalarType>'
- E:\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'
- E:\libtorch\include\c10/core/TensorOptions.h(171): note: see declaration of 'c10::optional<c10::Device>'
- E:\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'
- E:\libtorch\include\c10/core/TensorOptions.h(224): note: see declaration of 'c10::optional<bool>'
- E:\libtorch\include\ATen/core/jit_type.h(533): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data
- E:\libtorch\include\ATen/core/jit_type.h(537): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data
- E:\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'
- with
- [
- _Ty=int64_t
- ]
- E:\libtorch\include\c10/util/typeid.h(597): note: see declaration of 'std::vector<int64_t,std::allocator<_Ty>>'
- with
- [
- _Ty=int64_t
- ]
- E:\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'
- with
- [
- _Ty=int64_t
- ]
- E:\libtorch\include\c10/util/typeid.h(597): note: see declaration of 'std::vector<int64_t,std::allocator<_Ty>>'
- with
- [
- _Ty=int64_t
- ]
- E:\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>'
- E:\libtorch\include\ATen/core/jit_type.h(64): note: see declaration of 'std::shared_ptr<c10::Type>'
- E:\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'
- with
- [
- _Ty=c10::TypePtr
- ]
- E:\libtorch\include\ATen/core/jit_type.h(162): note: see declaration of 'std::vector<c10::TypePtr,std::allocator<_Ty>>'
- with
- [
- _Ty=c10::TypePtr
- ]
- E:\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>'
- E:\libtorch\include\ATen/core/jit_type.h(64): note: see declaration of 'std::shared_ptr<c10::Type>'
- E:\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'
- with
- [
- _Ty=c10::TypePtr
- ]
- E:\libtorch\include\ATen/core/jit_type.h(162): note: see declaration of 'std::vector<c10::TypePtr,std::allocator<_Ty>>'
- with
- [
- _Ty=c10::TypePtr
- ]
- E:\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'
- with
- [
- _Ty=std::string
- ]
- E:\libtorch\include\ATen/core/jit_type.h(836): note: see declaration of 'c10::optional<std::vector<std::string,std::allocator<_Ty>>>'
- with
- [
- _Ty=std::string
- ]
- E:\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'
- F:\Visual Studio Program Files\Microsoft Visual Studio\2017\VC\Tools\MSVC\14.16.27023\include\xstring(4373): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'
- E:\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'
- F:\Visual Studio Program Files\Microsoft Visual Studio\2017\VC\Tools\MSVC\14.16.27023\include\xstring(4373): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'
- E:\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'
- F:\Visual Studio Program Files\Microsoft Visual Studio\2017\VC\Tools\MSVC\14.16.27023\include\xstring(4373): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'
- E:\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'
- with
- [
- _Ty=std::string
- ]
- E:\libtorch\include\c10/util/Exception.h(28): note: see declaration of 'std::vector<std::string,std::allocator<_Ty>>'
- with
- [
- _Ty=std::string
- ]
- E:\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'
- with
- [
- _Ty=c10::TypePtr
- ]
- E:\libtorch\include\ATen/core/jit_type.h(162): note: see declaration of 'std::vector<c10::TypePtr,std::allocator<_Ty>>'
- with
- [
- _Ty=c10::TypePtr
- ]
- E:\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'
- E:\libtorch\include\ATen/core/jit_type.h(1316): note: see declaration of 'std::shared_ptr<torch::jit::script::CompilationUnit>'
- E:\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'
- with
- [
- TTarget=torch::jit::Scope
- ]
- E:\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>>'
- with
- [
- TTarget=torch::jit::Scope
- ]
- E:\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'
- F:\Visual Studio Program Files\Microsoft Visual Studio\2017\VC\Tools\MSVC\14.16.27023\include\stdexcept(157): note: see declaration of 'std::runtime_error'
- E:\libtorch\include\torch/csrc/jit/constants.h(20): note: see declaration of 'torch::jit::constant_not_supported_error'
- E:\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'
- E:\libtorch\include\torch/csrc/jit/attributes.h(25): note: see declaration of 'torch::jit::AttributeValue'
- E:\libtorch\include\torch/csrc/jit/attributes.h(87): note: see declaration of 'torch::jit::GraphAttr'
- E:\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'
- E:\libtorch\include\torch/csrc/jit/attributes.h(88): note: see declaration of 'std::shared_ptr<torch::jit::Graph>'
- E:\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'
- E:\libtorch\include\torch/csrc/jit/attributes.h(25): note: see declaration of 'torch::jit::AttributeValue'
- E:\libtorch\include\torch/csrc/jit/attributes.h(104): note: see declaration of 'torch::jit::GraphsAttr'
- E:\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'
- with
- [
- _Ty=std::shared_ptr<torch::jit::Graph>
- ]
- E:\libtorch\include\torch/csrc/jit/attributes.h(105): note: see declaration of 'std::vector<std::shared_ptr<torch::jit::Graph>,std::allocator<_Ty>>'
- with
- [
- _Ty=std::shared_ptr<torch::jit::Graph>
- ]
- E:\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'
- with
- [
- _Ty=torch::jit::Value *
- ]
- E:\libtorch\include\torch/csrc/jit/ir.h(141): note: see declaration of 'std::vector<torch::jit::Value *,std::allocator<_Ty>>'
- with
- [
- _Ty=torch::jit::Value *
- ]
- E:\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'
- with
- [
- _Ty=torch::jit::Value *
- ]
- E:\libtorch\include\torch/csrc/jit/ir.h(141): note: see declaration of 'std::vector<torch::jit::Value *,std::allocator<_Ty>>'
- with
- [
- _Ty=torch::jit::Value *
- ]
- E:\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'
- with
- [
- _Ty=torch::jit::Block *
- ]
- E:\libtorch\include\torch/csrc/jit/ir.h(249): note: see declaration of 'std::vector<torch::jit::Block *,std::allocator<_Ty>>'
- with
- [
- _Ty=torch::jit::Block *
- ]
- E:\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'
- E:\libtorch\include\torch/csrc/jit/ir.h(252): note: see declaration of 'std::shared_ptr<torch::jit::SourceLocation>'
- E:\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'
- with
- [
- TTarget=torch::jit::Scope
- ]
- E:\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>>'
- with
- [
- TTarget=torch::jit::Scope
- ]
- E:\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'
- with
- [
- _Ty=torch::jit::Node::AVPtr
- ]
- E:\libtorch\include\torch/csrc/jit/ir.h(756): note: see declaration of 'std::vector<torch::jit::Node::AVPtr,std::allocator<_Ty>>'
- with
- [
- _Ty=torch::jit::Node::AVPtr
- ]
- E:\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>'
- with
- [
- _Ty=torch::jit::tracer::TracingState
- ]
- F:\Visual Studio Program Files\Microsoft Visual Studio\2017\VC\Tools\MSVC\14.16.27023\include\memory(2029): note: see declaration of 'std::weak_ptr<_Ty>'
- with
- [
- _Ty=torch::jit::tracer::TracingState
- ]
- E:\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'
- with
- [
- _Ty=torch::jit::tracer::TracingState::TracingEnvironmentFrame
- ]
- E:\libtorch\include\torch/csrc/jit/tracing_state.h(56): note: see declaration of 'std::vector<torch::jit::tracer::TracingState::TracingEnvironmentFrame,std::allocator<_Ty>>'
- with
- [
- _Ty=torch::jit::tracer::TracingState::TracingEnvironmentFrame
- ]
- E:\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'
- E:\libtorch\include\torch/csrc/jit/attributes.h(88): note: see declaration of 'std::shared_ptr<torch::jit::Graph>'
- E:\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'
- E:\libtorch\include\torch/csrc/jit/tracing_state.h(62): note: see declaration of 'std::function<std::string (const torch::autograd::Variable &)>'
- E:\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'
- with
- [
- _Ty=torch::jit::tracer::TracingState
- ]
- F:\Visual Studio Program Files\Microsoft Visual Studio\2017\VC\Tools\MSVC\14.16.27023\include\memory(2019): note: see declaration of 'std::shared_ptr<_Ty>'
- with
- [
- _Ty=torch::jit::tracer::TracingState
- ]
- E:\libtorch\include\torch/csrc/jit/tracer.h(169): warning C4273: 'torch::jit::tracer::addInputs': inconsistent dll linkage
- E:\libtorch\include\torch/csrc/jit/tracer.h(154): note: see previous definition of 'addInputs'
- E:\libtorch\include\torch/csrc/jit/tracer.h(176): warning C4273: 'torch::jit::tracer::addInputs': inconsistent dll linkage
- E:\libtorch\include\torch/csrc/jit/tracer.h(160): note: see previous definition of 'addInputs'
- E:\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'
- with
- [
- T=size_t,
- _Ty=size_t
- ]
- E:\libtorch\include\c10/util/ArrayRef.h(219): note: see declaration of 'std::vector<T,std::allocator<_Ty>>'
- with
- [
- T=size_t,
- _Ty=size_t
- ]
- E:\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'
- with
- [
- T=size_t,
- _Ty=size_t
- ]
- E:\libtorch\include\c10/util/ArrayRef.h(219): note: see declaration of 'std::vector<T,std::allocator<_Ty>>'
- with
- [
- T=size_t,
- _Ty=size_t
- ]
- E:\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'
- E:\libtorch\include\torch/csrc/jit/tracer.h(96): note: see declaration of 'std::shared_ptr<torch::jit::script::Module>'
- E:\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'
- E:\libtorch\include\torch/csrc/jit/tracer.h(96): note: see declaration of 'std::shared_ptr<torch::jit::script::Module>'
- E:\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'
- with
- [
- _Ty=torch::jit::script::TokenTrie
- ]
- E:\libtorch\include\torch/csrc/jit/script/lexer.h(126): note: see declaration of 'std::unique_ptr<torch::jit::script::TokenTrie,std::default_delete<_Ty>>'
- with
- [
- _Ty=torch::jit::script::TokenTrie
- ]
- E:\libtorch\include\torch/csrc/jit/script/lexer.h(382): warning C4267: 'argument': conversion from 'size_t' to '_Ty', possible loss of data
- with
- [
- _Ty=int32_t
- ]
- E:\libtorch\include\torch/csrc/jit/script/lexer.h(458): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
- E:\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'
- with
- [
- _Ty=torch::jit::ArgumentSpecCreator::Inst
- ]
- E:\libtorch\include\torch/csrc/jit/argument_spec.h(168): note: see declaration of 'std::vector<torch::jit::ArgumentSpecCreator::Inst,std::allocator<_Ty>>'
- with
- [
- _Ty=torch::jit::ArgumentSpecCreator::Inst
- ]
- E:\libtorch\include\torch/csrc/jit/argument_spec.h(201): warning C4267: 'initializing': conversion from 'size_t' to 'int32_t', possible loss of data
- E:\libtorch\include\torch/csrc/jit/argument_spec.h(204): warning C4267: 'initializing': conversion from 'size_t' to 'int32_t', possible loss of data
- E:\libtorch\include\torch/csrc/jit/argument_spec.h(204): warning C4267: 'initializing': conversion from 'size_t' to 'const int32_t', possible loss of data
- E:\libtorch\include\torch/csrc/jit/argument_spec.h(209): warning C4244: '+=': conversion from 'int64_t' to 'int32_t', possible loss of data
- E:\libtorch\include\torch/csrc/jit/argument_spec.h(229): warning C4244: '+=': conversion from 'int64_t' to 'int32_t', possible loss of data
- E:\libtorch\include\torch/csrc/jit/argument_spec.h(391): warning C4267: 'argument': conversion from 'size_t' to 'const int', possible loss of data
- E:\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'
- E:\libtorch\include\torch/csrc/jit/interpreter.h(44): note: see declaration of 'std::shared_ptr<torch::jit::CodeImpl>'
- E:\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'
- E:\libtorch\include\torch/csrc/jit/graph_executor.h(41): note: see declaration of 'std::shared_ptr<torch::jit::GraphExecutorImpl>'
- E:\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'
- F:\Visual Studio Program Files\Microsoft Visual Studio\2017\VC\Tools\MSVC\14.16.27023\include\xstring(4373): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'
- E:\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'
- E:\libtorch\include\torch/csrc/jit/attributes.h(88): note: see declaration of 'std::shared_ptr<torch::jit::Graph>'
- E:\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'
- F:\Visual Studio Program Files\Microsoft Visual Studio\2017\VC\Tools\MSVC\14.16.27023\include\xcall_once.h(18): note: see declaration of 'std::once_flag'
- E:\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'
- E:\libtorch\include\torch/csrc/jit/script/compilation_unit.h(45): note: see declaration of 'std::function<void (torch::jit::script::Function &)>'
- E:\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'
- with
- [
- _Ty=c10::FunctionSchema
- ]
- E:\libtorch\include\torch/csrc/jit/script/compilation_unit.h(176): note: see declaration of 'std::unique_ptr<c10::FunctionSchema,std::default_delete<_Ty>>'
- with
- [
- _Ty=c10::FunctionSchema
- ]
- E:\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'
- with
- [
- _Ty=std::shared_ptr<torch::jit::script::Function>
- ]
- E:\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>>'
- with
- [
- _Ty=std::shared_ptr<torch::jit::script::Function>
- ]
- E:\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'
- with
- [
- _Kty=std::string,
- _Ty=size_t
- ]
- E:\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>>>'
- with
- [
- _Kty=std::string,
- _Ty=size_t
- ]
- E:\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'
- E:\libtorch\include\ATen/core/jit_type.h(1389): note: see declaration of 'std::shared_ptr<torch::jit::script::Function>'
- E:\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'
- with
- [
- _Ty=torch::jit::script::Slot
- ]
- E:\libtorch\include\torch/csrc/jit/script/module.h(87): note: see declaration of 'std::vector<torch::jit::script::Slot,std::allocator<_Ty>>'
- with
- [
- _Ty=torch::jit::script::Slot
- ]
- E:\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'
- E:\libtorch\include\ATen/core/function_schema.h(96): note: see declaration of 'c10::FunctionSchema'
- E:\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'
- with
- [
- _Ty=std::shared_ptr<torch::jit::script::Module>
- ]
- E:\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>>'
- with
- [
- _Ty=std::shared_ptr<torch::jit::script::Module>
- ]
- E:\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'
- with
- [
- _Ty=torch::jit::script::Slot
- ]
- E:\libtorch\include\torch/csrc/jit/script/module.h(87): note: see declaration of 'std::vector<torch::jit::script::Slot,std::allocator<_Ty>>'
- with
- [
- _Ty=torch::jit::script::Slot
- ]
- E:\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'
- with
- [
- _Ty=torch::jit::script::Slot
- ]
- E:\libtorch\include\torch/csrc/jit/script/module.h(87): note: see declaration of 'std::vector<torch::jit::script::Slot,std::allocator<_Ty>>'
- with
- [
- _Ty=torch::jit::script::Slot
- ]
- E:\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'
- with
- [
- _Ty=torch::jit::script::Method
- ]
- E:\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>>>>'
- with
- [
- _Ty=torch::jit::script::Method
- ]
- E:\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'
- with
- [
- _Kty=std::string,
- _Ty=torch::jit::script::Module::Entry
- ]
- E:\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>>>'
- with
- [
- _Kty=std::string,
- _Ty=torch::jit::script::Module::Entry
- ]
- E:\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'
- F:\Visual Studio Program Files\Microsoft Visual Studio\2017\VC\Tools\MSVC\14.16.27023\include\xstring(4373): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'
- E:\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'
- with
- [
- TTarget=c10::ivalue::Object
- ]
- E:\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>>'
- with
- [
- TTarget=c10::ivalue::Object
- ]
- E:\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'
- F:\Visual Studio Program Files\Microsoft Visual Studio\2017\VC\Tools\MSVC\14.16.27023\include\mutex(95): note: see declaration of 'std::recursive_mutex'
- E:\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>'
- with
- [
- _Ty=torch::jit::script::SugaredValue
- ]
- F:\Visual Studio Program Files\Microsoft Visual Studio\2017\VC\Tools\MSVC\14.16.27023\include\memory(2029): note: see declaration of 'std::weak_ptr<_Ty>'
- with
- [
- _Ty=torch::jit::script::SugaredValue
- ]
- E:\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'
- E:\libtorch\include\torch/csrc/jit/script/compilation_unit.h(130): note: see declaration of 'c10::optional<torch::jit::NamedValue>'
- E:\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'
- F:\Visual Studio Program Files\Microsoft Visual Studio\2017\VC\Tools\MSVC\14.16.27023\include\xstring(4373): note: see declaration of 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'
- E:\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'
- E:\libtorch\include\ATen/core/Type.h(160): note: see declaration of 'c10::optional<int64_t>'
- E:\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'
- E:\libtorch\include\ATen/core/ivalue.h(687): note: see declaration of 'std::shared_ptr<c10::ClassType>'
- E:\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'
- E:\libtorch\include\ATen/core/jit_type.h(64): note: see declaration of 'std::shared_ptr<c10::Type>'
- E:\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'
- E:\libtorch\include\ATen/core/ivalue.h(687): note: see declaration of 'std::shared_ptr<c10::ClassType>'
- E:\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>'
- with
- [
- _Ty=torch::nn::Module
- ]
- F:\Visual Studio Program Files\Microsoft Visual Studio\2017\VC\Tools\MSVC\14.16.27023\include\memory(2029): note: see declaration of 'std::weak_ptr<_Ty>'
- with
- [
- _Ty=torch::nn::Module
- ]
- E:\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'
- E:\libtorch\include\torch\csrc\api\include\torch/nn/module.h(210): note: see declaration of 'torch::OrderedDict<std::string,at::Tensor>'
- E:\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'
- E:\libtorch\include\torch\csrc\api\include\torch/nn/module.h(210): note: see declaration of 'torch::OrderedDict<std::string,at::Tensor>'
- E:\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'
- with
- [
- _Ty=torch::nn::Module
- ]
- E:\libtorch\include\torch\csrc\api\include\torch/nn/module.h(246): note: see declaration of 'torch::OrderedDict<std::string,std::shared_ptr<_Ty>>'
- with
- [
- _Ty=torch::nn::Module
- ]
- E:\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'
- E:\libtorch\include\torch/csrc/jit/named_value.h(71): note: see declaration of 'c10::optional<std::string>'
- E:\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>'
- E:\libtorch\include\torch\csrc\api\include\torch/nn/modules/conv.h(89): note: see declaration of 'torch::nn::ConvOptions<1>'
- E:\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>'
- E:\libtorch\include\torch\csrc\api\include\torch/nn/modules/conv.h(89): note: see declaration of 'torch::nn::ConvOptions<2>'
- E:\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>'
- E:\libtorch\include\torch\csrc\api\include\torch/nn/modules/conv.h(89): note: see declaration of 'torch::nn::ConvOptions<3>'
- E:\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'
- E:\libtorch\include\torch\csrc\api\include\torch/data/transforms/tensor.h(39): note: see declaration of 'std::function<at::Tensor (at::Tensor)>'
- E:\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>'
- with
- [
- _Ty=at::Tensor
- ]
- E:\libtorch\include\ATen/core/Type.h(178): note: see declaration of 'std::vector<at::Tensor,std::allocator<_Ty>>'
- with
- [
- _Ty=at::Tensor
- ]
- E:\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>'
- with
- [
- _Ty=at::Tensor
- ]
- E:\libtorch\include\ATen/core/Type.h(178): note: see declaration of 'std::vector<at::Tensor,std::allocator<_Ty>>'
- with
- [
- _Ty=at::Tensor
- ]
- E:\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>'
- with
- [
- _Ty=at::Tensor
- ]
- E:\libtorch\include\ATen/core/Type.h(178): note: see declaration of 'std::vector<at::Tensor,std::allocator<_Ty>>'
- with
- [
- _Ty=at::Tensor
- ]
- E:\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>'
- with
- [
- _Ty=at::Tensor
- ]
- E:\libtorch\include\ATen/core/Type.h(178): note: see declaration of 'std::vector<at::Tensor,std::allocator<_Ty>>'
- with
- [
- _Ty=at::Tensor
- ]
- E:\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>'
- E:\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>'
- E:\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>'
- with
- [
- _Ty=at::Tensor
- ]
- E:\libtorch\include\ATen/core/Type.h(178): note: see declaration of 'std::vector<at::Tensor,std::allocator<_Ty>>'
- with
- [
- _Ty=at::Tensor
- ]
- E:\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>'
- with
- [
- _Ty=at::Tensor
- ]
- E:\libtorch\include\ATen/core/Type.h(178): note: see declaration of 'std::vector<at::Tensor,std::allocator<_Ty>>'
- with
- [
- _Ty=at::Tensor
- ]
- E:\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>'
- with
- [
- _Ty=at::Tensor
- ]
- E:\libtorch\include\ATen/core/Type.h(178): note: see declaration of 'std::vector<at::Tensor,std::allocator<_Ty>>'
- with
- [
- _Ty=at::Tensor
- ]
- E:\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>'
- with
- [
- _Ty=at::Tensor
- ]
- E:\libtorch\include\ATen/core/Type.h(178): note: see declaration of 'std::vector<at::Tensor,std::allocator<_Ty>>'
- with
- [
- _Ty=at::Tensor
- ]
- E:\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>'
- with
- [
- _Ty=at::Tensor
- ]
- E:\libtorch\include\ATen/core/Type.h(178): note: see declaration of 'std::vector<at::Tensor,std::allocator<_Ty>>'
- with
- [
- _Ty=at::Tensor
- ]
- E:\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>'
- E:\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>'
- E:\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>'
- with
- [
- _Ty=at::Tensor
- ]
- E:\libtorch\include\ATen/core/Type.h(178): note: see declaration of 'std::vector<at::Tensor,std::allocator<_Ty>>'
- with
- [
- _Ty=at::Tensor
- ]
- E:\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>'
- with
- [
- _Ty=at::Tensor
- ]
- E:\libtorch\include\ATen/core/Type.h(178): note: see declaration of 'std::vector<at::Tensor,std::allocator<_Ty>>'
- with
- [
- _Ty=at::Tensor
- ]
- E:\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>'
- with
- [
- _Ty=at::Tensor
- ]
- E:\libtorch\include\ATen/core/Type.h(178): note: see declaration of 'std::vector<at::Tensor,std::allocator<_Ty>>'
- with
- [
- _Ty=at::Tensor
- ]
- E:\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>'
- with
- [
- _Ty=at::Tensor
- ]
- E:\libtorch\include\ATen/core/Type.h(178): note: see declaration of 'std::vector<at::Tensor,std::allocator<_Ty>>'
- with
- [
- _Ty=at::Tensor
- ]
- E:\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>'
- with
- [
- _Ty=at::Tensor
- ]
- E:\libtorch\include\ATen/core/Type.h(178): note: see declaration of 'std::vector<at::Tensor,std::allocator<_Ty>>'
- with
- [
- _Ty=at::Tensor
- ]
- E:\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>'
- E:\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>'
- E:\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>'
- with
- [
- _Ty=at::Tensor
- ]
- E:\libtorch\include\ATen/core/Type.h(178): note: see declaration of 'std::vector<at::Tensor,std::allocator<_Ty>>'
- with
- [
- _Ty=at::Tensor
- ]
- E:\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'
- with
- [
- _Ty=at::Tensor
- ]
- E:\libtorch\include\ATen/core/Type.h(178): note: see declaration of 'std::vector<at::Tensor,std::allocator<_Ty>>'
- with
- [
- _Ty=at::Tensor
- ]
- E:\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'
- E:\libtorch\include\torch\csrc\api\include\torch/optim/optimizer.h(100): note: see declaration of 'torch::optim::Optimizer'
- E:\libtorch\include\torch\csrc\api\include\torch/optim/adagrad.h(28): note: see declaration of 'torch::optim::Adagrad'
- E:\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'
- with
- [
- _Ty=at::Tensor
- ]
- E:\libtorch\include\ATen/core/Type.h(178): note: see declaration of 'std::vector<at::Tensor,std::allocator<_Ty>>'
- with
- [
- _Ty=at::Tensor
- ]
- E:\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'
- with
- [
- _Ty=int64_t
- ]
- E:\libtorch\include\c10/util/typeid.h(597): note: see declaration of 'std::vector<int64_t,std::allocator<_Ty>>'
- with
- [
- _Ty=int64_t
- ]
- E:\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'
- E:\libtorch\include\torch\csrc\api\include\torch/optim/optimizer.h(100): note: see declaration of 'torch::optim::Optimizer'
- E:\libtorch\include\torch\csrc\api\include\torch/optim/adam.h(31): note: see declaration of 'torch::optim::Adam'
- E:\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'
- with
- [
- _Ty=int64_t
- ]
- E:\libtorch\include\c10/util/typeid.h(597): note: see declaration of 'std::vector<int64_t,std::allocator<_Ty>>'
- with
- [
- _Ty=int64_t
- ]
- E:\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'
- with
- [
- _Ty=at::Tensor
- ]
- E:\libtorch\include\ATen/core/Type.h(178): note: see declaration of 'std::vector<at::Tensor,std::allocator<_Ty>>'
- with
- [
- _Ty=at::Tensor
- ]
- E:\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'
- with
- [
- _Ty=at::Tensor
- ]
- E:\libtorch\include\ATen/core/Type.h(178): note: see declaration of 'std::vector<at::Tensor,std::allocator<_Ty>>'
- with
- [
- _Ty=at::Tensor
- ]
- E:\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'
- with
- [
- _Ty=at::Tensor
- ]
- E:\libtorch\include\ATen/core/Type.h(178): note: see declaration of 'std::vector<at::Tensor,std::allocator<_Ty>>'
- with
- [
- _Ty=at::Tensor
- ]
- E:\libtorch\include\torch\csrc\api\include\torch/optim/lbfgs.h(22): warning C4305: 'initializing': truncation from 'double' to 'float'
- E:\libtorch\include\torch\csrc\api\include\torch/optim/lbfgs.h(23): warning C4305: 'initializing': truncation from 'double' to 'float'
- E:\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'
- E:\libtorch\include\torch\csrc\api\include\torch/optim/optimizer.h(110): note: see declaration of 'torch::optim::LossClosureOptimizer'
- E:\libtorch\include\torch\csrc\api\include\torch/optim/lbfgs.h(27): note: see declaration of 'torch::optim::LBFGS'
- E:\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'
- with
- [
- _Ty=at::Tensor
- ]
- E:\libtorch\include\ATen/core/Type.h(178): note: see declaration of 'std::vector<at::Tensor,std::allocator<_Ty>>'
- with
- [
- _Ty=at::Tensor
- ]
- E:\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'
- with
- [
- _Ty=at::Tensor
- ]
- E:\libtorch\include\ATen/core/Type.h(178): note: see declaration of 'std::vector<at::Tensor,std::allocator<_Ty>>'
- with
- [
- _Ty=at::Tensor
- ]
- E:\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'
- with
- [
- _Ty=at::Tensor
- ]
- E:\libtorch\include\torch\csrc\api\include\torch/optim/lbfgs.h(50): note: see declaration of 'std::deque<at::Tensor,std::allocator<_Ty>>'
- with
- [
- _Ty=at::Tensor
- ]
- E:\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'
- with
- [
- _Ty=at::Tensor
- ]
- E:\libtorch\include\torch\csrc\api\include\torch/optim/lbfgs.h(50): note: see declaration of 'std::deque<at::Tensor,std::allocator<_Ty>>'
- with
- [
- _Ty=at::Tensor
- ]
- E:\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'
- E:\libtorch\include\torch\csrc\api\include\torch/optim/optimizer.h(100): note: see declaration of 'torch::optim::Optimizer'
- E:\libtorch\include\torch\csrc\api\include\torch/optim/rmsprop.h(34): note: see declaration of 'torch::optim::RMSprop'
- E:\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'
- with
- [
- _Ty=at::Tensor
- ]
- E:\libtorch\include\ATen/core/Type.h(178): note: see declaration of 'std::vector<at::Tensor,std::allocator<_Ty>>'
- with
- [
- _Ty=at::Tensor
- ]
- E:\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'
- with
- [
- _Ty=at::Tensor
- ]
- E:\libtorch\include\ATen/core/Type.h(178): note: see declaration of 'std::vector<at::Tensor,std::allocator<_Ty>>'
- with
- [
- _Ty=at::Tensor
- ]
- E:\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'
- with
- [
- _Ty=at::Tensor
- ]
- E:\libtorch\include\ATen/core/Type.h(178): note: see declaration of 'std::vector<at::Tensor,std::allocator<_Ty>>'
- with
- [
- _Ty=at::Tensor
- ]
- E:\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'
- E:\libtorch\include\torch\csrc\api\include\torch/optim/optimizer.h(100): note: see declaration of 'torch::optim::Optimizer'
- E:\libtorch\include\torch\csrc\api\include\torch/optim/sgd.h(31): note: see declaration of 'torch::optim::SGD'
- E:\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'
- with
- [
- _Ty=at::Tensor
- ]
- E:\libtorch\include\ATen/core/Type.h(178): note: see declaration of 'std::vector<at::Tensor,std::allocator<_Ty>>'
- with
- [
- _Ty=at::Tensor
- ]
- E:\libtorch\include\c10/util/Optional.h(430): warning C4244: 'argument': conversion from '_Ty' to 'T', possible loss of data
- with
- [
- _Ty=unsigned __int64
- ]
- and
- [
- T=int
- ]
- E:\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
- with
- [
- U=size_t
- ]
- E:\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
- with
- [
- U=size_t
- ]
- E:\libtorch\include\c10/util/Half.h(440): warning C4018: '>': signed/unsigned mismatch
- E:\libtorch\include\c10/util/Half.h(486): note: see reference to function template instantiation 'bool c10::overflows<To,From>(From)' being compiled
- with
- [
- To=int64_t,
- From=int64_t
- ]
- E:\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
- with
- [
- To=int64_t,
- From=int64_t
- ]
- E:\libtorch\include\c10/util/Half.h(400): warning C4244: 'argument': conversion from 'From' to 'const std::complex<double>::_Ty', possible loss of data
- with
- [
- From=int64_t
- ]
- E:\libtorch\include\c10/util/Half.h(399): note: while compiling class template member function 'To c10::Converter<To,From,void>::operator ()(From)'
- with
- [
- To=std::complex<double>,
- From=int64_t
- ]
- E:\libtorch\include\c10/util/Half.h(406): note: see reference to function template instantiation 'To c10::Converter<To,From,void>::operator ()(From)' being compiled
- with
- [
- To=std::complex<double>,
- From=int64_t
- ]
- E:\libtorch\include\c10/util/Half.h(406): note: see reference to class template instantiation 'c10::Converter<To,From,void>' being compiled
- with
- [
- To=std::complex<double>,
- From=int64_t
- ]
- E:\libtorch\include\c10/util/Half.h(492): note: see reference to function template instantiation 'To c10::convert<To,From>(From)' being compiled
- with
- [
- To=std::complex<double>,
- From=int64_t
- ]
- E:\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
- with
- [
- To=std::complex<double>,
- From=int64_t
- ]
- E:\libtorch\include\c10/util/Half.h(400): warning C4244: 'argument': conversion from 'From' to 'const std::complex<float>::_Ty', possible loss of data
- with
- [
- From=int64_t
- ]
- E:\libtorch\include\c10/util/Half.h(399): note: while compiling class template member function 'To c10::Converter<To,From,void>::operator ()(From)'
- with
- [
- To=std::complex<float>,
- From=int64_t
- ]
- E:\libtorch\include\c10/util/Half.h(406): note: see reference to function template instantiation 'To c10::Converter<To,From,void>::operator ()(From)' being compiled
- with
- [
- To=std::complex<float>,
- From=int64_t
- ]
- E:\libtorch\include\c10/util/Half.h(406): note: see reference to class template instantiation 'c10::Converter<To,From,void>' being compiled
- with
- [
- To=std::complex<float>,
- From=int64_t
- ]
- E:\libtorch\include\c10/util/Half.h(492): note: see reference to function template instantiation 'To c10::convert<To,From>(From)' being compiled
- with
- [
- To=std::complex<float>,
- From=int64_t
- ]
- E:\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
- with
- [
- To=std::complex<float>,
- From=int64_t
- ]
- E:\libtorch\include\c10/util/Half.h(400): warning C4244: 'argument': conversion from 'From' to 'const std::complex<float>::_Ty', possible loss of data
- with
- [
- From=double
- ]
- E:\libtorch\include\c10/util/Half.h(399): note: while compiling class template member function 'To c10::Converter<To,From,void>::operator ()(From)'
- with
- [
- To=std::complex<float>,
- From=double
- ]
- E:\libtorch\include\c10/util/Half.h(406): note: see reference to function template instantiation 'To c10::Converter<To,From,void>::operator ()(From)' being compiled
- with
- [
- To=std::complex<float>,
- From=double
- ]
- E:\libtorch\include\c10/util/Half.h(406): note: see reference to class template instantiation 'c10::Converter<To,From,void>' being compiled
- with
- [
- To=std::complex<float>,
- From=double
- ]
- E:\libtorch\include\c10/util/Half.h(492): note: see reference to function template instantiation 'To c10::convert<To,From>(From)' being compiled
- with
- [
- To=std::complex<float>,
- From=double
- ]
- E:\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
- with
- [
- To=std::complex<float>,
- From=double
- ]
- E:\libtorch\include\c10/util/Half.h(400): warning C4244: 'argument': conversion from 'From' to 'float', possible loss of data
- with
- [
- From=int64_t
- ]
- E:\libtorch\include\c10/util/Half.h(399): note: while compiling class template member function 'To c10::Converter<To,From,void>::operator ()(From)'
- with
- [
- To=c10::Half,
- From=int64_t
- ]
- E:\libtorch\include\c10/util/Half.h(406): note: see reference to function template instantiation 'To c10::Converter<To,From,void>::operator ()(From)' being compiled
- with
- [
- To=c10::Half,
- From=int64_t
- ]
- E:\libtorch\include\c10/util/Half.h(406): note: see reference to class template instantiation 'c10::Converter<To,From,void>' being compiled
- with
- [
- To=c10::Half,
- From=int64_t
- ]
- E:\libtorch\include\c10/util/Half.h(492): note: see reference to function template instantiation 'To c10::convert<To,From>(From)' being compiled
- with
- [
- To=c10::Half,
- From=int64_t
- ]
- E:\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
- with
- [
- To=c10::Half,
- From=int64_t
- ]
- E:\libtorch\include\c10/util/Half.h(416): warning C4244: 'argument': conversion from '_Ty' to 'float', possible loss of data
- with
- [
- _Ty=double
- ]
- E:\libtorch\include\c10/util/Half.h(415): note: while compiling class template member function 'To c10::Converter<To,From,void>::operator ()(std::complex<double>)'
- with
- [
- To=c10::Half,
- From=std::complex<double>
- ]
- E:\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
- with
- [
- To=c10::Half,
- From=std::complex<double>
- ]
- E:\libtorch\include\c10/util/Half.h(406): note: see reference to class template instantiation 'c10::Converter<To,From,void>' being compiled
- with
- [
- To=c10::Half,
- From=std::complex<double>
- ]
- E:\libtorch\include\c10/util/Half.h(492): note: see reference to function template instantiation 'To c10::convert<To,From>(From)' being compiled
- with
- [
- To=c10::Half,
- From=std::complex<double>
- ]
- E:\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
- with
- [
- To=c10::Half,
- From=std::complex<double>
- ]
- E:\libtorch\include\c10/util/Half.h(400): warning C4244: 'argument': conversion from 'From' to 'float', possible loss of data
- with
- [
- From=double
- ]
- E:\libtorch\include\c10/util/Half.h(399): note: while compiling class template member function 'To c10::Converter<To,From,void>::operator ()(From)'
- with
- [
- To=c10::Half,
- From=double
- ]
- E:\libtorch\include\c10/util/Half.h(406): note: see reference to function template instantiation 'To c10::Converter<To,From,void>::operator ()(From)' being compiled
- with
- [
- To=c10::Half,
- From=double
- ]
- E:\libtorch\include\c10/util/Half.h(406): note: see reference to class template instantiation 'c10::Converter<To,From,void>' being compiled
- with
- [
- To=c10::Half,
- From=double
- ]
- E:\libtorch\include\c10/util/Half.h(492): note: see reference to function template instantiation 'To c10::convert<To,From>(From)' being compiled
- with
- [
- To=c10::Half,
- From=double
- ]
- E:\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
- with
- [
- To=c10::Half,
- From=double
- ]
- [100%] Linking CXX executable sampleC.exe
- [100%] Built target sampleC
- Build finished
Add Comment
Please, Sign In to add comment