mirror of
https://github.com/MoreTore/openpilot.git
synced 2026-08-03 08:41:47 +08:00
3484683199
* start thneed load/save
* compiling
* fix loading
* build thneed model in scons
* don't hardcode /data/openpilot
* release files
* those too
* support for loading/saving binary kernels
* save binaries out of json band
* make binary a command line flag to the compiler
* need include assert
* fix shadowed common in SConscript
* cleanup run.h
* hmm, the recurrent buffer wasn't 0ed
* ugh, unique ptr
* remove power constraint, refactor record
* Revert "remove power constraint, refactor record"
This reverts commit bb6fa52db6df59cd9d6420a6f630430e35af8a5e.
* print on thneed stop
* fingers crossed for this one
* recorded
* just curious
* okay okay, pass tests?
* cleanups
* refactor wait
Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 59fac9fdc6
17 lines
316 B
C
17 lines
316 B
C
#pragma once
|
|
|
|
#include "runmodel.h"
|
|
#include "snpemodel.h"
|
|
|
|
#if defined(QCOM) || defined(QCOM2)
|
|
#include "thneedmodel.h"
|
|
#define DefaultRunModel SNPEModel
|
|
#else
|
|
#ifdef USE_ONNX_MODEL
|
|
#include "onnxmodel.h"
|
|
#define DefaultRunModel ONNXModel
|
|
#else
|
|
#define DefaultRunModel SNPEModel
|
|
#endif
|
|
#endif
|