@yf225 I really appreciate the reply!
module->to(torch::kDouble)
actually didn’t work, but…
module.to(torch::kDouble)
does.!
I’m just assuming that this is because the method .to()
isn’t a pointer to a method/function?
Anyway, I’m glad this was an easy fix! I just wish I had known that torch::kDouble
is an at::ScalarType
.
Also, just wanted to say that I think the docs are quite good, just maybe not 100% complete. But the forums here more than make up for it. I’ve enjoyed the supportive community.