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

Function OpDefForOp

tensorflow/core/common_runtime/eager/attr_builder.cc:56–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54} // namespace
55
56Status OpDefForOp(const char* op_name, const OpDef** op_def) {
57 const OpRegistrationData* op_reg_data = nullptr;
58 Status s = OpRegistry::Global()->LookUp(op_name, &op_reg_data);
59 if (s.ok()) {
60 *op_def = &op_reg_data->op_def;
61 }
62 return s;
63}
64
65Status AttrTypeMapForOp(const char* op_name, const AttrTypeMap** out,
66 bool* is_function) {

Callers 6

AttrTypeMapForOpFunction · 0.85
FillAttrValueMapMethod · 0.85
InitMethod · 0.85
GetOutputDTypesFunction · 0.85
GetOpDefFunction · 0.85
TFE_NewOpFunction · 0.85

Calls 2

LookUpMethod · 0.45
okMethod · 0.45

Tested by

no test coverage detected