Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/OpenNMT/OpenNMT-py
/ __init__
Method
__init__
onmt/inference_engine.py:16–17 ·
view source on GitHub ↗
(self, opt)
Source
from the content-addressed store, hash-verified
14
""
"
15
16
def
__init__(self, opt):
17
self.opt = opt
18
19
def
translate_batch(self, batch):
20
pass
Callers
2
__init__
Method · 0.45
__init__
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected