打开微信,使用扫一扫进入页面后,点击右上角菜单,
点击“发送给朋友”或“分享到朋友圈”完成分享
我已经在mlu_option中设置config.mlu_options.precision = "int8"
错误代码如下
File "transform_mlu.py", line 163, in <module>
run_numpy_pb()
File "transform_mlu.py", line 148, in run_numpy_pb
ret =sess.run(output_tensor, feed_dict={input_tensor:np.int8([X]),input1:in1.astype(np.int8),input2:in2.astype(np.int8),output:out0})
File "/opt/AICSE-demo-student/env/tensorflow-v1.10/virtualenv_mlu/local/lib/python2.7/site-packages/tensorflow/python/client/session.py", line 950, in run
run_ data_ptr)
File "/opt/AICSE-demo-student/env/tensorflow-v1.10/virtualenv_mlu/local/lib/python2.7/site-packages/tensorflow/python/client/session.py", line 1173, in _run
feed_dict_tensor, options, run_ data)
File "/opt/AICSE-demo-student/env/tensorflow-v1.10/virtualenv_mlu/local/lib/python2.7/site-packages/tensorflow/python/client/session.py", line 1350, in _do_run
run_ data)
File "/opt/AICSE-demo-student/env/tensorflow-v1.10/virtualenv_mlu/local/lib/python2.7/site-packages/tensorflow/python/client/session.py", line 1370, in _do_call
raise type(e)(node_def, op, message)
tensorflow.python. work.errors_impl.InvalidArgumentError: MLUPow only support half but now float
[[node pow_15 (defined at transform_mlu.py:126) ]]
热门帖子
精华帖子