Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/mlco2/codecarbon
/ pytorch-multigpu-example.py
File
pytorch-multigpu-example.py
examples/pytorch-multigpu-example.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
numpy
as
np
2
import
torch
3
from
torch
import
nn, optim
4
from
torch.utils.data
import
DataLoader
Callers
nothing calls this directly
Calls
5
EmissionsTracker
Class · 0.90
CNN
Class · 0.85
flush
Method · 0.80
start
Method · 0.45
stop
Method · 0.45
Tested by
no test coverage detected