MCPcopy Create free account
hub / github.com/PeizeSun/SparseR-CNN / f

Function f

tools/benchmark.py:109–112  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

107 dummy_data = list(itertools.islice(data_loader, 100))
108
109 def f():
110 data = DatasetFromList(dummy_data, copy=False)
111 while True:
112 yield from data
113
114 max_iter = 400
115 trainer = SimpleTrainer(model, f(), optimizer)

Callers 4

benchmark.pyFile · 0.85
benchmark_evalFunction · 0.85
getMethod · 0.85
test_scriptabilityMethod · 0.85

Calls 1

DatasetFromListClass · 0.90

Tested by 1

test_scriptabilityMethod · 0.68