class_docstr: TorchScript implementation of Integer1DListTensorizer in pytext/data/tensorizers.py
code: def tensorize(
      self, integerList: List[List[int]], seq_lens: List[int]
  ) -> torch.Tensor:
      integerListTensor = torch.tensor(
          pad_2d(integerList, seq_lens=seq_lens, pad_idx=self.pad_idx),
          dtype=torch.long,
      )
      return integerListTensor
  
imports: from typing import List, Optional, Tuple
  import torch
  from pytext.torchscript.utils import pad_2d_float, pad_3d_float, validate_padding_control
  from pytext.torchscript.vocab import ScriptVocabulary
  from pytorch.text.fb.utils.transform_utils import pad_2d
label_desc: Use image node_id 3 for calling the ScriptInteger1DListTensorizer obj's underlying member method code with example usage: obj.tensorize(integerList, seq_lens) and returns: integerListTensor