How to get parameters in Tensorflow like Pytorch?

Hi everyone,
I want to ask a question. In Pytorch, when I want to get data of a Conv2d layer, I just need to:
for p in conv1.parameters():…

But how can I do the same in Tensorflow?
Thank you.

I would recommend to ask Tensorflow questions in their discussion group or StackOverflow, as you would most likely find more TF experts there. :wink: