nndeploy C++ API  0.2.0
nndeploy C++ API
op_pow.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2025
3  * All rights reserved.
4  */
5 #ifndef _NNDEPLOY_OP_OP_POW_H_
6 #define _NNDEPLOY_OP_OP_POW_H_
7 
8 #include "nndeploy/ir/ir.h"
9 #include "nndeploy/op/op.h"
10 
11 namespace nndeploy {
12 namespace op {
13 
14 class OpPow : public Op {
15  public:
16  OpPow() : Op() {}
17  virtual ~OpPow() {}
18 
20  virtual base::Status run();
21 };
22 
24  device::Tensor* output);
25 
26 } // namespace op
27 } // namespace nndeploy
28 
29 #endif // _NNDEPLOY_OP_OP_POW_H_
30 
virtual base::Status inferShape()
形状推理
virtual ~OpPow()
Definition: op_pow.h:17
virtual base::Status run()
Op的基类
Definition: op.h:42
#define NNDEPLOY_CC_API
api
Definition: macro.h:29
base::Status pow(device::Tensor *input, device::Tensor *exponent, device::Tensor *output)