LambdaNet icon indicating copy to clipboard operation
LambdaNet copied to clipboard

Is this warning expected?

Open diegueins680 opened this issue 8 years ago • 2 comments

When running the XOR.hs example, I get the following warning: AI/Layer.hs:49:59: Warning: Fields of Layer' not initialised: neuron In the first argument ofreturn', namely `Layer {..}' In a stmt of a 'do' block: return (Layer {..}) In the expression: do { weightMatrix <- get; biasVector <- get; return (Layer {..}) } ==> XOR predictions: ** On entry to DGEMM parameter number 13 had an illegal value ** On entry to DGEMM parameter number 13 had an illegal value ** On entry to DGEMM parameter number 13 had an illegal value ** On entry to DGEMM parameter number 13 had an illegal value ** On entry to DGEMM parameter number 13 had an illegal value XOR.hs: different dimensions 1 and 2 in dot product

diegueins680 avatar Mar 21 '16 14:03 diegueins680

Hi, I confirm the same issue here:

AI/Layer.hs:49:59:` Warning:
    Fields of ‘Layer’ not initialised: neuron
    In the first argument of ‘return’, namely ‘Layer {..}’
    In a stmt of a 'do' block: return (Layer {..})
    In the expression:
      do { weightMatrix <- get;
           biasVector <- get;
           return (Layer {..}) }
==> XOR predictions:
XOR.hs: different dimensions 1 and 2 in dot product

mezzomondo avatar Mar 23 '16 09:03 mezzomondo

I'm looking into it right now, hoping to have a fix by the end of the weekend.

jbarrow avatar Mar 25 '16 18:03 jbarrow