- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for IsMangledAttributeName (0.16 sec)
-
tensorflow/compiler/mlir/tensorflow/utils/mangling_util.cc
string MangleAttributeName(absl::string_view str) { return absl::StrCat(kAttributePrefix, str); } bool IsMangledAttributeName(absl::string_view str) { return absl::StartsWith(str, kAttributePrefix); } absl::string_view DemangleAttributeName(absl::string_view str) { DCHECK(IsMangledAttributeName(str)); return str.substr(std::strlen(kAttributePrefix)); } MangledKind GetMangledKind(absl::string_view str) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Feb 26 03:47:51 UTC 2024 - 3.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/export_utils.cc
// AttrValue inside NodeDef, but we model them using attribute inside // MLIR. So we need to ignore them when going back to AttrValue here. continue; } if (mangling_util::IsMangledAttributeName(name)) { // In MLIR, attributes for functions requires dialect prefix. We need to // remove TF dialect prefix before converting to AttrValue. name = mangling_util::DemangleAttributeName(name); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 19.7K bytes - Viewed (0)