| 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; |
| 311 | auto graph_dump = create_graph_dump(bias, scale, 0.3, dtype); |
| 312 | check_dump_by_compute_with_param( |
| 313 | InputFile::make_mem_proxy(graph_dump.data(), graph_dump.size()), cn, dtype, |
| 314 | bias, param); |
| 315 | } |
| 316 | } // namespace |
| 317 | |
| 318 | TEST(TestExternCOpr, ExternCOprParam) { |
no test coverage detected