def METHOD_NAME(test_case):
    device = random_device()
    x = random_tensor(ndim=1, dim0=random(1, 6)).to(device)
    y = random_tensor(ndim=1, dim0=random(1, 6)).to(device)
    res = torch.meshgrid(x, y, indexing="xy")
    return torch.cat((res[0], res[1]), 0)