| 16 | using namespace imperative; |
| 17 | |
| 18 | TEST(TestImperative, APlusB) { |
| 19 | auto op = OprAttr::make("Elemwise"); |
| 20 | auto&& attr = op->cast_final_safe<OprAttr>(); |
| 21 | using Param = opr::Elemwise::Param; |
| 22 | Param param{Param::Mode::ADD}; |
| 23 | attr.param.write_pod(param); |
| 24 | OprChecker(op).run({TensorShape{42}, TensorShape{42}}); |
| 25 | } |
| 26 | |
| 27 | TEST(TestImperative, Convolution) { |
| 28 | auto op = OprAttr::make("ConvolutionV2"); |
nothing calls this directly
no test coverage detected