MCPcopy Create free account
hub / github.com/mlco2/codecarbon / __init__

Method __init__

tests/test_tracking_inference.py:28–29  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

26
27class InferenceClass:
28 def __init__(self):
29 self.model = mock_load_model()
30
31 def predict(self, input_data):
32 heavy_computation(input_data)

Callers

nothing calls this directly

Calls 1

mock_load_modelFunction · 0.85

Tested by

no test coverage detected