Learn R Programming

keras (version 2.13.0)

layer_add: Layer that adds 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_add(inputs, ...)

Value

A tensor, the sum of the inputs. If inputs is missing, a keras layer instance is returned.

Arguments

inputs

A input tensor, or list of input tensors. Can be missing.

...

Unnamed args are treated as additional inputs. Named arguments are passed on as standard layer arguments.

See Also