aboutsummaryrefslogtreecommitdiffstats
path: root/config-model/src/main/java/com/yahoo/vespa/model/ml
diff options
context:
space:
mode:
authorArne Juul <arnej@verizonmedia.com>2021-04-23 08:20:43 +0000
committerArne Juul <arnej@verizonmedia.com>2021-04-23 08:21:53 +0000
commit0f20f60145524b13b11453fa0c92f33be0732707 (patch)
tree298b9810e6ea38f8cbc36c151cc201452a675d1b /config-model/src/main/java/com/yahoo/vespa/model/ml
parent76cb5d5cd62b7e5dbe2b515770c405b863d2ab91 (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.java4
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) {