SameDiff: Issues with placeholder gradients? #7100
As reported in gitter:
Aha! Link: https://skymindai.aha.io/features/ND4J-38
Turns out this is just an issue of unclear/not properly documented behaviour.
I've added the logging and better javadoc to this method to clarify what's going on. That will be merged soon.
To force calculation of gradients for placeholders etc, you can use execBackwards(Map,List) to specify the gradient variables to use. Here's an example: