MCPcopy Create free account
hub / github.com/LBANN/lbann / ~python_reader

Method ~python_reader

src/data_readers/data_reader_python.cpp:86–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84}
85
86python_reader::~python_reader()
87{
88 if (python::is_active() && m_process_pool != nullptr) {
89 python::global_interpreter_lock gil;
90 PyObject_CallMethod(m_process_pool, "terminate", nullptr);
91 PyObject_CallMethod(m_process_pool, "join", nullptr);
92 }
93}
94
95const std::vector<El::Int> python_reader::get_data_dims() const
96{

Callers

nothing calls this directly

Calls 1

is_activeFunction · 0.85

Tested by

no test coverage detected