Fills 填-inf,报错。
收藏回复举报
Fills 填-inf,报错。
t('forum.solved') 已解决
新人帖
发表于2023-11-29 19:53:53
0 查看

1. 环境:

在Atlas 800T A2上使用CANN 7.0.RC1,驱动是23.0.RC1。

2. 问题:

使用Fills往double类型的tensor中填充-inf,报错。报错如下:


[ERROR] AICPU(11781,aicpu_scheduler):2023-11-29-19:40:27.269.648 [fills.cc:37][AICPU][GetValueFromVariousTypes:37][tid:11790]:[Fills] value is out of range: -inf [ERROR] AICPU(11781,aicpu_scheduler):2023-11-29-19:40:27.269.674 [fills.cc:73][AICPU][FillsCompute:73][tid:11790]:[Fills] value cannot be safely converted to target type DT_DOUBLE without overflow [ERROR] CCECPU(11781,aicpu_scheduler):2023-11-29-19:40:27.269.690 [ae_kernel_lib_aicpu.cc:277][TransformKernelErrorCode][tid:11790][AICPU_PROCESSER] call aicpu api RunCpuKernel in libcpu_kernels.so failed, ret:4294967295. [ERROR] CCECPU(11781,aicpu_scheduler):2023-11-29-19:40:27.269.702 [aicpusd_event_process.cpp:1461][ExecuteTsKernelTask][tid:11790] Aicpu engine process failed, result[-1], opName[Fills].


我要发帖子