[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gneuralnetwork] Patch: dynamically allocate training and output arr

From: Jean Michel Sellier
Subject: Re: [Gneuralnetwork] Patch: dynamically allocate training and output arrays
Date: Sat, 19 Mar 2016 21:44:03 +0100

John, this is great! Thanks for helping and for sharing your patches! I will include them in the next release for sure!


2016-03-19 21:40 GMT+01:00 John Salatas <address@hidden>:
Here is another easy to implement patch.

Instead of defining MAX_TRAINING_POINTS and MAX_NUM_POINTS for input and output arrays respectively, these arrays are now defined as pointers and are initialized in the parser (using malloc).

The same logic can be applied to the other constants defined  (MAX_IN,  MAX_NUM_NEURONS and MAX_NUM_LAYERS) but it isn't so straightforward to implement.

The patch includes also the patch I previously sent, which BTW was wrong :)

John Salatas
Web Page:


reply via email to

[Prev in Thread] Current Thread [Next in Thread]