| 299 | } |
| 300 | |
| 301 | void run_compute_test(CompNode cn, MGBDType dtype) { |
| 302 | float bias = 1.2, scale = -2.1; |
| 303 | auto graph_dump = create_graph_dump(bias, scale, 0.3, dtype); |
| 304 | check_dump_by_compute( |
| 305 | InputFile::make_mem_proxy(graph_dump.data(), graph_dump.size()), cn, dtype, |
| 306 | bias, scale); |
| 307 | } |
| 308 | void run_compute_test_with_param( |
| 309 | CompNode cn, MGBDType dtype, std::shared_ptr<ExternCOprParam> param) { |
| 310 | float bias = 1.2, scale = 0; |
no test coverage detected