Initialization of register_buffer for loading model

Oh, ok
This is exactly what I needed !
Thank you :slight_smile:

(Yes I did a typo in the minimal working example)