feat: add configurable reference image processing for edit models (#1780)

This commit is contained in:
stduhpf authored and GitHub committed 2026-07-14 22:58:22 +08:00
1 parent b5d812008e
commit 74bce049d0
15 files changed
+551 -159

No files matched your search

-4
View File
@@ -18,10 +18,6 @@ namespace Rope {
DECREASE,
};
__STATIC_INLINE__ RefIndexMode ref_index_mode_from_bool(bool increase_ref_index) {
return increase_ref_index ? RefIndexMode::INCREASE : RefIndexMode::FIXED;
}
template <class T>
__STATIC_INLINE__ std::vector<T> linspace(T start, T end, int num) {
std::vector<T> result(num);