predict <- function(network, inputs) {
outputs <- apply(inputs, MARGIN = 2, function(x) {forward_pass(x, network)})
return(outputs)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.