Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DeepRec-AI/DeepRec
/ STLSortAndRemoveDuplicates
Function
STLSortAndRemoveDuplicates
tensorflow/core/grappler/utils.cc:453–456 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
451
452
template <typename T>
453
inline void STLSortAndRemoveDuplicates(T* v) {
454
std::sort(v->begin(), v->end());
455
v->erase(std::unique(v->begin(), v->end()), v->end());
456
}
457
458
} // namespace
459
Callers
1
EraseNodesFromGraph
Function · 0.70
Calls
5
sort
Function · 0.85
unique
Function · 0.50
begin
Method · 0.45
end
Method · 0.45
erase
Method · 0.45
Tested by
no test coverage detected