Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pytorch/examples
/ __init__
Method
__init__
language_translation/src/data.py:123–126 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
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
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected