Что это за ошибка с библиотекой Pytorch C10?C++

Программы на C++. Форум разработчиков
Гость
Что это за ошибка с библиотекой Pytorch C10?

Сообщение Гость »


I read and load the code from a open source in Visual Studio 2022 community. There is a statement:

auto param_state = state_.find(c10::guts::to_string(p.unsafeGetTensorImpl())); I got an error:

Error (active) E0135 namespace "c10::guts" has no member "to_string" I understand the there is no function to_string() in the current C10::guts.

How to correct this?

Thank you in advance


Источник: https://stackoverflow.com/questions/781 ... of-pytorch

Вернуться в «C++»