Python torch.nn.modules.conv._ConvTransposeMixin() Examples

The following are 1 code examples of torch.nn.modules.conv._ConvTransposeMixin(). You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may also want to check out all available functions/classes of the module torch.nn.modules.conv , or try the search function .
Example #1
Source File: parrots_wrapper.py    From mmcv with Apache License 2.0 5 votes vote down vote up
def _get_conv():
    if TORCH_VERSION == 'parrots':
        from parrots.nn.modules.conv import _ConvNd, _ConvTransposeMixin
    else:
        from torch.nn.modules.conv import _ConvNd, _ConvTransposeMixin
    return _ConvNd, _ConvTransposeMixin