- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for GetUniqueNameView (0.23 sec)
-
tensorflow/compiler/mlir/op_or_arg_name_mapper.h
// Returns unique name for the operation or value. llvm::StringRef GetUniqueName(OpOrVal op_or_val, int hash_value = 0); // Returns unique name as a string_view for the operation or value. absl::string_view GetUniqueNameView(OpOrVal op_or_val); // Initializes operation or value to map to name. Returns number of // operations or value already named 'name' which should be 0 else
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 17 22:54:55 UTC 2023 - 3.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/op_or_arg_name_mapper.cc
// 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; // Update the value in the map with unique name. name = StringRefToView(GetUniqueName(GetName(op_or_val)));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 5.7K bytes - Viewed (0)