In documentation of ConstantPlusLayer we find

net = NetChain[{ ElementwiseLayer[Sin], 
   ConstantPlusLayer["Biases" -> {1, 3, 5}]}]
Plot[net[{x, x, x}] // Normal, {x, -10, 10}]

What is the point of using Normal? The plot works perfectly without it

  • $\begingroup$ as an aside, "ConstantPlusLayer" is apparently not recognized by the stackexchange parser $\endgroup$
    – magma
    Apr 24, 2019 at 14:10
  • $\begingroup$ Likely just a documentation error, but not a bad one since it is just an unnecessary addition. $\endgroup$
    – ktm
    Apr 24, 2019 at 14:21


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.