def not_equal(x, y):
     return topi.not_equal(x, y).astype("int8")
Beispiel #2
0
def not_equal_compute(attrs, inputs, output_type, target):
    assert len(inputs) == 2
    return [topi.not_equal(inputs[0], inputs[1])]
Beispiel #3
0
 def not_equal(x, y):
     return topi.not_equal(x, y).astype("int8")