#ifndef MELGENERATETF_H #define MELGENERATETF_H #include "TfliteBase.h" class MelGenerateTF : public TfliteBase { public: MelGenerateTF(const char* modelFilename):TfliteBase(modelFilename), inputIndexs(interpreter->inputs()), ouptIndex(interpreter->outputs()[1]) {}; MelGenData infer(const std::vector inputIds); private: std::vector _speakerId{0}; std::vector _speedRatio{1.0}; std::vector _f0Ratio{1.0}; std::vector _enegyRatio{1.0}; const std::vector inputIndexs; const int32_t ouptIndex; }; #endif // MELGENERATETF_H