Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
考虑到船舶的速度和运行条件,我有一个程序试图将船舶的阻力降至最低。我想将程序转换为使用 CasADi 进行更快的优化。在优化循环中,程序使用 PyTorch 神经网络来预测力。如何将 PyTorch 模型转换为与 CasADi 兼容的模型?