code: def _initialize_tensorizer(self, tensorizer, data=None):
      if data is None:
          data = self.data
      init = tensorizer.initialize()
      init.send(None)  # kick
      for row in data.train:
          init.send(row)
      init.close()
  
file_path: pytext/pytext/data/test/mask_tensorizers_test.py
imports: import types
  import unittest
  from typing import List
  from pytext.data.masked_tensorizer import MaskedTokenTensorizer
  from pytext.data.masked_util import MaskEverything, RandomizedMaskingFunction, TreeMask
  from pytext.data.sources.data_source import SafeFileWrapper
  from pytext.data.sources.tsv import TSVDataSource
  from pytext.utils.test import import_tests_module
label_desc: Use image node_id 2 for calling the MaskTensorizersTest obj's underlying member method code with example usage: obj._initialize_tensorizer(tensorizer, data) without return types