MagmaDNN / magmadnn

MagmaDNN: a simple deep learning framework in c++
MIT License
45 stars 7 forks source link

[BUG] gradients of Operations with multiple consumers #12

Closed Dando18 closed 5 years ago

Dando18 commented 5 years ago

Describe the bug Creating operations with multiple consumers causes a NULL gradient to be assigned in build grad see here.

To Reproduce Define an operation with multiple consumer Operations.

Expected behavior The gradients to be summed over these consumers.

Environment: All installs.

Dando18 commented 5 years ago

Fixed in a5b45c5ffbded1103116f3db12c5f99def85d55a.

Soon this will make its way into dev and once the tests pass into master.