LambdaNet
LambdaNet copied to clipboard
Is this warning expected?
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 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:
** 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
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
I'm looking into it right now, hoping to have a fix by the end of the weekend.