function biasAdd(x, bias, dataFormat) {
	  return tidy(function () {
	    if (dataFormat == null) {
	      dataFormat = imageDataFormat();
	    }

	    checkDataFormat(dataFormat);
	    return x.add(reshapeBias(x.rank, bias, dataFormat));
	  });
	}
Add a bias to a tensor.

@param x The tensor to add the bias to.
@param bias The bias to add to `x`. Must be 1D or the same rank as `x`.
@return Result of the bias adding.
@throws ValueError: If the rank of `bias` is incorrect.