|
@@ -244,3 +244,20 @@ func (rw *RemoteControl) RunServices() {
|
|
fmt.Printf("Failed to serve: %v\n", err)
|
|
fmt.Printf("Failed to serve: %v\n", err)
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+func (rw *RemoteControl) GetSubscriptionFeatures() (feature neuralnetwork.SubscriptionFeatures) {
|
|
|
|
+ feature.Clear()
|
|
|
|
+ feature.Set(neuralnetwork.ActivationsSubscription)
|
|
|
|
+ feature.Set(neuralnetwork.BiasesSubscription)
|
|
|
|
+ feature.Set(neuralnetwork.WeightsSubscription)
|
|
|
|
+ feature.Set(neuralnetwork.StateSubscription)
|
|
|
|
+ return
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+func (rw *RemoteControl) UpdateTraining(t int, epocs int, samplesProcced int, totalSamplesCount int) {
|
|
|
|
+ log.Fatal("UpdateTraining training is not implemented but called")
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+func (rw *RemoteControl) UpdateValidation(validatorCount int, failCount int) {
|
|
|
|
+ log.Fatal("UpdateValidation training is not implemented but called")
|
|
|
|
+}
|