| 1785 | MGB_DYN_TYPE_OBJ_FINAL_IMPL(PowC); |
| 1786 | |
| 1787 | PowC::PowC(VarNode* i0, const Param& param, const OperatorNodeConfig& config) |
| 1788 | : Super(OperatorNodeBaseCtorParam{ |
| 1789 | i0->owner_graph(), config, ssprintf("powc_%g", param.exp), {i0}}) { |
| 1790 | init_megdnn_opr(*this, param); |
| 1791 | add_input({i0}); |
| 1792 | output(0)->add_flag(VarNode::Flag::ALLOW_EMPTY_SHAPE); |
| 1793 | intl::MegDNNOprInitPostCtor<PowC>::apply(*this); |
| 1794 | } |
| 1795 | |
| 1796 | SymbolVar PowC::make( |
| 1797 | SymbolVar x, const Param& param, const OperatorNodeConfig& config) { |
nothing calls this directly
no test coverage detected