nndeploy C++ API  0.2.0
nndeploy C++ API
util.h
Go to the documentation of this file.
1 
2 #ifndef _NNDEPLOY_SEGMENT_UTIL_H_
3 #define _NNDEPLOY_SEGMENT_UTIL_H_
4 
5 #include "nndeploy/base/any.h"
6 #include "nndeploy/base/common.h"
8 #include "nndeploy/base/log.h"
9 #include "nndeploy/base/macro.h"
10 #include "nndeploy/base/object.h"
11 #include "nndeploy/base/param.h"
12 #include "nndeploy/base/status.h"
13 #include "nndeploy/base/string.h"
14 #include "nndeploy/base/type.h"
15 #include "nndeploy/device/buffer.h"
16 #include "nndeploy/device/device.h"
18 #include "nndeploy/device/tensor.h"
20 
21 namespace nndeploy {
22 namespace segment {
23 
25  std::vector<float> &data, std::vector<int> dst_shape,
26  device::Device *device, base::DataFormat data_format, std::string name);
27 
28 } // namespace segment
29 } // namespace nndeploy
30 
31 #endif /* _NNDEPLOY_SEGMENT_COMMON_H_ */
设备抽象基类
Definition: device.h:155
#define NNDEPLOY_CC_API
api
Definition: macro.h:29
device::Tensor * convertVectorToTensor(std::vector< float > &data, std::vector< int > dst_shape, device::Device *device, base::DataFormat data_format, std::string name)