crystal-data / num.cr

Scientific computing in pure Crystal
MIT License
151 stars 12 forks source link

`log` and `tanh` not defined for `Num::Grad::Variable` #82

Closed nogginly closed 1 year ago

nogginly commented 1 year ago

I'm working on some toy models using num.cr while following some PyTorch examples. As I was setting up the forward calculations using a gradient variable, I needed log and tanh functions which are currently not implemented.