@Override
    public TensorType type(TypeContext<Reference> context) {
        return function.type(context);
    }
Returns the tensor function wrapped by this
searchlib/src/main/java/com/yahoo/searchlib/rankingexpression/rule/TensorFunctionNode.java