Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DeepRec-AI/DeepRec
/ MakePyString
Function
MakePyString
tensorflow/compiler/xla/python/bfloat16.cc:52–54 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
50
#if PY_MAJOR_VERSION < 3
51
52
PyObject* MakePyString(const string& s) {
53
return PyString_FromString(s.c_str());
54
}
55
56
typedef long HashType; // NOLINT
57
Callers
2
bfloat16.cc
File · 0.70
Initialize
Function · 0.70
Calls
1
c_str
Method · 0.80
Tested by
no test coverage detected