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