tests/testthat.R

library(testthat)
library(torchvision)

if (Sys.getenv("TORCH_TEST", unset = 0) == 1)
  test_check("torchvision")

Try the torchvision package in your browser

Any scripts or data that you put into this service are public.

torchvision documentation built on April 14, 2023, 5:08 p.m.