We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 50eea00 commit 51c8013Copy full SHA for 51c8013
examples/sandbox/streams-audiokit-tf/streams-audiokit-tf.ino
@@ -43,8 +43,8 @@ void setup() {
43
44
// Setup tensorflow
45
auto tcfg = tfl.defaultConfig();
46
- tcfg.kAudioChannels = channels;
47
- tcfg.kAudioSampleFrequency = samples_per_second;
+ tcfg.channels = channels;
+ tcfg.sample_rate = samples_per_second;
48
tcfg.kTensorArenaSize = 10 * 1024;
49
tcfg.respondToCommand = respondToCommand;
50
tcfg.model = g_model;
0 commit comments