MCPcopy Create free account
hub / github.com/Topdu/OpenOCR / __init__

Method __init__

openrec/modeling/decoders/robustscanner_decoder.py:79–80  ·  view source on GitHub ↗
(self, **kwargs)

Source from the content-addressed store, hash-verified

77class BaseDecoder(nn.Module):
78
79 def __init__(self, **kwargs):
80 super().__init__()
81
82 def forward_train(self, feat, out_enc, targets, img_metas):
83 raise NotImplementedError

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected