#include <tfmodel.h>
Inheritance diagram for TfModel:Public Types | |
| enum class | Optimization { DEFAULT , EDGETPU } |
Public Member Functions | |
| TfModel ()=delete | |
| TfModel (std::initializer_list< std::pair< const char *, Optimization > >, size_t=default_threading) | |
| TfModel (const char *def, const char *edge, size_t th=default_threading) | |
| TfModel (const char *m, size_t t=default_threading) | |
| TfModel (const TfModel &)=delete | |
| operator bool () const | |
| bool | isValid () const |
| bool | isValidBuffer () const |
Static Public Attributes | |
| static size_t | default_threading {std::thread::hardware_concurrency() / 2} |
Protected Attributes | |
| std::unique_ptr< tflite::FlatBufferModel > | map |
| std::unique_ptr< tflite::Interpreter > | model |
| std::shared_ptr< edgetpu::EdgeTpuContext > | edgetpu_context |
| tflite::ops::builtin::BuiltinOpResolver | resolver |
| cv::Mat | input_tensor |
| cv::Size | input_size |
Provides a base for all TensorFlow[Lite] based processing pipelines
|
strong |
|
delete |
| TfModel::TfModel | ( | std::initializer_list< std::pair< const char *, Optimization > > | models, |
| size_t | th = default_threading |
||
| ) |
Definition at line 39 of file tfmodel.cpp.
|
inline |
|
inline |
|
delete |
|
inlinestatic |
|
protected |
|
protected |
|
protected |
|
protected |