Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Topdu/OpenOCR
/ forward_beam
Method
forward_beam
openrec/modeling/decoders/cdistnet_decoder.py:326–328 ·
view source on GitHub ↗
Translation work in one batch.
(self, x)
Source
from the content-addressed store, hash-verified
324
return
logits
325
326
def
forward_beam(self, x):
327
""
"Translation work in one batch."
""
328
# to do
329
330
def
_reset_parameters(self):
331
r
""
"Initiate parameters in the transformer model."
""
Callers
1
forward
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected