Would like to know or find any function to retrieve the attributes such as stride, padding, dilation, groups, benchmark kind of values for each of the layer like convolution layer. Trying to kind of parse the model in pytorch. I could successfully read the values of weights, bais from each layer using function p = Model.parameters(), then using p.data_ptr().

p.data_ptr()