class_docstr: To create our :class:`~flash.core.data.data_module.DataModule` we first set the ``input_transform_cls``
  attribute.
  
  Next, we add a ``from_numpy`` method and a ``from_sklearn`` method. Finally, we define the ``num_features`` property
  for convenience.
docstr: We can, *optionally*, provide a data visualization callback using the ``configure_data_fetcher`` method.
docstr_tok: ["We","can",",","*","optionally","*",",","provide","a","data","visualization","callback","using","the","``","configure_data_fetcher","``","method","."]
code: def configure_data_fetcher(*args, **kwargs) -> BaseDataFetcher:
      """We can, *optionally*, provide a data visualization callback using the ``configure_data_fetcher`` method."""
      return TemplateVisualization(*args, **kwargs)
  
imports: from typing import Any, Callable, Collection, Dict, List, Optional, Sequence, Tuple, Type
  import numpy
  import torch
  from flash.core.data.base_viz import BaseVisualization
  from flash.core.data.callback import BaseDataFetcher
  from flash.core.data.data_module import DataModule
  from flash.core.data.io.classification_input import ClassificationInputMixin
  from flash.core.data.io.input import DataKeys, Input
  from flash.core.data.io.input_transform import InputTransform
  from flash.core.data.utilities.classification import TargetFormatter
  from flash.core.data.utilities.samples import to_samples
  from flash.core.utilities.imports import _SKLEARN_AVAILABLE
  from flash.core.utilities.stages import RunningStage
  from flash.core.utilities.types import INPUT_TRANSFORM_TYPE
label_desc: Use image node_id 4 for calling the TemplateData obj's underlying member method code with example usage: obj.configure_data_fetcher() and returns: TemplateVisualization