TensorFlow 1 version | View source on GitHub |
Adds a bias vector to a tensor.
tf.keras.backend.bias_add(
x, bias, data_format=None
)
Arguments | |
---|---|
x
|
Tensor or variable. |
bias
|
Bias tensor to add. |
data_format
|
string, "channels_last" or "channels_first" .
|
Returns | |
---|---|
Output tensor. |
Raises | |
---|---|
ValueError
|
In one of the two cases below:
|