Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/mlco2/codecarbon
/ predict
Function
predict
examples/mnist_inference.py:28–29 ·
view source on GitHub ↗
(grid, x_test)
Source
from the content-addressed store, hash-verified
26
27
@track_task_emissions(task_name=
"inference"
, tracker=tracker)
28
def
predict(grid, x_test):
29
grid.predict(x_test)
30
31
32
def
main():
Callers
1
main
Function · 0.85
Calls
1
predict
Method · 0.80
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…