diff options
author | Lester Solbakken <lesters@oath.com> | 2018-06-01 13:48:34 +0200 |
---|---|---|
committer | Lester Solbakken <lesters@oath.com> | 2018-06-01 13:48:34 +0200 |
commit | eaeadb2a2354ee1f24877deb9713dcce10c3a37a (patch) | |
tree | 649de32d6ed799bd060c7139d6d9998e23519473 /searchlib | |
parent | b10e7ef3eabff36c751b1518d895c0a7595f7630 (diff) |
Fix BatchNorm test case
Diffstat (limited to 'searchlib')
-rw-r--r-- | searchlib/src/main/java/com/yahoo/searchlib/rankingexpression/integration/ml/importer/operations/Argument.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/searchlib/src/main/java/com/yahoo/searchlib/rankingexpression/integration/ml/importer/operations/Argument.java b/searchlib/src/main/java/com/yahoo/searchlib/rankingexpression/integration/ml/importer/operations/Argument.java index ff0110a179c..8783152841d 100644 --- a/searchlib/src/main/java/com/yahoo/searchlib/rankingexpression/integration/ml/importer/operations/Argument.java +++ b/searchlib/src/main/java/com/yahoo/searchlib/rankingexpression/integration/ml/importer/operations/Argument.java @@ -15,10 +15,10 @@ public class Argument extends IntermediateOperation { private OrderedTensorType standardNamingType; // using standard naming convention: d0, d1, ... - public Argument(String name, OrderedTensorType argumentType) { + public Argument(String name, OrderedTensorType type) { super(name, Collections.emptyList()); - type = argumentType; - standardNamingType = OrderedTensorType.standardType(argumentType); + this.type = type.rename(vespaName() + "_"); + standardNamingType = OrderedTensorType.standardType(type); } @Override |