protected Tensor doubleAsTensor(double value) {
        return Tensor.Builder.of(TensorType.empty).cell(TensorAddress.of(), value).build();
    }
A utility method for wrapping a double in a rank 0 tensor
searchlib/src/main/java/com/yahoo/searchlib/rankingexpression/evaluation/Value.java