BUG: use template output type when fetching label values in NeuralNetworkMachineLearningModel

18 jobs for !816 with fix_ann_classifier in 61 minutes (queued for 9 seconds)
latest merge request