/torchComparison

Primary LanguageRApache License 2.0Apache-2.0

torchComparison

Some models and code I use to run comparisons between torch in R and pytorch.

The models in R and python have the same number of parameters and should be exactly the same

Use runTorchInR.R to run models in R, and testPytorch.py to run the python models