public void updateVariable(String variableName, INDArray arr) {
    """
	Update the {@link INDArray}
	ndarray for the given variable name
	
	@param variableName the variable to update
	@param arr          the array to update with
    """
        if (!variableNameToArr.containsKey(variableName))
            putArrayForVarName(variableName, arr);
        else
            updateArrayForVarName(variableName, arr);
    }
public void updateVariable(String variableName, INDArray arr) {
        if (!variableNameToArr.containsKey(variableName))
            putArrayForVarName(variableName, arr);
        else
            updateArrayForVarName(variableName, arr);
    }
public void updateVariable ( String variableName , INDArray arr ) { if ( ! variableNameToArr . containsKey ( variableName ) ) putArrayForVarName ( variableName , arr ) ; else updateArrayForVarName ( variableName , arr ) ; }
Update the {@link INDArray}
ndarray for the given variable name

@param variableName the variable to update
@param arr          the array to update with
Update the { @link INDArray } ndarray for the given variable name