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

Method get_op

tensorflow/contrib/quantize/python/graph_matcher.py:186–188  ·  view source on GitHub ↗
(self, pattern_or_name)

Source from the content-addressed store, hash-verified

184 return self._pattern_to_op_tensor[pattern]
185
186 def get_op(self, pattern_or_name):
187 op_tensor = self._get_op_tensor(pattern_or_name)
188 return op_tensor[0] if op_tensor else None
189
190 def get_tensor(self, pattern_or_name):
191 op_tensor = self._get_op_tensor(pattern_or_name)

Callers 6

test_multiple_outputsMethod · 0.80
test_oneof_patternMethod · 0.80
test_ordered_patternMethod · 0.80
_FindLayersToQuantizeFunction · 0.80
_GetLayerMatchFunction · 0.80

Calls 1

_get_op_tensorMethod · 0.95

Tested by 4

test_multiple_outputsMethod · 0.64
test_oneof_patternMethod · 0.64
test_ordered_patternMethod · 0.64