MCPcopy Create free account
hub / github.com/0xShug0/audio.cpp / build_session_options

Function build_session_options

tests/perf/model_perf.cpp:297–308  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

295}
296
297engine::runtime::SessionOptions build_session_options(
298 const JsonValue & case_value,
299 engine::core::BackendType backend_type,
300 int device,
301 int threads) {
302 engine::runtime::SessionOptions options;
303 options.backend.type = backend_type;
304 options.backend.device = device;
305 options.backend.threads = threads;
306 options.options = json_string_map(case_value.find("session_options"));
307 return options;
308}
309
310engine::runtime::TaskSpec build_task_spec(const JsonValue & case_value) {
311 return engine::runtime::TaskSpec{

Callers 1

mainFunction · 0.85

Calls 2

json_string_mapFunction · 0.85
findMethod · 0.45

Tested by

no test coverage detected