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

Function _FindAttrInOpDef

tensorflow/python/framework/importer.py:138–142  ·  view source on GitHub ↗
(attr_name, op_def)

Source from the content-addressed store, hash-verified

136
137
138def _FindAttrInOpDef(attr_name, op_def):
139 for attr_def in op_def.attr:
140 if attr_name == attr_def.name:
141 return attr_def
142 return None
143
144
145def _RemoveDefaultAttrs(op_dict, producer_op_list, graph_def):

Callers 1

_RemoveDefaultAttrsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected