docs: public static int createDims(FlatBufferBuilder bufferBuilder,INDArray arr) {
          int[] tensorDimOffsets = new int[arr.rank()];
          int[] nameOffset = new int[arr.rank()];
          for(int i = 0; i < tensorDimOffsets.length; i++) {
              nameOffset[i] = bufferBuilder.createString("");
              tensorDimOffsets[i] = TensorDim.createTensorDim(bufferBuilder,arr.size(i),nameOffset[i]);
          }
  
          return Tensor.createShapeVector(bufferBuilder,tensorDimOffsets);
      }