32 public jevois::Parameter<network::intensors, network::outtensors, network::dataroot,
33 network::model, network::tpunum, network::dequant>
37 using jevois::dnn::Network::Network;
43 void freeze(
bool doit)
override;
46 virtual std::vector<vsi_nn_tensor_attr_t>
inputShapes()
override;
49 virtual std::vector<vsi_nn_tensor_attr_t>
outputShapes()
override;
56 std::vector<cv::Mat>
doprocess(std::vector<cv::Mat>
const & blobs,
57 std::vector<std::string> & info)
override;
60 std::unique_ptr<tflite::Interpreter> itsInterpreter;
61 std::unique_ptr<tflite::FlatBufferModel> itsModel;
63 struct ErrorReporter :
public tflite::ErrorReporter
65 int Report(
char const * format, va_list args)
override;
66 std::vector<std::string> itsErrors;
69 ErrorReporter itsErrorReporter;