Skip to content

Commit

Permalink
Increment version number to 1.8.1 (#180)
Browse files Browse the repository at this point in the history
  • Loading branch information
TomWildenhain-Microsoft authored Apr 13, 2021
1 parent 43bc9da commit 688dec0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion onnxconverter_common/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
This framework performs optimization for ONNX models and
includes common utilities for ONNX converters.
"""
__version__ = "1.8.0"
__version__ = "1.8.1"
__author__ = "Microsoft"
__producer__ = "OnnxMLTools"
__producer_version__ = __version__
Expand Down
2 changes: 1 addition & 1 deletion onnxconverter_common/perfstats.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ def __init__(self, clause_string):
self.patterns = set(clause_string.split(','))

def match(self, entry):
if isinstance(entry, NodeEntry) and self.match_name and entry.name in self.patterns:
if isinstance(entry, (NodeEntry, RawEntry)) and self.match_name and entry.name in self.patterns:
return self.rule_type
if self.match_type and entry.op_type in self.patterns:
return self.rule_type
Expand Down

0 comments on commit 688dec0

Please sign in to comment.