#' @export
nnf_var_loss<-function(z,
y,
...)
{
pret = torch_pret(x = z, y = y)
loss = pret$var()
return(loss)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.