Skip to main content

Python class

Layer

Layer

class max.nn.Layer

source

Bases: object

Base class for neural network components. Use Module instead.

Provides functionality for adding hooks to the call function of each layer to support testing, debugging or profiling.