Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NVIDIA/DALI
/ python_repr
Function
python_repr
include/dali/core/python_util.h:63–65 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
61
62
template <typename T>
63
inline void python_repr(std::ostream &os, const T &obj) {
64
os << obj;
65
}
66
67
inline void python_repr(std::ostream &os, const char *s) {
68
os.put(
'\'
');
Callers
1
GetArgumentDefaultValueString
Method · 0.85
Calls
4
escape_string
Function · 0.85
str
Method · 0.80
put
Method · 0.45
c_str
Method · 0.45
Tested by
no test coverage detected