OK, only the affine part is applied here, not the whole `encode`/`decode`.
I'll open a ticket for later, to add methods to autoencoder giving access to that part, like we do for mlp.Layer.