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

Method GetRegisteredOps

tensorflow/core/framework/op.cc:125–131  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

123}
124
125void OpRegistry::GetRegisteredOps(std::vector<OpDef>* op_defs) {
126 mutex_lock lock(mu_);
127 MustCallDeferred();
128 for (const auto& p : registry_) {
129 op_defs->push_back(p.second->op_def);
130 }
131}
132
133void OpRegistry::GetOpRegistrationData(
134 std::vector<OpRegistrationData>* op_data) {

Callers 2

TESTFunction · 0.80
TF_GetAllOpListFunction · 0.80

Calls 1

push_backMethod · 0.45

Tested by 1

TESTFunction · 0.64