MCPcopy Create free account
hub / github.com/NVIDIA/DALI / FromPythonTrampoline

Function FromPythonTrampoline

dali/python/backend_impl.cc:475–477  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

473 */
474template <typename... Args>
475auto FromPythonTrampoline(const char *python_module, const char *attr_name, Args... attr_names) {
476 return ExtractPythonAttr(py::module::import(python_module).attr(attr_name), attr_names...);
477}
478
479/**
480 * @brief Extracts attribute from imported python module.

Callers 4

ExposeTensorFunction · 0.85
ExposeTensorListCPUFunction · 0.85
ExposeTesorListGPUFunction · 0.85
PYBIND11_MODULEFunction · 0.85

Calls 2

ExtractPythonAttrFunction · 0.85
attrMethod · 0.80

Tested by

no test coverage detected