vishred18's picture
Upload 364 files
d5ee97c
raw
history blame contribute delete
No virus
494 Bytes
#ifndef VOCODERTF_H
#define VOCODERTF_H
#include "TfliteBase.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;
};
#endif // VOCODERTF_H