()
| 225 | thread_num = args_dict['thread_num'] |
| 226 | |
| 227 | def run(): |
| 228 | ft_while_time = time_test(sess, ft_while_tensor, 1) / ite # while_loop has run ite times |
| 229 | print("[INFO] batch_size {} max_seq_len {} {} layer FT-OP-while-time {:6.2f} ms with {} threads".format(batch_size, |
| 230 | max_seq_len, num_layer, ft_while_time, thread_num)) |
| 231 | |
| 232 | for i in range(thread_num): |
| 233 | thread_list.append(threading.Thread(target=run, name="RunFT")) |
nothing calls this directly
no test coverage detected