refactor: reuse DiT's patchify/unpatchify functions (#1304)

This commit is contained in:
leejet
2026-03-01 21:44:51 +08:00
committed by GitHub
parent cec4aedcfd
commit e64baa3611
12 changed files with 150 additions and 361 deletions

View File

@@ -1,8 +1,7 @@
#ifndef __UNET_HPP__
#define __UNET_HPP__
#include "common.hpp"
#include "ggml_extend.hpp"
#include "common_block.hpp"
#include "model.h"
/*==================================================== UnetModel =====================================================*/