コード例 #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
ファイル: test_topi_broadcast.py プロジェクト: LANHUIYING/tvm
 def not_equal(x, y):
     return topi.not_equal(x, y).astype("int8")