• Arnaud Bergeron's avatar
    Don't test sum with a mix of complex and scalar. · 0a531470
    Arnaud Bergeron 提交于
    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.
    0a531470
test_elemwise.py 51.0 KB