在python2与python3中的einsum之间是否存在任何已知的差异?

时间:2018-03-09 18:32:45

标签: python-3.x python-2.7 numpy tensorflow numpy-einsum

Python2和Python3中的einsum之间有任何已知的差异吗?

https://github.com/tscohen/GrouPy 我试图在这里运行Tensorflow的代码,并得到不匹配

文件“/home/----/.conda/envs/py36/lib/python3.6/site-packages/numpy/core/einsumfunc.py”,第710行,位于einsum_path     “不符合之前的条款。”,char,tnum) ValueError :(“操作数%d的标签'%s'的大小与先前的术语不匹配。”,'h',1)

Python 3.6中的

,但是当我在Python 2.7中运行相同的代码时

0 个答案:

没有答案
相关问题