Thank you for your answer.
I have converted my list into tf.Variable and then I changed my list values within a loop, but I got the following error:
“TypeError: ‘ResourceVariable’ object does not support item assignment”
Any idea ?