mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-07-12 16:32:09 +08:00
1abc7d7daa
date: 2023-07-26T22:20:36 commit: c6d842c412052be1985b63d683c63be9dcb2b0eb
16 lines
424 B
C++
16 lines
424 B
C++
#pragma once
|
|
|
|
#include "selfdrive/modeld/runners/runmodel.h"
|
|
#include "selfdrive/modeld/thneed/thneed.h"
|
|
|
|
class ThneedModel : public RunModel {
|
|
public:
|
|
ThneedModel(const std::string path, float *_output, size_t _output_size, int runtime, bool use_tf8 = false, cl_context context = NULL);
|
|
void *getCLBuffer(const std::string name);
|
|
void execute();
|
|
private:
|
|
Thneed *thneed = NULL;
|
|
bool recorded;
|
|
float *output;
|
|
};
|