DiSMEC++
|
Public Member Functions | |
std::unique_ptr< WeightsInitializer > | make_initializer (const std::shared_ptr< const GenericFeatureMatrix > &features) const override |
Creats a new, thread local WeightsInitializer . More... | |
Public Member Functions inherited from dismec::init::WeightInitializationStrategy | |
virtual | ~WeightInitializationStrategy ()=default |
|
overridevirtual |
Creats a new, thread local WeightsInitializer
.
This function will be called from the thread in which the returned WeightsInitializer
will be used. It gets passed in a numa-local copy of the feature matrix.
features | Read-only reference to the numa-local feature matrix. |
WeightsInitializer
. Implements dismec::init::WeightInitializationStrategy.