code: def test_missing_embedding_fn():
      batch_size = 6
      beam_width = 4
      cell = tf.keras.layers.LSTMCell(5)
      decoder = beam_search_decoder.BeamSearchDecoder(
          cell, beam_width=beam_width
      )
      initial_state = cell.get_initial_state(
          batch_size=batch_size * beam_width, dtype=tf.float32
      )
      start_tokens = tf.ones([batch_size], dtype=tf.int32)
      end_token = tf.constant(2, dtype=tf.int32)
      with pytest.raises(ValueError):
          decoder(None, start_tokens, end_token, initial_state)
  
imports: import numpy
  import pytest
  import tensorflow
  from tensorflow_addons.seq2seq import attention_wrapper
  from tensorflow_addons.seq2seq import beam_search_decoder, gather_tree
label_desc: Use image node_id 12 for calling a global function with example usage: test_missing_embedding_fn() without return types