einsum 使用报错
收藏回复举报
einsum 使用报错
t('forum.solved') 已解决
新人帖
发表于2024-09-02 20:51:37
0 查看

使用 ops.einsum时报错

[ERROR] KERNEL(228335,7f56b2fd1700,python):2024-09-02-12:43:34.885.073 [mindspore/ccsrc/plugin/device/gpu/kernel/math/einsum_helper.h:602] SegLeftEquation] For Einsum, the number of inputs should be equal to the number of inputs and equation's operand, but it does not.

提示输入的shape不对,但实际上打印出来是正确的。%E5%B1%8F%E5%B9%95%E6%88%AA%E5%9B%BE%202024-09-02%20205058.png

我要发帖子