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