code: public static VarBinaryVector vectorFor(BufferAllocator bufferAllocator,String name,INDArray[] data) {
          VarBinaryVector ret = new VarBinaryVector(name,bufferAllocator);
          ret.allocateNew();
          for(int i = 0; i < data.length; i++) {
              //slice the databuffer to use only the needed portion of the buffer
              //for proper offset
              ByteBuffer byteBuffer = BinarySerde.toByteBuffer(data[i]);
              ret.set(i,byteBuffer,0,byteBuffer.capacity());
          }
  
          return ret;
      }
docs: Returns a vector representing a tensor view
  of each ndarray.
  Each ndarray will be a "row" represented as a tensor object
  with in the return {@link VarBinaryVector}
  @param bufferAllocator the buffer allocator to use
  @param name the name of the column
  @param data the input arrays
  @return