def ctc(self, inputs, sequence_length): """针对CTC Loss的解码""" ctc_decode, _ = tf.nn.ctc_greedy_decoder(inputs, sequence_length) ctc_decode, _ = tf.nn.ctc_beam_search_decoder_v2(inputs, sequence_length, beam_width=1) decoded_sequences = tf.sparse.to_dense(ctc_decode[0], de...