Lines Matching refs:std
39 std::vector<InferenceOutput> outputs;
40 std::function<bool(uint8_t*, size_t)> createInput;
44 using InferenceInOutSequence = std::vector<InferenceInOut>;
50 std::vector<float> meanSquareErrors;
52 std::vector<float> maxSingleErrors;
54 std::vector<std::vector<uint8_t>> inferenceOutputs;
60 std::vector<float> compileWithoutCacheTimeSec;
62 std::optional<std::vector<float>> saveToCacheTimeSec;
63 std::optional<std::vector<float>> prepareFromCacheTimeSec;
91 bool resizeInputTensors(std::vector<int> shape);
97 bool benchmark(const std::vector<InferenceInOutSequence>& inOutData,
99 std::vector<InferenceResult>* result);
105 const std::vector<InferenceInOutSequence>& inOutData);
123 float timeout, std::vector<float>* results);
126 float runTimeout, std::vector<float>* results);
129 std::string mModelBuffer;
130 std::unique_ptr<tflite::FlatBufferModel> mTfliteModel;
131 std::unique_ptr<tflite::Interpreter> mTfliteInterpreter;
132 std::unique_ptr<tflite::StatefulNnApiDelegate> mTfliteNnapiDelegate;
134 std::vector<int> outputs;
137 std::string mModelFile;
139 std::optional<std::string> mCacheDir;
140 std::string mNnApiDeviceName;