MCPcopy Create free account
hub / github.com/binbinjiang/CVT-SLR / paddle_beam_decode

Function paddle_beam_decode

ctcdecode/ctcdecode/src/binding.cpp:103–120  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

101}
102
103int paddle_beam_decode(at::Tensor th_probs,
104 at::Tensor th_seq_lens,
105 std::vector<std::string> labels,
106 int vocab_size,
107 size_t beam_size,
108 size_t num_processes,
109 double cutoff_prob,
110 size_t cutoff_top_n,
111 size_t blank_id,
112 int log_input,
113 at::Tensor th_output,
114 at::Tensor th_timesteps,
115 at::Tensor th_scores,
116 at::Tensor th_out_length){
117
118 return beam_decode(th_probs, th_seq_lens, labels, vocab_size, beam_size, num_processes,
119 cutoff_prob, cutoff_top_n, blank_id, log_input, NULL, th_output, th_timesteps, th_scores, th_out_length);
120}
121
122int paddle_beam_decode_lm(at::Tensor th_probs,
123 at::Tensor th_seq_lens,

Callers

nothing calls this directly

Calls 1

beam_decodeFunction · 0.85

Tested by

no test coverage detected