@Override
    public boolean equals(Object o) {
        if ( ! (o instanceof BinarizeExpression other)) return false;
        return this.threshold == other.threshold;
    }
Creates a binarize expression.

@param threshold the value which the tensor cell value must be larger than to be set to 1 and not 0.
indexinglanguage/src/main/java/com/yahoo/vespa/indexinglanguage/expressions/BinarizeExpression.java