summaryrefslogtreecommitdiffstats
path: root/vespajlib/src/main/java/com/yahoo/tensor/functions/Softmax.java
diff options
context:
space:
mode:
Diffstat (limited to 'vespajlib/src/main/java/com/yahoo/tensor/functions/Softmax.java')
-rw-r--r--vespajlib/src/main/java/com/yahoo/tensor/functions/Softmax.java6
1 files changed, 0 insertions, 6 deletions
diff --git a/vespajlib/src/main/java/com/yahoo/tensor/functions/Softmax.java b/vespajlib/src/main/java/com/yahoo/tensor/functions/Softmax.java
index c856b548180..bf279eb24d8 100644
--- a/vespajlib/src/main/java/com/yahoo/tensor/functions/Softmax.java
+++ b/vespajlib/src/main/java/com/yahoo/tensor/functions/Softmax.java
@@ -2,8 +2,6 @@
package com.yahoo.tensor.functions;
import com.google.common.annotations.Beta;
-import com.google.common.collect.ImmutableList;
-import com.yahoo.tensor.TensorType;
import java.util.Collections;
import java.util.List;
@@ -21,10 +19,6 @@ public class Softmax extends CompositeTensorFunction {
this.argument = argument;
this.dimension = dimension;
}
-
- public static TensorType outputType(TensorType inputType, String dimension) {
- return Reduce.outputType(inputType, ImmutableList.of(dimension));
- }
@Override
public List<TensorFunction> functionArguments() { return Collections.singletonList(argument); }