docs: protected static int[] adaptForTensorDescr(int[] shapeOrStrides){
          if(shapeOrStrides.length >= 4)
              return shapeOrStrides;
          int[] out = new int[4];
          int i=0;
          for(; i<shapeOrStrides.length; i++ ){
              out[i] = shapeOrStrides[i];
          }
          for(; i<4; i++ ){
              out[i] = 1;
          }
          return out;
      }