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

Function CreateUniqueIdentifier

tensorflow/compiler/aot/codegen.cc:688–697  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

686}
687
688static string CreateUniqueIdentifier(const CodegenOpts& opts,
689 absl::string_view suffix) {
690 string result = "__tfcompile";
691 for (const string& n : opts.namespaces) {
692 absl::StrAppend(&result, "_", n);
693 }
694
695 absl::StrAppend(&result, "_", opts.class_name, "_", suffix);
696 return result;
697}
698
699Status GenerateMetadata(const CodegenOpts& opts,
700 const CompileResult& compile_result,

Callers 1

GenerateMetadataFunction · 0.85

Calls 1

StrAppendFunction · 0.50

Tested by

no test coverage detected