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

Method Unregister

tensorflow/core/lib/monitoring/collection_registry.cc:89–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87}
88
89void CollectionRegistry::Unregister(const AbstractMetricDef* const metric_def) {
90 mutex_lock l(mu_);
91 registry_.erase(metric_def->name());
92}
93
94std::unique_ptr<CollectedMetrics> CollectionRegistry::CollectMetrics(
95 const CollectMetricsOptions& options) const {

Callers 1

~RegistrationHandleMethod · 0.45

Calls 2

nameMethod · 0.65
eraseMethod · 0.45

Tested by

no test coverage detected