Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MoonInTheRiver/DiffSinger
/ num_workers
Method
num_workers
tasks/base_task.py:72–73 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
70
71
@property
72
def
num_workers(self):
73
return
int(os.getenv(
'NUM_WORKERS'
, hparams[
'ds_workers'
]))
74
75
76
class
BaseTask(nn.Module):
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected