title: pytorch - Where is “conv1d” implemented?
body: <p>I wanted to see how the conv1d module is implemented
  <a href="https://pytorch.org/docs/stable/_modules/torch/nn/modules/conv.html#Conv1d" rel="noreferrer">https://pytorch.org/docs/stable/_modules/torch/nn/modules/conv.html#Conv1d</a>. So I looked at functional.py but still couldn’t find the looping and cross-correlation computation.</p>
  
  <p>Then I searched Github by keyword ‘conv1d’, checked conv.cpp <a href="https://github.com/pytorch/pytorch/blob/eb5d28ecefb9d78d4fff5fac099e70e5eb3fbe2e/torch/csrc/api/src/nn/modules/conv.cpp" rel="noreferrer">https://github.com/pytorch/pytorch/blob/eb5d28ecefb9d78d4fff5fac099e70e5eb3fbe2e/torch/csrc/api/src/nn/modules/conv.cpp</a> 1 but still couldn’t locate where the computation is happening.</p>
  
  <p>My question is two-fold.</p>
  
  <ol>
  <li><p>Where is the source code that "conv1d” is implemented?</p></li>
  <li><p>In general, if I want to check how the modules are implemented, where is the best place to find? Any pointer to the documentation will be appreciated. Thank you.</p></li>
  </ol>