docs: public static TensorFactory getFactory() {
      return new TensorFactory() {
        @Override
        public TensorBuilder getBuilder(int[] dimNums, int[] dimSizes) {
          return new DenseTensorBuilder(dimNums, dimSizes);
        }
      };
    }