Thank you @ptrblck, but I can only do that when I know the name of the first layer. How can I access it if I don’t know the name?
For example: I want to create a function that takes a model as parameter and returns the first layer of this model…