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

Function Register

tensorflow/core/framework/op_registration_test.cc:27–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25namespace {
26
27void Register(const string& op_name, OpRegistry* registry) {
28 registry->Register([op_name](OpRegistrationData* op_reg_data) -> Status {
29 op_reg_data->op_def.set_name(op_name);
30 return Status::OK();
31 });
32}
33
34} // namespace
35

Callers 2

TESTFunction · 0.70

Calls 2

RegisterMethod · 0.45
set_nameMethod · 0.45

Tested by

no test coverage detected