class_docstr: Tests ``TemplateData``.
docstr: A simple test that the class can be instantiated.
code: def test_smoke():
      """A simple test that the class can be instantiated."""
      dm = TemplateData(batch_size=2)
      assert dm is not None
  
file_path: lightning-flash/tests/template/classification/test_data.py
imports: import numpy
  import pytest
  from flash.core.data.io.input import DataKeys
  from flash.core.utilities.imports import _SKLEARN_AVAILABLE, _TOPIC_CORE_AVAILABLE
  from flash.template.classification.data import TemplateData
label_desc: Use image node_id 1 for calling the TestTemplateData obj's underlying member method code with example usage: obj.test_smoke() without return types