nndeploy C++ API
0.2.0
nndeploy C++ API
plugin
include
nndeploy
stable_diffusion
denoise.h
Go to the documentation of this file.
1
#ifndef _NNDEPLOY_MODEL_STABLE_DIFFUSION_DENOISE_H_
2
#define _NNDEPLOY_MODEL_STABLE_DIFFUSION_DENOISE_H_
3
4
#include "
nndeploy/base/any.h
"
5
#include "
nndeploy/base/common.h
"
6
#include "
nndeploy/base/glic_stl_include.h
"
7
#include "
nndeploy/base/log.h
"
8
#include "
nndeploy/base/macro.h
"
9
#include "
nndeploy/base/object.h
"
10
#include "
nndeploy/base/opencv_include.h
"
11
#include "
nndeploy/base/param.h
"
12
#include "
nndeploy/base/status.h
"
13
#include "
nndeploy/base/string.h
"
14
#include "
nndeploy/dag/edge.h
"
15
#include "
nndeploy/dag/graph.h
"
16
#include "
nndeploy/dag/node.h
"
17
#include "
nndeploy/device/buffer.h
"
18
#include "
nndeploy/device/device.h
"
19
#include "
nndeploy/device/memory_pool.h
"
20
#include "
nndeploy/device/tensor.h
"
21
#include "
nndeploy/stable_diffusion/type.h
"
22
23
namespace
nndeploy
{
24
namespace
stable_diffusion {
25
extern
NNDEPLOY_CC_API
dag::Graph
*
createDenoiseGraph
(
26
const
std::string &name,
dag::Edge
*text_embeddings,
dag::Edge
*output,
27
SchedulerType
scheduler_type,
base::InferenceType
inference_type,
28
std::vector<base::Param *> ¶m,
int
iter);
29
}
// namespace stable_diffusion
30
}
// namespace nndeploy
31
32
#endif
any.h
buffer.h
nndeploy::dag::Edge
Edge class in DAG graph for connecting nodes and transferring data.
Definition:
edge.h:35
nndeploy::dag::Graph
Directed Acyclic Graph Node.
Definition:
graph.h:31
common.h
device.h
edge.h
glic_stl_include.h
graph.h
log.h
macro.h
NNDEPLOY_CC_API
#define NNDEPLOY_CC_API
api
Definition:
macro.h:29
memory_pool.h
nndeploy::base::InferenceType
InferenceType
Definition:
common.h:284
nndeploy::stable_diffusion::SchedulerType
SchedulerType
Definition:
type.h:15
nndeploy::stable_diffusion::createDenoiseGraph
dag::Graph * createDenoiseGraph(const std::string &name, dag::Edge *text_embeddings, dag::Edge *output, SchedulerType scheduler_type, base::InferenceType inference_type, std::vector< base::Param * > ¶m, int iter)
nndeploy
Definition:
common.h:10
node.h
object.h
opencv_include.h
param.h
type.h
status.h
string.h
tensor.h
Generated by
1.9.1