Why does an array become a listwrapper when I read yaml in a custom model

I’m trying to use tensorflow to copy Yolo. When load yaml, I find that if I’m in a custom layer load yaml in the layers.model, and the array inside will become listripper. What causes this problem? I have tried to slowly enter the source code of yaml to query the cause of this problem, but I failed to find it as I wished. Is there anyone who has encountered similar problems who can help me?

I just found that if you use to re store arrays into self, these arrays will automatically become listripper. What is the reason for this? What should I do if I don’t want the array to become a listripper? And what exactly is listripper?