#' @export
torch_cat_list<-function(tensors,
dim = 1L)
{
len = sapply(tensors,length)
tensors = tensors[len > 0]
torch_cat(tensors,dim = dim)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.