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

Function StringViewToRef

tensorflow/compiler/mlir/op_or_arg_name_mapper.cc:36–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34}
35
36static inline llvm::StringRef StringViewToRef(absl::string_view view) {
37 return llvm::StringRef(view.data(), view.size());
38}
39
40namespace tensorflow {
41

Callers 1

GetUniqueNameMethod · 0.70

Calls 3

StringRefClass · 0.85
dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected