Nothing
# theses tests must run the before any torch op.
test_that("can set threads", {
skip_on_os("windows")
skip_on_os("mac")
old <- torch_get_num_interop_threads()
torch_set_num_interop_threads(6)
expect_equal(torch_get_num_interop_threads(), 6)
old <- torch_get_num_threads()
torch_set_num_threads(6)
expect_equal(torch_get_num_threads(), 6)
torch_set_num_threads(old)
})
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.