code: def char_beam_search(out):
      
      out_conv = list()
      for idx in range(out.shape[0]):
          probs = out[idx]
          prob = probs.softmax().asnumpy()
          line_string_proposals = ctcBeamSearch(prob, ALPHABET, None, k=4, beamWidth=25)
          out_conv.append(line_string_proposals[0])
      return out_conv
docs: Description : apply beam search for prediction result