tf.keras.layers.dot

Functional interface to the Dot layer.

inputsA list of input tensors (at least 2).
axesInteger or tuple of integers, axis or axes along which to take the dot product.
normalizeWhether to L2-normalize samples along the dot product axis before taking the dot product. If set to True, then the output of the dot product is the cosine proximity between the two samples.
**kwargsStandard layer keyword arguments.

A tensor, the dot product of the samples from the inputs.