Skip to main content

Module neuron

Module neuron 

Source
Expand description

Type-erased versions of neuron traits.

Structs§

NeuronErasedWrapper
Wrapper that implements NeuronErased for any concrete Neuron

Traits§

NeuronErased
Type-erased neuron that can be stored in collections with other type-erased neurons

Functions§

erase_neuron
Convenience function to create a type-erased neuron from a correctly typed neuron
unerase_neuron
Convenience function to convert a type-erased neuron wrapper back to a correctly typed neuron This function works directly with the concrete wrapper type