class_docstr: ctc tensorflow decode util unittest
docstr: ctc tensorflow greedy decode unittest 
docstr_tok: ["ctc","tensorflow","greedy","decode","unittest"]
code: def test_ctc_greedy_decode(self):
      """ctc tensorflow greedy decode unittest"""
  
      with self.cached_session():
          decode_result, _ = tf_ctc.ctc_greedy_decode(
              tf.constant(self.logits),
              tf.constant(self.sequence_lens),
              merge_repeated=True,
          )
          self.assertAllEqual(decode_result.eval(), [[1, 3], [1, 0]])
  
          decode_result, _ = tf_ctc.ctc_greedy_decode(
              tf.constant(self.logits),
              tf.constant(self.sequence_lens),
              merge_repeated=False,
          )
          self.assertAllEqual(
              decode_result.eval(), [[1, 1, 1, 3], [1, 1, 1, 0]]
          )
  
file_path: delta/delta/utils/decode/tf_ctc_test.py
imports: import numpy
  import delta.compat
  from delta.utils.decode import tf_ctc
label_desc: Use image node_id 4 for calling the DecodeUtilTest obj's underlying member method code with example usage: obj.test_ctc_greedy_decode() without return types