mirror of
https://github.com/leejet/stable-diffusion.cpp.git
synced 2026-05-08 08:18:51 +00:00
14 lines
387 B
C++
14 lines
387 B
C++
#ifndef __SD_MODEL_IO_TORCH_LEGACY_IO_H__
|
|
#define __SD_MODEL_IO_TORCH_LEGACY_IO_H__
|
|
|
|
#include <string>
|
|
#include <vector>
|
|
|
|
#include "tensor_storage.h"
|
|
|
|
bool read_torch_legacy_file(const std::string& file_path,
|
|
std::vector<TensorStorage>& tensor_storages,
|
|
std::string* error = nullptr);
|
|
|
|
#endif // __SD_MODEL_IO_TORCH_LEGACY_IO_H__
|