genann icon indicating copy to clipboard operation
genann copied to clipboard

Add ability to add activation derivatives with misc. changes

Open HumanBodyMacAndCheese opened this issue 2 months ago • 0 comments

  • Added fields to the "genann" struct to allow use of derivatives for the hidden and output layers
  • Included sigmoid derivative in genann.h
  • Allows for a custom malloc/free through macros
  • Avoids a possible segmentation fault through "genann_write" by checking if the FILE* passed is NULL or not

HumanBodyMacAndCheese avatar Nov 17 '25 00:11 HumanBodyMacAndCheese