R/utils.R
nnet_to_torch.Rd
nnet weights to torch weights
nnet_to_torch(nnet_w, p, q)
weights in nnet format
number of inputs
number of hidden nodes
weights in torch format