code: @Deprecated
      public void putOrUpdateShapeForVarName(String varName, long[] shape, boolean clearArrayOnShapeMismatch){
          Preconditions.checkNotNull(shape, "Cannot put null shape for variable: %s", varName);
          if(variableNameToShape.containsKey(varName)){
  //            updateShapeForVarName(varName, shape, clearArrayOnShapeMismatch);
              //TODO
          } else {
              putShapeForVarName(varName, shape);
          }
      }
docs: Put or update the shape for the given variable name. Optionally supports clearing the specified variable's
  INDArray if it's shape does not match the new shape
  @param varName                   Variable name
  @param shape                     Shape to put
  @param clearArrayOnShapeMismatch If false: no change to arrays. If true: if an INDArray is defined for the specified
  variable name, it will be removed from the graph (to be later re-generated) if
  its shape does not match the specified shape