Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pytorch/examples
/ Opts
Class
Opts
language_translation/src/data.py:122–126 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
120
if
__name__==
"__main__"
:
121
122
class
Opts:
123
def
__init__(self):
124
self.src =
"en"
,
125
self.tgt =
"de"
126
self.batch = 128
127
128
opts = Opts()
129
Callers
1
data.py
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected