@Override
    public int hashCode() {
        return Objects.hash("constant", constant.hashCode());
    }
A function which returns a constant tensor.

@author bratseth
vespajlib/src/main/java/com/yahoo/tensor/functions/ConstantTensor.java