nndeploy C++ API  0.2.0
nndeploy C++ API
vae.h
Go to the documentation of this file.
1 #ifndef _NNDEPLOY_MODEL_STABLE_DIFFUSION_VAE_H_
2 #define _NNDEPLOY_MODEL_STABLE_DIFFUSION_VAE_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/node.h"
17 #include "nndeploy/device/buffer.h"
18 #include "nndeploy/device/device.h"
20 #include "nndeploy/device/tensor.h"
21 
22 namespace nndeploy {
23 namespace stable_diffusion {
24 
26  const std::string &name, dag::Edge *latents, dag::Edge *output,
27  base::InferenceType inference_type, std::vector<base::Param *> &param);
28 
29 } // namespace stable_diffusion
30 } // namespace nndeploy
31 
32 #endif
Edge class in DAG graph for connecting nodes and transferring data.
Definition: edge.h:35
Directed Acyclic Graph Node.
Definition: graph.h:31
#define NNDEPLOY_CC_API
api
Definition: macro.h:29
dag::Graph * createVAEGraph(const std::string &name, dag::Edge *latents, dag::Edge *output, base::InferenceType inference_type, std::vector< base::Param * > &param)