Adding sampling

This commit is contained in:
Jean-Marc Valin 2018-11-26 11:04:41 -05:00
parent 91c9524af3
commit 575d8d6fa4
3 changed files with 38 additions and 5 deletions

View file

@ -89,5 +89,6 @@ void compute_conv1d(const Conv1DLayer *layer, float *output, float *mem, const f
void compute_embedding(const EmbeddingLayer *layer, float *output, int input);
int sample_from_pdf(const float *pdf, int N, float exp_boost, float pdf_floor);
#endif /* _MLP_H_ */