MCPcopy Create free account
hub / github.com/alibaba/MNN / run

Method run

transformers/diffusion/engine/src/wan_diffusion.cpp:385–394  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

383}
384
385bool WanDiffusion::run(const std::string prompt, const std::string imagePath, int iterNum, int randomSeed,
386 std::function<void(int)> progressCallback) {
387 (void)prompt;
388 (void)imagePath;
389 (void)iterNum;
390 (void)randomSeed;
391 (void)progressCallback;
392 MNN_ERROR("Wan2.1-T2V is a video model. Please use WanDiffusion::runVideo().\n");
393 return false;
394}
395
396bool WanDiffusion::run(const VARP input_embeds, const std::string& mode, const std::string& inputImagePath,
397 const std::string& outputImagePath, int width, int height, int iterNum, int randomSeed,

Callers 9

mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
convertFunction · 0.45
convertFunction · 0.45
convert_oneFunction · 0.45
_run_singleMethod · 0.45
run_onceFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected