[][src]Module radiate::models::neat::layers::layer

Traits

Layer

Layer is a layer in the neural network. In order for the network to be evolved, it must be able to be cloned which is where LayerClone comes in - allowing the Box to be cloned without knowing which type it really is under the hood. Any allows for the underlying object to be downcast to a concrete type

LayerClone

Turns out cloning a Box is harder than it seems. This isn't meant to be implemented outside of this file and is only used to clone the trait object