Layers should know what type they are and avoid doing things they are not allowed to do. A layer type enum should be created, used during construction in the NetworkDescriptor, and logic added to adhere to specific layer functionality (input, output, hidden).
Layers should know what type they are and avoid doing things they are not allowed to do. A layer type enum should be created, used during construction in the NetworkDescriptor, and logic added to adhere to specific layer functionality (input, output, hidden).