nndeploy C++ API  0.2.0
nndeploy C++ API
Namespaces | Functions
util.h File Reference
#include "nndeploy/base/any.h"
#include "nndeploy/base/common.h"
#include "nndeploy/base/glic_stl_include.h"
#include "nndeploy/base/half.h"
#include "nndeploy/base/log.h"
#include "nndeploy/base/macro.h"
#include "nndeploy/base/object.h"
#include "nndeploy/base/status.h"
#include "nndeploy/base/string.h"
#include "nndeploy/dag/edge.h"
#include "nndeploy/dag/node.h"
#include "nndeploy/device/buffer.h"
#include "nndeploy/device/device.h"
#include "nndeploy/device/memory_pool.h"
#include "nndeploy/device/tensor.h"
#include "nndeploy/preprocess/params.h"
Include dependency graph for util.h:

Go to the source code of this file.

Namespaces

 nndeploy
 
 nndeploy::preprocess
 

Functions

int nndeploy::preprocess::getChannelByPixelType (base::PixelType pixel_type)
 
template<typename T >
void nndeploy::preprocess::normalizeBfp16C1 (const T *__restrict src, void *dst, size_t size, const float *__restrict scale, const float *__restrict mean, const float *__restrict std)
 
template<typename T >
void nndeploy::preprocess::normalizeBfp16C2 (const T *__restrict src, void *dst, size_t size, const float *__restrict scale, const float *__restrict mean, const float *__restrict std)
 
template<typename T >
void nndeploy::preprocess::normalizeBfp16C3 (const T *__restrict src, void *dst, size_t size, const float *__restrict scale, const float *__restrict mean, const float *__restrict std)
 
template<typename T >
void nndeploy::preprocess::normalizeBfp16C4 (const T *__restrict src, void *dst, size_t size, const float *__restrict scale, const float *__restrict mean, const float *__restrict std)
 
template<typename T >
void nndeploy::preprocess::normalizeBfp16CN (const T *__restrict src, void *dst, const int c, size_t size, const float *__restrict scale, const float *__restrict mean, const float *__restrict std)
 
template<typename T1 , typename T2 >
void nndeploy::preprocess::normalizeC1 (const T1 *__restrict src, T2 *__restrict dst, size_t size, const float *__restrict scale, const float *__restrict mean, const float *__restrict std)
 
template<typename T1 , typename T2 >
void nndeploy::preprocess::normalizeC2 (const T1 *__restrict src, T2 *__restrict dst, size_t size, const float *__restrict scale, const float *__restrict mean, const float *__restrict std)
 
template<typename T1 , typename T2 >
void nndeploy::preprocess::normalizeC3 (const T1 *__restrict src, T2 *__restrict dst, size_t size, const float *__restrict scale, const float *__restrict mean, const float *__restrict std)
 
template<typename T1 , typename T2 >
void nndeploy::preprocess::normalizeC4 (const T1 *__restrict src, T2 *__restrict dst, size_t size, const float *__restrict scale, const float *__restrict mean, const float *__restrict std)
 
template<typename T1 , typename T2 >
void nndeploy::preprocess::normalizeCN (const T1 *__restrict src, T2 *__restrict dst, const int c, size_t size, const float *__restrict scale, const float *__restrict mean, const float *__restrict std)
 
template<typename T >
void nndeploy::preprocess::normalizeFp16C1 (const T *__restrict src, void *dst, size_t size, const float *__restrict scale, const float *__restrict mean, const float *__restrict std)
 
template<typename T >
void nndeploy::preprocess::normalizeFp16C2 (const T *__restrict src, void *dst, size_t size, const float *__restrict scale, const float *__restrict mean, const float *__restrict std)
 
template<typename T >
void nndeploy::preprocess::normalizeFp16C3 (const T *__restrict src, void *dst, size_t size, const float *__restrict scale, const float *__restrict mean, const float *__restrict std)
 
template<typename T >
void nndeploy::preprocess::normalizeFp16C4 (const T *__restrict src, void *dst, size_t size, const float *__restrict scale, const float *__restrict mean, const float *__restrict std)
 
template<typename T >
void nndeploy::preprocess::normalizeFp16CN (const T *__restrict src, void *dst, const int c, size_t size, const float *__restrict scale, const float *__restrict mean, const float *__restrict std)
 
template<typename T >
void nndeploy::preprocess::normalizeFp32C1 (const T *__restrict src, float *__restrict dst, size_t size, const float *__restrict scale, const float *__restrict mean, const float *__restrict std)
 
template<typename T >
void nndeploy::preprocess::normalizeFp32C2 (const T *__restrict src, float *__restrict dst, size_t size, const float *__restrict scale, const float *__restrict mean, const float *__restrict std)
 
template<typename T >
void nndeploy::preprocess::normalizeFp32C3 (const T *__restrict src, float *__restrict dst, size_t size, const float *__restrict scale, const float *__restrict mean, const float *__restrict std)
 
template<typename T >
void nndeploy::preprocess::normalizeFp32C4 (const T *__restrict src, float *__restrict dst, size_t size, const float *__restrict scale, const float *__restrict mean, const float *__restrict std)
 
template<typename T >
void nndeploy::preprocess::normalizeFp32CN (const T *__restrict src, float *__restrict dst, const int c, size_t size, const float *__restrict scale, const float *__restrict mean, const float *__restrict std)