Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DeepRec-AI/DeepRec
/ IdentityOrConvertStringToRaw
Function
IdentityOrConvertStringToRaw
tensorflow/lite/toco/format_port.h:30–32 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
28
/// Identity (default case)
29
template <class T>
30
T IdentityOrConvertStringToRaw(T foo) {
31
return foo;
32
}
33
34
// Overloaded case where we return std::string.
35
inline const char* IdentityOrConvertStringToRaw(const std::string& foo) {
Callers
2
AppendF
Function · 0.85
StringF
Function · 0.85
Calls
1
c_str
Method · 0.80
Tested by
no test coverage detected