Parameter Management

http://d2l.ai/chapter_deep-learning-computation/parameters.html

Hi, I am confused about the code snippet below:

print(rgnet.collect_params)
print(rgnet.collect_params())

So what indeed collect_params is? Method or attribute? Google says when a method has a same name with a attribute, the method will be covered. Could anyone answer this, plz