| 38 | return true; |
| 39 | } |
| 40 | virtual bool run(int precision) { |
| 41 | ExecutorScope::Current()->lazyEval = false; |
| 42 | auto res = _run(precision, false); |
| 43 | if (!res) { |
| 44 | FUNC_PRINT(1); |
| 45 | return false; |
| 46 | } |
| 47 | ExecutorScope::Current()->lazyEval = true; |
| 48 | ExecutorScope::Current()->setLazyComputeMode(MNN::Express::Executor::LAZY_CONTENT); |
| 49 | res = _run(precision, true); |
| 50 | if (!res) { |
| 51 | FUNC_PRINT(1); |
| 52 | return false; |
| 53 | } |
| 54 | ExecutorScope::Current()->setLazyComputeMode(MNN::Express::Executor::LAZY_FULL); |
| 55 | res = _run(precision, true); |
| 56 | return res; |
| 57 | } |
| 58 | }; |
| 59 | MNNTestSuiteRegister(SizeTest, "op/size"); |
nothing calls this directly
no test coverage detected