tf.AddLayer module

tf.AddLayer module

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

Bases: modelzoo.common.layers.tf.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