↓ 15 callersFunctionfinalize(input_ids, beam_width, parent_ids, sequence_lengths, outputs, end_id, max_seq_len=None)
fastertransformer/examples/tensorflow/gpt/gpt_example.py:176
↓ 13 callersMethodmoe_fc1_test_helper(self, compute_type, weight_dtype, rtol, atol, activation_str)
fastertransformer/tests/moe/th_moe_unit_tests.py:190
↓ 12 callersMethodcheck_result(self, beam_width, datatype, test_time, topk=4, topp=0.0, batch_size=-1,
decoder_bleu_sco
fastertransformer/tests/decoding/tf_decoding_unit_test.py:50
↓ 12 callersMethodcompute(self, input_tokens, beam_width, max_seq_len, top_k=1, top_p = 0.0, beam_search_diversity_rate = 0.0,
fastertransformer/examples/tensorflow/t5/utils/ft_decoding.py:252