()
| 212 | thread_list = [] |
| 213 | thread_num = args_dict['thread_num'] |
| 214 | def run(): |
| 215 | ft_while_time = time_test(sess, ft_while_tensor, 1) / ite # while_loop has run ite times |
| 216 | print("[INFO] batch_size {} max_seq_len {} {} layer FT-OP-while-time {:6.2f} ms with {} threads".format(batch_size, |
| 217 | max_seq_len, num_layer, ft_while_time, thread_num)) |
| 218 | |
| 219 | for i in range(thread_num): |
| 220 | thread_list.append(threading.Thread(target=run, name="RunFT")) |
nothing calls this directly
no test coverage detected