Matthijs Hollemans

Results 233 comments of Matthijs Hollemans

Appending an element to a Swift array is also O(1) amortized, which is not the same as O(1). Just to make it clear: this Queue implementation does not mean to...

The advantage of using an array as the backing store for the queue is that this is a contiguous area of memory. That means it's really easy to iterate through...

I don't think that appending / removing nodes uses any kind of lock, plus there is no guarantee that a Swift array will be stored on the stack. (Allocating new...

It's not enough to convert the audio to floats, you need to extract things like the mean frequency from this data. The blog post links to source code that does...

Sounds like you didn't set up the header search paths in the project settings (or did so incorrectly), so Xcode cannot find the TensorFlow header files.

My article was written before TF-Lite existed, so it's possible the instructions are not 100% correct for this new version of TensorFlow.

You cannot directly use C++ code from Swift. You need to wrap it in Obj-C or C code first.

It uninstalls the previous version of TensorFlow first, and then installs the one you compiled by hand. If you don't uninstall the previous version you may get error messages or...

Time to buy a new iPhone / iPad. ;-) You need at least an iPhone 6 or better.