API Reference
__all__
module-attribute
__all__ = ['enable', 'disable', 'no_weight_grad', 'conv2d', 'conv_transpose2d']
__author__
module-attribute
__author__ = 'Peter Yuen'
__email__
module-attribute
__email__ = 'ppeetteerrsx@gmail.com'
__version__
module-attribute
__version__ = metadata.version('torch_conv_gradfix')
no_weight_grad
module-attribute
no_weight_grad: Type[ContextManager[None]] = None
__docs
__docs()
Build gh-pages documentation branch.
Source code in torch_conv_gradfix/__init__.py
37 38 39 40 41 42 43 44 |
|
__serve
__serve()
Serve local documentation.
Source code in torch_conv_gradfix/__init__.py
27 28 29 30 31 32 33 34 |
|
__test
__test()
Runs pytest locally and keeps only coverage.xml
for GitHub Actions to upload to Codecov.
Source code in torch_conv_gradfix/__init__.py
17 18 19 20 21 22 23 24 |
|
conv2d
conv2d(input: Tensor, weight: Tensor, bias: Optional[Tensor] = None, stride: IntPairOr = 1, padding: IntPairOr = 0, dilation: IntPairOr = 1, groups: int = 1) -> Tensor
Source code in torch_conv_gradfix/namespace.py
11 12 13 14 15 16 17 18 19 20 |
|
conv_transpose2d
conv_transpose2d(input: Tensor, weight: Tensor, bias: Optional[Tensor] = None, stride: IntPairOr = 1, padding: IntPairOr = 0, output_padding: IntPairOr = 0, dilation: IntPairOr = 1, groups: int = 1) -> Tensor
Source code in torch_conv_gradfix/namespace.py
23 24 25 26 27 28 29 30 31 32 33 |
|
disable
disable()
Source code in torch_conv_gradfix/namespace.py
40 41 |
|
enable
enable()
Source code in torch_conv_gradfix/namespace.py
36 37 |
|