    if (dims[i] < 0)     throw new DMLRuntimeException("DataTensor.reset(int[],ValueType[]) invalid  dimension " + i + ": " + dims[i]);   _dims = dims;   _schema = schema;   _colsToIx = new int[_schema.length];   int[] typeIxCounter = new int[VALID_VALUE_TYPES_LENGTH];   for (int i = 0; i < schema.length; i++) {    int type = schema[i].ordinal();    _colsToIx[i] = typeIxCounter[type]++;   }   