def METHOD_NAME():
    hcl.init(hcl.Float())
    A = hcl.placeholder((10,))
    B = hcl.compute(A.shape, lambda x: hcl.select(A[x] > 0.5, A[x], 0.0))
    s = hcl.create_schedule([A, B])
    f = hcl.build(s)
    np_A = np.random.rand(10)
    np_B = np.zeros(10)
    np_C = np.zeros(10)
    for i in range(0, 10):
        np_C[i] = np_A[i] if np_A[i] > 0.5 else 0
    hcl_A = hcl.asarray(np_A, dtype=hcl.Float(32))
    hcl_B = hcl.asarray(np_B, dtype=hcl.Float(32))
    f(hcl_A, hcl_B)
    np_B = hcl_B.asnumpy()
    assert np.allclose(np_B, np_C)