我试图使用JEP在java中运行this python library。我使用以下代码向python发送参数。在
NDArray<int[]> r = new NDArray<>(twf, 1, twf.length);
NDArray<int[]> d = new NDArray<>(ndpw, 1, ndpw.length);
jep.set("r", r);
jep.set("d", d);
jep.set("gamma", gamma);
jep.set("smooth_win", smooth_win);
jep.set("s", s);
jep.set("n", n);
最后我犯了这个错误。在
< class 'AttributeError' >: 'ImmutableDenseNDimArray' object has no attribute '_to_mpmath'
我寻找原因,但一无所获。 这个错误是什么意思?在
编辑:
{rday>在库的第^行使用。我想错误与那条线有关。在
这是图书馆里的一行:
^{pr2}$
目前没有回答
相关问题 更多 >
编程相关推荐