a) Don’t do that. The torch.nn.functional interface is the supported way to use that.
b) Ones and columns are buffers (see aten/src/ATen/nn.yaml), likely for storing information for the backward, they are used to store the columns after im2col and have a buffer of ones to pass into multiplication functions at the right time.
Best regards
Thomas