Next gpu compiler error fix for EuclideanMaskedLossLayer