This predicate is not always true if output_weights is None or uniform.