Comparative-Analysis-of-Speech-Synthesis-Models
/
TensorFlowTTS
/examples
/cpptflite
/src
/VocoderTF.h
| class VocoderTF : public TfliteBase | |
| { | |
| public: | |
| VocoderTF(const char* modelFilename):TfliteBase(modelFilename), | |
| inputIndex(interpreter->inputs()[0]), | |
| outputIndex(interpreter->outputs()[0]) {}; | |
| std::vector<float> infer(const MelGenData mel); | |
| private: | |
| const int32_t inputIndex; | |
| const int32_t outputIndex; | |
| }; | |