Learn R Programming

keras (version 2.7.0)

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

Description

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

Usage

layer_multiply(inputs, ...)

Arguments

inputs

A list of input tensors (at least 2). Can be missing.

...

Standard layer arguments (must be named).

Value

A tensor, the element-wise product of the inputs. If inputs is missing, a keras layer instance is returned.

See Also

Other merge layers: layer_average(), layer_concatenate(), layer_dot(), layer_maximum(), layer_minimum(), layer_subtract()