Пример #1
0
        def op_script(data: torch.Tensor) -> Union[torch.Tensor, Tuple[torch.Tensor, torch.Tensor]]:

            return kornia.random_hflip(data)
Пример #2
0
        def op_script(data: torch.Tensor) -> torch.Tensor:

            return kornia.random_hflip(data)