nndeploy C++ API
0.2.0
nndeploy C++ API
framework
include
nndeploy
op
op_mul.h
Go to the documentation of this file.
1
2
#ifndef _NNDEPLOY_OP_OP_MUL_H_
3
#define _NNDEPLOY_OP_OP_MUL_H_
4
5
#include "
nndeploy/ir/ir.h
"
6
#include "
nndeploy/op/op.h
"
7
#include "
nndeploy/op/op_binary.h
"
8
9
namespace
nndeploy
{
10
namespace
op {
11
12
class
OpMul
:
public
OpBinary
{
13
public
:
14
OpMul
() :
OpBinary
() {}
15
virtual
~OpMul
() {}
16
17
virtual
base::Status
run
();
18
};
19
20
NNDEPLOY_CC_API
base::Status
mul
(
device::Tensor
*input1,
device::Tensor
*input2,
21
device::Tensor
*output);
22
23
}
// namespace op
24
}
// namespace nndeploy
25
26
#endif
nndeploy::base::Status
Definition:
status.h:87
nndeploy::device::Tensor
Tensorē±»
Definition:
tensor.h:26
nndeploy::op::OpBinary
Definition:
op_binary.h:11
nndeploy::op::OpMul
Definition:
op_mul.h:12
nndeploy::op::OpMul::~OpMul
virtual ~OpMul()
Definition:
op_mul.h:15
nndeploy::op::OpMul::run
virtual base::Status run()
nndeploy::op::OpMul::OpMul
OpMul()
Definition:
op_mul.h:14
ir.h
NNDEPLOY_CC_API
#define NNDEPLOY_CC_API
api
Definition:
macro.h:29
nndeploy::op::mul
base::Status mul(device::Tensor *input1, device::Tensor *input2, device::Tensor *output)
nndeploy
Definition:
common.h:10
op.h
op_binary.h
Generated by
1.9.1