Closed sebffischer closed 6 months ago
compare nn_module with nn_Module
library(torch) #> Warning: package 'torch' was built under R version 4.3.1 class(nn_linear(10, 1)$clone(deep = TRUE)) #> [1] "nn_linear" "nn_Module" "R6" class(nn_linear(10, 1)) #> [1] "nn_linear" "nn_module"
Created on 2023-11-03 with reprex v2.0.2
compare nn_module with nn_Module
Created on 2023-11-03 with reprex v2.0.2