Skip to content

Commit

Permalink
Tensorflow Lite
Browse files Browse the repository at this point in the history
  • Loading branch information
pschatzmann committed Apr 5, 2022
1 parent 50eea00 commit 51c8013
Show file tree
Hide file tree
Showing 2 changed files with 177 additions and 183 deletions.
4 changes: 2 additions & 2 deletions examples/sandbox/streams-audiokit-tf/streams-audiokit-tf.ino
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ void setup() {

// Setup tensorflow
auto tcfg = tfl.defaultConfig();
tcfg.kAudioChannels = channels;
tcfg.kAudioSampleFrequency = samples_per_second;
tcfg.channels = channels;
tcfg.sample_rate = samples_per_second;
tcfg.kTensorArenaSize = 10 * 1024;
tcfg.respondToCommand = respondToCommand;
tcfg.model = g_model;
Expand Down
Loading

0 comments on commit 51c8013

Please sign in to comment.