diff options
author | Arne Juul <arnej@verizonmedia.com> | 2021-04-23 08:20:43 +0000 |
---|---|---|
committer | Arne Juul <arnej@verizonmedia.com> | 2021-04-23 08:21:53 +0000 |
commit | 0f20f60145524b13b11453fa0c92f33be0732707 (patch) | |
tree | 298b9810e6ea38f8cbc36c151cc201452a675d1b /config-model/src/main/java/com/yahoo/vespa/model/ml | |
parent | 76cb5d5cd62b7e5dbe2b515770c405b863d2ab91 (diff) |
rename inputParameter -> inputFeature
Diffstat (limited to 'config-model/src/main/java/com/yahoo/vespa/model/ml')
-rw-r--r-- | config-model/src/main/java/com/yahoo/vespa/model/ml/ConvertedModel.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config-model/src/main/java/com/yahoo/vespa/model/ml/ConvertedModel.java b/config-model/src/main/java/com/yahoo/vespa/model/ml/ConvertedModel.java index 01da57fc9bb..9086ca9f40e 100644 --- a/config-model/src/main/java/com/yahoo/vespa/model/ml/ConvertedModel.java +++ b/config-model/src/main/java/com/yahoo/vespa/model/ml/ConvertedModel.java @@ -211,7 +211,7 @@ public class ConvertedModel { for (ImportedMlFunction outputFunction : model.outputExpressions()) { ExpressionFunction expression = asExpressionFunction(outputFunction); for (Map.Entry<String, TensorType> input : expression.argumentTypes().entrySet()) { - profile.addInputParameter(input.getKey(), input.getValue()); + profile.addInputFeature(input.getKey(), input.getValue()); } addExpression(expression, expression.getName(), constantsReplacedByFunctions, @@ -284,7 +284,7 @@ public class ConvertedModel { String name = output.getFirst(); ExpressionFunction expression = output.getSecond(); for (Map.Entry<String, TensorType> input : expression.argumentTypes().entrySet()) { - profile.addInputParameter(input.getKey(), input.getValue()); + profile.addInputFeature(input.getKey(), input.getValue()); } TensorType type = expression.getBody().type(profile.typeContext()); if (type != null) { |