add NoopProfiler(int) constructor
This commit is contained in:
parent
d300f261d6
commit
c95e753cda
@ -27,6 +27,7 @@ namespace profiling {
|
|||||||
class NoopProfiler : public tflite::Profiler {
|
class NoopProfiler : public tflite::Profiler {
|
||||||
public:
|
public:
|
||||||
NoopProfiler() {}
|
NoopProfiler() {}
|
||||||
|
NoopProfiler(int max_profiling_buffer_entries) {}
|
||||||
|
|
||||||
uint32_t BeginEvent(const char*, EventType, uint32_t) override { return 0; }
|
uint32_t BeginEvent(const char*, EventType, uint32_t) override { return 0; }
|
||||||
void EndEvent(uint32_t) override {}
|
void EndEvent(uint32_t) override {}
|
||||||
|
Loading…
Reference in New Issue
Block a user