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

Function StepNumberForModule

tensorflow/compiler/xla/service/dump.cc:291–294  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

289 *new absl::flat_hash_map<int64, uint64>();
290
291int64 StepNumberForModule(const HloModule& module) {
292 tensorflow::mutex_lock lock(mu);
293 return module_id_to_step_number[module.unique_id()]++;
294}
295} // namespace
296
297string TimestampFor(const HloModule& module) {

Calls 1

unique_idMethod · 0.45

Tested by

no test coverage detected