code: def test_init_split_entities_config(
      split_entities_config: Any,
      expected_initialized_config: Dict[(str, bool)],
  ):
      assert (
          train_utils.init_split_entities(
              split_entities_config,
              SPLIT_ENTITIES_BY_COMMA_DEFAULT_VALUE,
          )
          == expected_initialized_config
      )
  
imports: from typing import Any, Dict, List
  import numpy
  import pytest
  from typing import Text
  import rasa.utils.train_utils
  from rasa.nlu.constants import NUMBER_OF_SUB_TOKENS
  from rasa.nlu.tokenizers.tokenizer import Token
  from rasa.shared.nlu.constants import SPLIT_ENTITIES_BY_COMMA_DEFAULT_VALUE, SPLIT_ENTITIES_BY_COMMA
  from rasa.utils.tensorflow.constants import MODEL_CONFIDENCE, RANKING_LENGTH, RENORMALIZE_CONFIDENCES, SIMILARITY_TYPE, LOSS_TYPE, COSINE, SOFTMAX, INNER, CROSS_ENTROPY, MARGIN, AUTO, TOLERANCE, CHECKPOINT_MODEL, EVAL_NUM_EPOCHS, EVAL_NUM_EXAMPLES, EPOCHS
  from rasa.shared.exceptions import InvalidConfigException
label_desc: Use image node_id 3 for calling a global function with example usage: test_init_split_entities_config(split_entities_config, expected_initialized_config) without return types