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

Function SafeDebugPath

tensorflow/compiler/xrt/xrt_util.cc:123–130  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

121}
122
123string SafeDebugPath(const string& path) {
124 if (path.empty() || path.compare(0, 5, "gs://") == 0 ||
125 path.compare(0, 11, "bigstore://") == 0) {
126 return path;
127 }
128 LOG(WARNING) << "Invalid config path (will be dropped): " << path;
129 return string();
130}
131
132Status MakeOutput(const RefPtr<XRTTupleAllocation>& output, int64 index,
133 RefPtr<XRTTupleAllocation>* result) {

Callers 1

BuildXlaDebugOptionsFunction · 0.85

Calls 2

emptyMethod · 0.45
compareMethod · 0.45

Tested by

no test coverage detected