- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for op_or_val_to_name_ (0.13 sec)
-
tensorflow/compiler/mlir/op_or_arg_name_mapper.cc
auto& name = op_or_val_to_name_[op_or_val]; if (!name.empty()) return StringViewToRef(name); // Update the value in the map with unique name. llvm::StringRef ref = GetUniqueName(GetName(op_or_val), hash_value); name = StringRefToView(ref); return ref; } absl::string_view OpOrArgNameMapper::GetUniqueNameView(OpOrVal op_or_val) { auto& name = op_or_val_to_name_[op_or_val]; if (!name.empty()) return name;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 5.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/op_or_arg_name_mapper.h
virtual bool IsUnique(llvm::StringRef name); // Returns a constant view of the underlying map. const llvm::DenseMap<OpOrVal, absl::string_view>& GetMap() const { return op_or_val_to_name_; } // Returns the separator used before uniqueing suffix. virtual llvm::StringRef GetSuffixSeparator() { return ""; } virtual llvm::StringRef GetDashSeparator() { return "_"; } private:
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 17 22:54:55 UTC 2023 - 3.7K bytes - Viewed (0)