voice_audio_multi/include/engine/models/silero_vad/assets.h
Fabio c36510c21e
Some checks failed
Linux Build / Linux cpu (push) Has been cancelled
Linux Build / Linux cpu-clang (push) Has been cancelled
Linux Build / Linux vulkan (push) Has been cancelled
mac-build / macOS CPU (push) Has been cancelled
Nix Build / Nix (cpu) (push) Has been cancelled
Nix Build / Nix (vulkan) (push) Has been cancelled
windows-build / Windows CPU (push) Has been cancelled
Initial import: audio.cpp with Orange Pi documentation
2026-11-04 19:05:22 +01:00

25 lines
596 B
C++

#pragma once
#include <cstdint>
#include <filesystem>
#include <memory>
namespace engine::assets {
class TensorSource;
}
namespace engine::models::silero_vad {
struct SileroWeights {
std::shared_ptr<const assets::TensorSource> source;
};
struct SileroAssetPaths {
std::filesystem::path model_root;
std::filesystem::path checkpoint_path;
};
SileroAssetPaths resolve_silero_assets(const std::filesystem::path & model_path);
std::shared_ptr<const SileroWeights> load_silero_weights_cached(const std::filesystem::path & checkpoint_path);
} // namespace engine::models::silero_vad