nndeploy C++ API
0.2.0
nndeploy C++ API
plugin
include
nndeploy
segment
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
"
7
#include "
nndeploy/base/glic_stl_include.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
"
17
#include "
nndeploy/device/memory_pool.h
"
18
#include "
nndeploy/device/tensor.h
"
19
#include "
nndeploy/segment/result.h
"
20
21
namespace
nndeploy
{
22
namespace
segment {
23
24
NNDEPLOY_CC_API
device::Tensor
*
convertVectorToTensor
(
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_ */
any.h
buffer.h
nndeploy::device::Device
设备抽象基类
Definition:
device.h:155
nndeploy::device::Tensor
Tensor类
Definition:
tensor.h:26
common.h
device.h
type.h
glic_stl_include.h
log.h
macro.h
NNDEPLOY_CC_API
#define NNDEPLOY_CC_API
api
Definition:
macro.h:29
memory_pool.h
nndeploy::base::DataFormat
DataFormat
Definition:
common.h:130
nndeploy::segment::convertVectorToTensor
device::Tensor * convertVectorToTensor(std::vector< float > &data, std::vector< int > dst_shape, device::Device *device, base::DataFormat data_format, std::string name)
nndeploy
Definition:
common.h:10
object.h
param.h
result.h
status.h
string.h
tensor.h
Generated by
1.9.1