TensorFlow

API

 tf.compat / v1 / v1.nn.weighted_moments


Computes matmul(x, weights) + biases.

x a 2D tensor. Dimensions typically: batch, in_units
weights a 2D tensor. Dimensions typically: in_units, out_units
biases a 1D tensor. Dimensions: out_units
name A 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.

此页内容是否对您有帮助