This question is about the source code of pytorch

Today I want to complete another conv compution by myself,so I refer to the source code of pytorch, But I have a question that I can not find some package .
For example:from torch._C import _infer_size, _add_docstr
I can not find torch._C
Why?
I think the important compution are in this package

1 Like

The source is in https://github.com/pytorch/pytorch/blob/master/torch/csrc/Module.cpp
You should compile it first, than you will find your own torch._c.

1 Like

Yes ,thank for your help.Is this code contain the function of how to complete conv compution?