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

Method SortAndUniquifyValues

tensorflow/compiler/xla/service/hlo_value.cc:217–221  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

215}
216
217void HloValueSet::SortAndUniquifyValues() {
218 absl::c_sort(values_, HloValue::IdLessThan);
219 values_.erase(std::unique(values_.begin(), values_.end(), HloValue::IdEqual),
220 values_.end());
221}
222
223string HloValueSet::ToString() const {
224 return StrCat(

Callers 1

AssignUnionOfMethod · 0.80

Calls 4

uniqueFunction · 0.50
eraseMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected