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

Method match

tensorflow/contrib/quantize/python/graph_matcher.py:32–34  ·  view source on GitHub ↗

Returns the result of matching op/tensor against this pattern.

(self, op, tensor)

Source from the content-addressed store, hash-verified

30
31 @abc.abstractmethod
32 def match(self, op, tensor):
33 """Returns the result of matching op/tensor against this pattern."""
34 raise NotImplementedError('Method "match" not implemented.')
35
36
37class OpTypePattern(Pattern):

Callers 13

parserMethod · 0.45
parserMethod · 0.45
_get_number_pruning_varsFunction · 0.45
matchMethod · 0.45
matchMethod · 0.45
_match_patternMethod · 0.45
summarize_collectionFunction · 0.45
_efficient_grad_fnMethod · 0.45
parse_valuesFunction · 0.45
parserFunction · 0.45
get_weightsMethod · 0.45

Calls

no outgoing calls

Tested by 3

parserMethod · 0.36
_get_number_pruning_varsFunction · 0.36
parserFunction · 0.36