code: def test_from_tensor_list(self) -> None:
      tensor_list = tensor_list_from_lists([[3, 4], [0, 2]])
      self.assertEqual(
          EntityList.from_tensor_list(tensor_list),
          EntityList(
              torch.full((2,), -1, dtype=torch.long), tensor_list
          ),
      )
  
file_path: PyTorch-BigGraph/test/test_entitylist.py
imports: from typing import Sequence
  from unittest import main, TestCase
  import torch
  from torchbiggraph.entitylist import EntityList
  from torchbiggraph.tensorlist import TensorList
label_desc: Use image node_id 3 for calling the TestEntityList obj's underlying member method code with example usage: obj.test_from_tensor_list() without return types