×
分享到微信

打开微信,使用扫一扫进入页面后,点击右上角菜单,

点击“发送给朋友”或“分享到朋友圈”完成分享

power_difference_test_bcl.py 报错 Arthas2020-07-20 10:26:26 回复 5 查看
power_difference_test_bcl.py 报错
分享到:

报错内容:

2020-07-20 01:58:50.576691: I tensorflow/compiler/tf2mlu/convert/convert_graph.cc:654][77493] MLU fusion node PowerDifference/my_mlu_op_0 added for segment 0 consisting of 1 nodes succeeded.
2020-07-20 01:58:50.592942: [cnmlError] NdBroadcast Op: input dim_num != output dim_num, input dim_num is 1, output dim_mum is 2!
2020-07-20 01:58:50.593101: [cnmlError] NdBroadcast Op: Invalid dim_num, check input dim_num and output dim_num
2020-07-20 01:58:50.593128: E tensorflow/stream_executor/mlu/mlu_api/lib_ops/mlu_lib_common.cc:454][77882] TF_CNML_CHECK failed: CNML_STATUS_INVALIDPARAM
2020-07-20 01:58:50.593265: E tensorflow/stream_executor/mlu/mlu_stream_executor.cc:140][77882] TF_STATUS_CHECK failed: Unknown: CNML_STATUS_INVALIDPARAM
Traceback (most recent call last):
  File "power_difference_test_bcl.py", line 44, in <module>
    main()
  File "power_difference_test_bcl.py", line 29, in main
    res = power_difference_op(input_x, input_y, input_pow)
  File "power_difference_test_bcl.py", line 20, in power_difference_op
    return sess.run(out, feed_dict={input1: x})
  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.UnknownError: 2 root error(s) found.
  (0) Unknown: CNML_STATUS_INVALIDPARAM
     [[{{node PowerDifference/my_mlu_op_0}}]]
     [[PowerDifference/my_mlu_op_0/_7]]
  (1) Unknown: CNML_STATUS_INVALIDPARAM
     [[{{node PowerDifference/my_mlu_op_0}}]]
0 successful operations.
0 derived errors ignored.

版权所有 © 2022 寒武纪 Cambricon.com 备案/许可证号:京ICP备17003415号-1
关闭