Missed TensorFlow World? Check out the recap. Learn more

tf.keras.layers.multiply

TensorFlow 2 version View source on GitHub

Functional interface to the Multiply layer.

Aliases:

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.