Alexey_Demyanchuk:

[arg_name for arg_name in conv2d.__dict__ if not arg_name.startswith('_')]


If you need module arguments’ names and their respective values, it seams appropriate to me to use __dict__ as shown in my previous post (also filtering out privates starting with _)



thank you, I will try that!