Closed migueldeicaza closed 5 years ago
Does not look like this is a public API
@migueldeicaza I think we need these APIs to implement NN operators. How did you find that they are not public? Does this mean that we cannot access these APIs at all or that they are reachable through some other API?
Could not find the header files for these, just found the symbols. But if we find them, let us reopen
Ok found it - https://github.com/torch/nn/tree/master/lib/THNN
Researching how to bind this, challenges with THNNState
I am doing these ones.
Update from the discussion on gitter:
I wrote a tool to do the THNN binding
Now, the issue is, it feels like these operations belong on the Float/Double tensors
So good news - I have all the bits ready
Bad news - I think I need to play a little with the Lua/Python API to get a better sense of how this was intended to be used
Just does not feel right, but design wise, that is where it looks they belong
The binding is going into this pull request
https://github.com/xamarin/TorchSharp/pull/38
But it is intended to be internal, which is surfaced by individual classes later.