Thank you! We'll be in touch ASAP.
Something went wrong, please try again or contact us directly at contact@dagshub.com
Deci-AI:master
deci-ai:feature/SG-000_fix_master_inastallation
from torch import nn class Residual(nn.Module): """ This is a placeholder module used by the quantization engine only. This module will be replaced by converters. The module is to be used as a residual skip connection within a single block. """ def forward(self, x): return x class SkipConnection(nn.Module): """ This is a placeholder module used by the quantization engine only. This module will be replaced by converters. The module is to be used as a skip connection between blocks. """ def forward(self, x): return x class BackboneInternalSkipConnection(SkipConnection): """ This is a placeholder module used by the quantization engine only. This module will be replaced by converters. The module is to be used as a skip connection between blocks inside the backbone. """ class HeadInternalSkipConnection(SkipConnection): """ This is a placeholder module used by the quantization engine only. This module will be replaced by converters. The module is to be used as a skip connection between blocks inside the head. """ class CrossModelSkipConnection(SkipConnection): """ This is a placeholder module used by the quantization engine only. This module will be replaced by converters. The module is to be used as a skip connection between backbone and the head. """
Press p or to see the previous file or, n or to see the next file