29 int array_size =
sizeof(kParamsTrainingFeatureTypeName) /
30 sizeof(kParamsTrainingFeatureTypeName[0]);
31 for (
int i = 0; i < array_size; i++) {
32 if (kParamsTrainingFeatureTypeName[i] ==
nullptr)
34 if (strcmp(name, kParamsTrainingFeatureTypeName[i]) == 0)