| 182 | } // anonymous namespace |
| 183 | |
| 184 | TEST_F(TestGraphEagerEval, APlusB) { |
| 185 | HostTensorGenerator<> gen; |
| 186 | auto make_graph = [](const SymbolVarArray& inputs) -> SymbolVarArray { |
| 187 | return {inputs[0] + inputs[1]}; |
| 188 | }; |
| 189 | run_eager_eval_test({gen({2, 8}), gen({2, 1})}, make_graph); |
| 190 | } |
| 191 | |
| 192 | #if MGB_ENABLE_EXCEPTION |
| 193 | TEST_F(TestGraphEagerEval, Exception) { |
nothing calls this directly
no test coverage detected