when u have a python dictionary you acess to each element by doing dict[key]
it’s an string or integer.
models are stored in ordered dictionaries whose keys are the names of each parameter
if you do statedict[model.submodel.weight] it will return the tensor value