tf.compat.v1.nn.xw_plus_b

Computes matmul(x, weights) + biases.

xa 2D tensor. Dimensions typically: batch, in_units
weightsa 2D tensor. Dimensions typically: in_units, out_units
biasesa 1D tensor. Dimensions: out_units
nameA name for the operation (optional). If not specified "xw_plus_b" is used.

A 2-D Tensor computing matmul(x, weights) + biases. Dimensions typically: batch, out_units.