class_docstr: Adapter from a function to a :class:`DatasetFactory`.
class_docstr_tok: ["Adapter","from","a","function","to","a",":","class",":","`","DatasetFactory","`","."]
code: def __init__(
      self,
      name: str,
      tags: AbstractSet[DatasetTag],
      fn: DatasetFactoryFn,
  ) -> None:
      self.name = name
      self.tags = tags
      self._fn = fn
  
imports: import zipfile
  from abc import ABC, abstractmethod
  from dataclasses import dataclass
  from functools import wraps
  from pathlib import Path
  from typing import AbstractSet, Callable, Optional, Tuple
  from urllib.parse import urlparse
  from urllib.request import urlopen
  import numpy
  import pandas
  from check_shapes import check_shapes
  from benchmark.registry import TaggedRegistry
  from benchmark.tag import Tag, TagReq
  from gpflow.base import AnyNDArray
label_desc: Use image node_id 1 to create a new FnDatasetFactory object from inherited base classes: DatasetFactory with example: obj = FnDatasetFactory(name, tags, fn)