deephyper.keras.layers.GlobalMaxPool#

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

Bases: tensorflow.keras.layers.

Global Max Pool.

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

Parameters

axis (int) – the axis to take the max value.

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

GlobalMaxPool tensor (tensor)