Home
last modified time | relevance | path

Searched refs:max_seq_len_b (Results 1 – 2 of 2) sorted by relevance

/external/tensorflow/tensorflow/contrib/seq2seq/kernels/
Dbeam_search_ops.cc122 const int32 max_seq_len_b = in operator ()() local
124 if (max_seq_len_b <= 0) { in operator ()()
127 beams(max_seq_len_b - 1, batch, beam) = in operator ()()
128 step_ids(max_seq_len_b - 1, batch, beam); in operator ()()
129 int32 parent = parent_ids(max_seq_len_b - 1, batch, beam); in operator ()()
130 for (int32 level = max_seq_len_b - 2; level >= 0; --level) { in operator ()()
145 for (int32 time = 0; time < max_seq_len_b; ++time) { in operator ()()
Dbeam_search_ops_gpu.cu.cc38 const int32 max_seq_len_b = in GatherTreeOpKernel() local
40 if (max_seq_len_b <= 0) { in GatherTreeOpKernel()
46 const int32 initial_beam_ix = GET_IX(max_seq_len_b - 1, beam); in GatherTreeOpKernel()
50 for (int32 level = max_seq_len_b - 2; level >= 0; --level) { in GatherTreeOpKernel()
67 for (int32 time = 0; time < max_seq_len_b; ++time) { in GatherTreeOpKernel()