tf.keras.backend.bias_add
Stay organized with collections
Save and categorize content based on your preferences.
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".
|
Raises |
ValueError
|
In one of the two cases below:
- invalid
data_format argument.
- invalid bias shape.
the bias should be either a vector or
a tensor with ndim(x) - 1 dimension
|
[null,null,["Last updated 2020-10-01 UTC."],[],[]]