Missed TensorFlow World? Check out the recap. Learn more

tf.keras.layers.Multiply

TensorFlow 2.0 version View source on GitHub

Class Multiply

Layer that multiplies (element-wise) a list of inputs.

Aliases:

  • Class tf.compat.v1.keras.layers.Multiply
  • Class tf.compat.v2.keras.layers.Multiply

It takes as input a list of tensors, all of the same shape, and returns a single tensor (also of the same shape).

__init__

View source

__init__(**kwargs)