Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/PaddlePaddle/PaddleOCR
/ __init__
Method
__init__
ppocr/modeling/transforms/tsrn.py:187–191 ·
view source on GitHub ↗
( self, )
Source
from the content-addressed store, hash-verified
185
186
class
mish(nn.Layer):
187
def
__init__(
188
self,
189
):
190
super(mish, self).__init__()
191
self.activated = True
192
193
def
forward(self, x):
194
if
self.activated:
Callers
nothing calls this directly
Calls
1
__init__
Method · 0.45
Tested by
no test coverage detected