public void setGradientForVariableName ( String variableName , SDVariable variable ) { if ( variable == null ) { throw new ND4JIllegalStateException ( "Unable to set null gradient for variable name " + variableName ) ; } gradients . put ( variableName , variable ) ; }
Assign a vertex id to a gradient