MCPcopy Index your code
hub / github.com/tensorpack/tensorpack / __init__

Method __init__

tensorpack/predict/dataset.py:62–64  ·  view source on GitHub ↗
(self, config, dataset)

Source from the content-addressed store, hash-verified

60 Simply create one predictor and run it on the DataFlow.
61 """
62 def __init__(self, config, dataset):
63 super(SimpleDatasetPredictor, self).__init__(config, dataset)
64 self.predictor = OfflinePredictor(config)
65
66 @HIDE_DOC
67 def get_result(self):

Callers

nothing calls this directly

Calls 2

OfflinePredictorClass · 0.85
__init__Method · 0.45

Tested by

no test coverage detected