def _bias_scale(x, b, data_format):
if data_format == '<STR_LIT>':<EOL><INDENT>return x * b<EOL><DEDENT>elif data_format == '<STR_LIT>':<EOL><INDENT>return x * _to_channel_first_bias(b)<EOL><DEDENT>else:<EOL><INDENT>raise ValueError('<STR_LIT>' % data_format)<EOL><DEDENT>
The multiplication counter part of tf.nn.bias_add.