Nothing
test_that("Only neural networks may be summed", {
5 |>
nn_sum(6) |>
expect_error()
c(5, 6) |>
nn_sum(6) |>
expect_error()
6 |>
nn_sum(c(5, 6)) |>
expect_error()
6 %nn_sum% c(5, 6) |> expect_error()
c(5, 6) %nn_sum% 6 |> expect_error()
create_nn(c(4, 4, 4, 4)) %nn_sum% create_nn(c(9, 9, 10)) |>
expect_error()
create_nn(c(4, 4, 4, 4)) |>
nn_sum(create_nn(c(9, 9, 10))) |>
expect_error()
create_nn(c(4, 4, 4, 4, 4)) %nn_sum% create_nn(c(4, 4, 5, 4)) |> expect_no_error()
})
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.