MCPcopy Create free account
hub / github.com/tensorflow/tfjs / toArray

Method toArray

tfjs-data/src/iterators/microphone_iterator.ts:211–213  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

209
210 // Override toArray() function to prevent collecting.
211 override toArray(): Promise<Tensor[]> {
212 throw new Error('Can not convert infinite audio stream to array.');
213 }
214
215 // Return audio sampling rate in Hz
216 getSampleRate(): number {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected