MCPcopy Index your code
hub / github.com/NVIDIA/semantic-segmentation / __init__

Method __init__

network/ocr_utils.py:29–32  ·  view source on GitHub ↗
(self, cls_num=0, scale=1)

Source from the content-addressed store, hash-verified

27
28 """
29 def __init__(self, cls_num=0, scale=1):
30 super(SpatialGather_Module, self).__init__()
31 self.cls_num = cls_num
32 self.scale = scale
33
34 def forward(self, feats, probs):
35 batch_size, c, _, _ = probs.size(0), probs.size(1), probs.size(2), \

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected