ed.dot
ed.util.dot
dot(
x,
y
)
Defined in edward/util/tensorflow.py
.
Compute dot product between a 2-D tensor and a 1-D tensor.
If x is a [M x N]
matrix, then y is a M
-vector.
If x is a M
-vector, then y is a [M x N]
matrix.
x
: tf.Tensor. A 1-D or 2-D tensor (see above).y
: tf.Tensor. A 1-D or 2-D tensor (see above).tf.Tensor. A 1-D tensor of length N
.
InvalidArgumentError. If the inputs have Inf or NaN values.