nndeploy C++ API  0.2.0
nndeploy C++ API
text2image.h
Go to the documentation of this file.
1 #ifndef _NNDEPLOY_MODEL_STABLE_DIFFUSION_PIPELINE_H_
2 #define _NNDEPLOY_MODEL_STABLE_DIFFUSION_PIPELINE_H_
3 
4 #include "nndeploy/base/any.h"
5 #include "nndeploy/base/common.h"
7 #include "nndeploy/base/log.h"
8 #include "nndeploy/base/macro.h"
9 #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/dag/edge.h"
15 #include "nndeploy/dag/graph.h"
16 #include "nndeploy/dag/loop.h"
17 #include "nndeploy/dag/node.h"
18 #include "nndeploy/device/buffer.h"
19 #include "nndeploy/device/device.h"
21 #include "nndeploy/device/tensor.h"
24 
25 namespace nndeploy {
26 namespace stable_diffusion {
27 
29  const std::string name, std::string prompt, std::string negative_prompt,
30  base::InferenceType inference_type, SchedulerType scheduler_type,
31  std::vector<base::Param *> &param, int iter);
32 
33 } // namespace stable_diffusion
34 } // namespace nndeploy
35 
36 #endif
Directed Acyclic Graph Node.
Definition: graph.h:31
#define NNDEPLOY_CC_API
api
Definition: macro.h:29
dag::Graph * createStableDiffusionText2ImageGraph(const std::string name, std::string prompt, std::string negative_prompt, base::InferenceType inference_type, SchedulerType scheduler_type, std::vector< base::Param * > &param, int iter)