twitter-archive / torch-autograd

Autograd automatically differentiates native Torch code
Apache License 2.0
560 stars 114 forks source link

Feature: Autograd for tensor:split #174

Open zzhang1987 opened 7 years ago

zzhang1987 commented 7 years ago

The tensor:split feature is really useful in some cases. However, current auto-differential is not implemented for tensor:split. I can see there is an untested and commented code in the gradfunc.lua. Is there any plan to test this code and add it to the mainstream?