thanks for the reply. the MLP code works independently but not inside another module. I’ll check what is wrong.
in any case without “model.eval()” it works fine. This is strange.
where do I find an example or documentation of nn.ModuleList?
thank you!