MCPcopy
hub / github.com/pytorch/vision / test_kernel_image

Method test_kernel_image

test/test_transforms_v2.py:1844–1845  ·  view source on GitHub ↗
(self, dtype, device)

Source from the content-addressed store, hash-verified

1842 @pytest.mark.parametrize("dtype", [torch.float32, torch.uint8])
1843 @pytest.mark.parametrize("device", cpu_and_cuda())
1844 def test_kernel_image(self, dtype, device):
1845 check_kernel(F.vertical_flip_image, make_image(dtype=dtype, device=device))
1846
1847 @pytest.mark.parametrize("format", list(tv_tensors.BoundingBoxFormat))
1848 @pytest.mark.parametrize("dtype", [torch.float32, torch.int64])

Callers

nothing calls this directly

Calls 2

make_imageFunction · 0.90
check_kernelFunction · 0.85

Tested by

no test coverage detected