tf.layers.AddLayer module

tf.layers.AddLayer module

class tf.layers.AddLayer.AddLayer(*args: Any, **kwargs: Any)

Bases: modelzoo.common.tf.layers.BaseLayer.BaseLayer

Wrapper around the Keras layer. Adds a list of inputs.

call(inputs, **kwargs)

Apply the AddLayer to sum up a list of inputs.

Parameters

inputs – List of input tensors (at least 2).

Returns

A tensor containing the sum of inputs.

Return type

Tensor