-
Notifications
You must be signed in to change notification settings - Fork 114
Grads needed #3
Comments
note: |
Shouldn't need fill new and copy, since those produce tensors that, if used in computation, will be wrapped in nodes. If not used, and sent as output, then output will be independent of input. |
What do you mean by newindex here? |
Just clarified on the index/newindex. |
Got it. |
@alexbw got it, I removed indexCopy. Ok so let me try a few of these things then, last time I tried to do a copy in a narrowed tensor it failed. |
No, confirming that copy doesn't work as is. Pushing a new test to capture it: 0db08d8 |
So adding back Also I started a branch |
And once copy works, then |
So you mean copy needs to be overridden to carry grads with the tensor? |
Yes it does! I pushed the code I have in master, which defines the 2 grads for |
|
Not really a very focused issue, closing. |
The text was updated successfully, but these errors were encountered: