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

Method LookUpOpDef

tensorflow/core/framework/op.cc:37–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35OpRegistryInterface::~OpRegistryInterface() {}
36
37Status OpRegistryInterface::LookUpOpDef(const string& op_type_name,
38 const OpDef** op_def) const {
39 *op_def = nullptr;
40 const OpRegistrationData* op_reg_data = nullptr;
41 TF_RETURN_IF_ERROR(LookUp(op_type_name, &op_reg_data));
42 *op_def = &op_reg_data->op_def;
43 return Status::OK();
44}
45
46OpRegistry::OpRegistry() : initialized_(false) {}
47

Callers 15

MergeDuplicateNodesFunction · 0.80
GetInOutTypesFunction · 0.80
ShouldExportAsFlexOpFunction · 0.80
ValidateFunctionDefFunction · 0.80
ValidateGraphFunction · 0.80
TESTFunction · 0.80
BuildGraphMethod · 0.80

Calls

no outgoing calls

Tested by 12

TESTFunction · 0.64
BuildGraphMethod · 0.64
RegisteredOpDefMethod · 0.64
GetOpSigFunction · 0.64
TESTFunction · 0.64
TEST_FFunction · 0.64
TESTFunction · 0.64
GetOpSigFunction · 0.64
RunFunctionMethod · 0.64
TEST_FFunction · 0.64
TESTFunction · 0.64