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

Function AddPort

tensorflow/core/kernels/hexagon/hexagon_control_wrapper.cc:43–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41const bool DBG_DUMP_INPUT_TENSOR_AS_FLOAT_DATA = false;
42
43static string AddPort(const string& node_name) {
44 if (node_name.find(':') != string::npos) {
45 return node_name;
46 } else {
47 return strings::StrCat(node_name, ":", 0);
48 }
49}
50
51static uint8* FindAlignedPointer(uint8* ptr) {
52 const uintptr_t data_ptr_int = reinterpret_cast<uintptr_t>(ptr);

Callers 3

InitMethod · 0.85
FillInputNodeMethod · 0.85
ReadOutputNodeMethod · 0.85

Calls 2

StrCatFunction · 0.50
findMethod · 0.45

Tested by

no test coverage detected