MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / average

Function average

tensorflow/python/keras/layers/merge.py:634–644  ·  view source on GitHub ↗

Functional interface to the `Average` layer. Arguments: inputs: A list of input tensors (at least 2). **kwargs: Standard layer keyword arguments. Returns: A tensor, the average of the inputs.

(inputs, **kwargs)

Source from the content-addressed store, hash-verified

632
633@keras_export('keras.layers.average')
634def average(inputs, **kwargs):
635 """Functional interface to the `Average` layer.
636
637 Arguments:
638 inputs: A list of input tensors (at least 2).
639 **kwargs: Standard layer keyword arguments.
640
641 Returns:
642 A tensor, the average of the inputs.
643 """
644 return Average(**kwargs)(inputs)
645
646
647@keras_export('keras.layers.maximum')

Callers

nothing calls this directly

Calls 1

AverageClass · 0.85

Tested by

no test coverage detected