If output_weights is equal to `'ones'`, ...