2021年3月10日星期三

Sphinx exclude torch.tensor as T

I'm aware of how to exclude files from Sphinx.

However, a handful of my code uses the standard pattern of:

import torch.tensor as T  

T then ends up getting the torch tensor documentation in my modules. How can I avoid this?

https://stackoverflow.com/questions/66576311/sphinx-exclude-torch-tensor-as-t March 11, 2021 at 12:05PM

没有评论:

发表评论