Thanks for sending an issue! Please fill in the following template to help quickly solve your problem.
当前moeinitroutingv2算子在空tensot场景时推导shape为-1应为0
a2/a2
moeinitroutingv2算子输入空tensot
推导出的输出也是空tensor
无
Thanks for sending an issue! Please fill in the following template to help quickly solve your problem.
Describe the current behavior / 问题描述 (Mandatory / 必填)
当前moeinitroutingv2算子在空tensot场景时推导shape为-1应为0
Environment / 环境信息 (Mandatory / 必填)
a2/a2
Steps to reproduce the issue / 重现步骤 (Mandatory / 必填)
moeinitroutingv2算子输入空tensot
Describe the expected behavior / 预期结果 (Mandatory / 必填)
推导出的输出也是空tensor
Related log / screenshot / 日志 / 截图 (Mandatory / 必填)
无
Special notes for this issue/备注 (Optional / 选填)