MCPcopy Create free account
hub / github.com/Oneflow-Inc/oneflow / Close

Method Close

oneflow/user/data/data_reader.h:49–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47 }
48
49 void Close() {
50 if (!is_closed_.load()) {
51 is_closed_.store(true);
52 batch_buffer_.Close();
53 }
54 }
55
56 protected:
57 void StartLoadThread() {

Calls 1

loadMethod · 0.45

Tested by

no test coverage detected