
Last chance! 50% off unlimited learning
Sale ends in
# NOT RUN {
if (torch_is_installed()) {
# With Learnable Parameters
m <- nn_batch_norm2d(100)
# Without Learnable Parameters
m <- nn_batch_norm2d(100, affine=FALSE)
input <- torch_randn(20, 100, 35, 45)
output <- m(input)
}
# }
Run the code above in your browser using DataLab