public void updateArrayForVarName ( String varName , INDArray arr ) { if ( ! variableNameToArr . containsKey ( varName ) ) { throw new ND4JIllegalStateException ( "Array for " + varName + " does not exist. Please use putArrayForVertexId instead." ) ; } variableNameToArr . put ( varName , arr ) ; reverseArrayLookup . put ( arr , getVariable ( varName ) ) ; }
Update the ndarray for the given vertex id .