tfrs.layers.blocks.MLP

Sequential multi-layer perceptron (MLP) block.

units Sequential list of layer sizes.
use_bias Whether to include a bias term.
activation Type of activation to use on all except the last layer.
final_activation Type of activation to use on last layer.
**kwargs Extra args passed to the Keras Layer base class.

Methods

call

View source

Performs the forward computation of the block.