root/pycharm_project/PPO_libtorch/android/application/src/main//jni/./././././cpp_src/libtorch/include/torch/csrc/api/include/torch/nn/modules/container/any_module_holder.h:(.text._ZN5torch2nn15AnyModuleHolderINS0_10LinearImplEJRKN2at6TensorEEEC2EONSt6_ndk110shared_ptrIS2_EE+0x10): undefined reference to typeinfo for torch::nn::LinearImpl'. obj/local/arm64-v8a/objs-debug/ppo// // //cpp_src/actorcritic.o: In function AnyModuleHolder': /root/pycharm_project/PPO_libtorch/android/application/src/main//jni/./././././cpp_src/libtorch/include/torch/csrc/api/include/torch/nn/modules/container/any_module_holder.h:(.text._ZN5torch2nn15AnyModuleHolderINS0_10LinearImplEJRKN2at6TensorEEEC2EONSt6_ndk110shared_ptrIS2_EE+0xc): undefined reference to typeinfo for torch::nn::LinearImpl' root/pycharm_project/PPO_libtorch/android/application/src/main//jni/./././././cpp_src/libtorch/include/torch/csrc/api/include/torch/nn/modules/container/any.h:(.text._ZN5torch2nn9AnyModuleC2INS0_10LinearImplEEENSt6_ndk110shared_ptrIT_EE+0xc): undefined reference to torch::nn::LinearImpl::forward(at::Tensor const&)' /root/pycharm_project/PPO_libtorch/android/application/src/main//jni/./././././cpp_src/libtorch/include/torch/csrc/api/include/torch/nn/modules/container/any.h:(.text._ZN5torch2nn9AnyModuleC2INS0_10LinearImplEEENSt6_ndk110shared_ptrIT_EE+0x10): undefined reference to torch::nn::LinearImpl::forward(at::Tensor const&)' obj/local/arm64-v8a/objs-debug/ppo/_/_/_/_/_/cpp_src/actorcritic.o: In function AnyModuletorch::nn::LinearImpl': root/pycharm_project/PPO_libtorch/android/application/src/main//jni/./././././cpp_src/libtorch/include/torch/csrc/api/include/torch/nn/cloneable.h:67: undefined reference to torch::nn::Module::named_buffers(bool) const'. Compile++ : ppo ::clone(c10::optional const&) const': /root/pycharm_project/PPO_libtorch/android/application/src/main//jni/./././././cpp_src/libtorch/include/torch/csrc/api/include/torch/nn/cloneable.h:54: undefined reference to torch::nn::Module::named_parameters(bool) const'
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |