Don't test sum with a mix of complex and scalar.
Sum with a complex input and scalar output doesn't work because of the
ambiguity of casting complex to scalar. The reverse doesn't work
because of the ambiguity of the casting in the gradient. Therefore
disallow both.
正在显示
请
注册
或者
登录
后发表评论