code: def test_ner_crf_reg_mode(self):
      model = NER(
          num_entities=10,
          word_length=5,
          word_vocab_size=20,
          char_vocab_size=10,
      )
      input_data = [
          np.random.randint(20, size=(15, 12)),
          np.random.randint(10, size=(15, 12, 5)),
      ]
      output = model.predict(input_data, distributed=True)
      assert output.shape == (15, 12, 10)
      self.assert_tfpark_model_save_load(model, input_data)
  
file_path: analytics-zoo/pyzoo/test/zoo/tfpark/test_text_models.py
imports: import pytest
  import numpy
  from test.zoo.pipeline.utils.test_utils import ZooTestCase
  from zoo.tfpark.text.keras import *
label_desc: Use image node_id 3 for calling the TestTextModels obj's underlying member method code with example usage: obj.test_ner_crf_reg_mode() without return types