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

Method AddProcessingTime

tensorflow/core/framework/model.cc:706–712  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

704}
705
706void Model::AddProcessingTime(const string& name, int64 delta) {
707 tf_shared_lock l(mu_);
708 auto node = gtl::FindOrNull(lookup_table_, name);
709 if (node) {
710 (*node)->add_processing_time(delta);
711 }
712}
713
714void Model::Optimize(AutotuneAlgorithm algorithm, int64 cpu_budget,
715 int64 ram_budget) {

Callers 1

RunAsyncMethod · 0.80

Calls 1

FindOrNullFunction · 0.85

Tested by

no test coverage detected