MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / MakePyString

Function MakePyString

tensorflow/python/lib/core/bfloat16.cc:32–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30#if PY_MAJOR_VERSION < 3
31
32PyObject* MakePyString(const string& s) {
33 return PyString_FromString(s.c_str());
34}
35
36typedef long HashType; // NOLINT
37

Callers 2

bfloat16.ccFile · 0.70
InitializeFunction · 0.70

Calls 1

c_strMethod · 0.80

Tested by

no test coverage detected