code: def test_from_torch_dataset(self):
      _dataset = torchvision.datasets.FakeData(
          size=1, image_size=(3, 32, 32)
      )
      dataset = LightlyDataset.from_torch_dataset(_dataset)
      self.assertEqual(len(_dataset), len(dataset))
      self.assertEqual(len(dataset.get_filenames()), len(dataset))
  
imports: import os
  import shutil
  import tempfile
  import unittest
  from typing import List, Tuple
  import numpy
  import torchvision
  from PIL.Image import Image
  from lightly.data import LightlyDataset
  from lightly.data._utils import check_images
label_desc: Use image node_id 9 for calling the TestLightlyDataset obj's underlying member method code with example usage: obj.test_from_torch_dataset() without return types