def METHOD_NAME(test_case):
    x = np.random.rand(3, 5)
    y = np.random.rand(5, 4)
    torch_x = torch.from_numpy(x).to(device=gpu_device(), dtype=torch.float16)
    torch_y = torch.from_numpy(y).to(device=gpu_device(), dtype=torch.float16)
    torch_output_numpy = torch_x.matmul(torch_y).cpu().numpy()
    flow_x = flow.tensor(x).to(device="cuda", dtype=flow.float16)
    flow_y = flow.tensor(y).to(device="cuda", dtype=flow.float16)
    flow_output_numpy = flow_x.matmul(flow_y).cpu().numpy()
    test_case.assertTrue(
        np.allclose(flow_output_numpy, torch_output_numpy, 1e-05, 1e-05)
    )