deephyper.keras.layers.GlobalSumPool#

class deephyper.keras.layers.GlobalSumPool(*args: Any, **kwargs: Any)[source]#

Bases: tensorflow.keras.layers.

Global Summation Pool.

Takes the summation over all the nodes or features. Details can be seen from https://github.com/danielegrattarola/spektral

Parameters

axis (int) – the axis to take summation.

Methods

call

Apply the layer on input tensors.

__call__(*args: Any, **kwargs: Any)Any#

Call self as a function.

call(inputs, **kwargs)[source]#

Apply the layer on input tensors.

Parameters

inputs (tensor) – the node feature tensor

Returns

GlobalSumPool tensor (tensor)