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

Method Clear

tensorflow/compiler/jit/graphcycles/ordered_set.h:66–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64 }
65
66 void Clear() {
67 value_to_index_.clear();
68 value_sequence_.clear();
69 }
70
71 bool Contains(T value) const { return value_to_index_.contains(value); }
72 size_t Size() const { return value_sequence_.size(); }

Callers 2

TESTFunction · 0.45
RemoveNodeMethod · 0.45

Calls 1

clearMethod · 0.45

Tested by 1

TESTFunction · 0.36