docs: public static int addDataForArr(FlatBufferBuilder bufferBuilder, INDArray arr) {
          DataBuffer toAdd = arr.isView() ? arr.dup().data() : arr.data();
          int offset = DataBufferStruct.createDataBufferStruct(bufferBuilder,toAdd);
          int ret = Buffer.createBuffer(bufferBuilder,offset,toAdd.length() * toAdd.getElementSize());
          return ret;
  
      }