MCPcopy 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)
28def predict(grid, x_test):
29 grid.predict(x_test)
30
31
32def main():

Callers 1

mainFunction · 0.85

Calls 1

predictMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…