tf.nn.xw_plus_b
tf.nn.xw_plus_b(
x,
weights,
biases,
name=None
)
Defined intensorflow/python/ops/nn_ops.py
.
Computes matmul(x, weights) + biases.
Args:
x
: a 2D tensor. Dimensions typically: batch, in_unitsweights
: a 2D tensor. Dimensions typically: in_units, out_unitsbiases
: a 1D tensor. Dimensions: out_unitsname
: A name for the operation (optional). If not specified "xw_plus_b" is used.
Returns:
A 2-D Tensor computing matmul(x, weights) + biases. Dimensions typically: batch, out_units.
Reference
[0] https://www.tensorflow.org/api_docs/python/tf/nn/xw_plus_b