Indentation problems in test_binary_int_broadcast

We find that only relay.minimum is tested in test_binary_int_broadcast of tests/python/relay/test_op_level4.py.

https://github.com/apache/incubator-tvm/blob/master/tests/python/relay/test_op_level4.py#L91

It seems that the “if” statement has wrong indentation. We mean that we should indent Line 103 to Line 116:

if ref is not None:
    x_shape = (10, 4)
    y_shape = (5, 10, 1)
    t1 = relay.TensorType(x_shape, 'int32')
    t2 = relay.TensorType(y_shape, 'int32')
    x_data = np.random.rand(*x_shape).astype(t1.dtype)
    y_data = np.random.rand(*y_shape).astype(t2.dtype)
    func = relay.Function([x, y], z)
    ref_res = ref(x_data, y_data)

    for target, ctx in ctx_list():
        intrp = relay.create_executor("graph", ctx=ctx, target=target)
        op_res = intrp.evaluate(func)(x_data, y_data)
        tvm.testing.assert_allclose(op_res.asnumpy(), ref_res)

@aquapapaya: Thanks for reporting. It was indeed mis indentation issue. Refer (in PR)

Thank you @ANSHUMAN.TRIPATHY for your help!