def METHOD_NAME(shape_b):
    len_in_arr = 20
    in1_np = np.random.rand(len_in_arr)
    in2_np = in1_np + np.random.uniform(low=5e-09, high=2e-08, size=len_in_arr)
    shape_a = (3,)
    size_a = np.prod(shape_a)
    a_np = np.array([in1_np[i % len_in_arr] for i in range(size_a)]).reshape(
        shape_a
    )
    size_b = np.prod(shape_b)
    b_np = np.array([in2_np[i % len_in_arr] for i in range(size_b)]).reshape(
        shape_b
    )
    a_num = num.array(a_np)
    b_num = num.array(b_np)
    out_np = np.isclose(a_np, b_np)
    out_num = num.isclose(a_num, b_num)
    assert np.array_equal(out_np, out_num)