Home
last modified time | relevance | path

Searched defs:HashMapElement (Results 1 – 1 of 1) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/ps/ps_cache/
Dembedding_hash_map.h32 struct HashMapElement { struct
35 bool IsEmpty() const { return step_ == INVALID_STEP_VALUE; } in IsEmpty()
36 bool IsExpired(size_t graph_running_step) const { return graph_running_step > step_; } in IsExpired()
37 bool IsStep(size_t step) const { return step_ == step; } in IsStep()
38 void set_id(int id) { id_ = id; } in set_id()
39 void set_step(size_t step) { step_ = step; } in set_step()