MCPcopy Create free account
hub / github.com/PaddlePaddle/Paddle / find_operator

Method find_operator

paddle/phi/api/include/compat/torch/library.cpp:263–267  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

261}
262
263OperatorRegistration* OperatorRegistry::find_operator(
264 const std::string& qualified_name) {
265 auto it = operators_.find(qualified_name);
266 return (it != operators_.end()) ? &it->second : nullptr;
267}
268
269void OperatorRegistry::print_all_operators() const {
270 std::stringstream oss;

Callers 4

get_op_with_argsMethod · 0.80
TESTFunction · 0.80
pick_implFunction · 0.80
TESTFunction · 0.80

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by 3

TESTFunction · 0.64
pick_implFunction · 0.64
TESTFunction · 0.64