In order to compile under apple clang 12, I had to make a couple of tweaks to the code. Note that I didn't have time to get to the bottom of why the NeuralNetwork py::class won't compile. It complains that the various functions, initialize, and so on can't be matched. Accordingly I commented it out for the purposes of getting everything else compiling and running.
The remainder of the diffs allow the library to built, and it runs properly, without the NeuralNetwork pybinding, of course.
In order to compile under apple clang 12, I had to make a couple of tweaks to the code. Note that I didn't have time to get to the bottom of why the NeuralNetwork py::class won't compile. It complains that the various functions, initialize, and so on can't be matched. Accordingly I commented it out for the purposes of getting everything else compiling and running.
The remainder of the diffs allow the library to built, and it runs properly, without the NeuralNetwork pybinding, of course.