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