MCPcopy 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
52PyObject* MakePyString(const string& s) {
53 return PyString_FromString(s.c_str());
54}
55
56typedef long HashType; // NOLINT
57

Callers 2

bfloat16.ccFile · 0.70
InitializeFunction · 0.70

Calls 1

c_strMethod · 0.80

Tested by

no test coverage detected