mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-02-23 21:53:51 +08:00
* completely untested * it builds now * bug fixes, save 1ms * using a kernel to copy works * more sane API to loadyuv Co-authored-by: Comma Device <device@comma.ai>
11 lines
342 B
C++
11 lines
342 B
C++
#pragma once
|
|
class RunModel {
|
|
public:
|
|
virtual void addRecurrent(float *state, int state_size) {}
|
|
virtual void addDesire(float *state, int state_size) {}
|
|
virtual void addTrafficConvention(float *state, int state_size) {}
|
|
virtual void execute(float *net_input_buf, int buf_size) {}
|
|
virtual void* getInputBuf() { return nullptr; }
|
|
};
|
|
|