tf.keras.layers.multiply

TensorFlow 1 version View source on GitHub

Functional interface to the Multiply layer.

tf.keras.layers.multiply(
    inputs,
    **kwargs
)

Arguments:

  • inputs: A list of input tensors (at least 2).
  • **kwargs: Standard layer keyword arguments.

Returns:

A tensor, the element-wise product of the inputs.

Compat aliases