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 at 14:10
  • $\begingroup$ Likely just a documentation error, but not a bad one since it is just an unnecessary addition. $\endgroup$ – user6014 Apr 24 at 14:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.