d03bee8101a988d23b2bf46ec78904b4efbdea94,onnx_tf/handlers/backend/average_pool.py,AveragePool,version_1,#Any#Any#,14
Before Change
@classmethod
def version_1(cls, node, **kwargs):
return cls.pool(node, kwargs["tensor_dict"],
partial(tf.nn.pool, pooling_type="AVG"), "AVG",
kwargs.get("strict", True))
@classmethod
def version_7(cls, node, **kwargs):
return cls.pool(node, kwargs["tensor_dict"],
After Change
@classmethod
def version_1(cls, node, **kwargs):
return cls._common(node, **kwargs)
@classmethod
def version_7(cls, node, **kwargs):
return cls._common(node, **kwargs)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 11
Instances
Project Name: onnx/onnx-tensorflow
Commit Name: d03bee8101a988d23b2bf46ec78904b4efbdea94
Time: 2020-03-09
Author: sdmonov@us.ibm.com
File Name: onnx_tf/handlers/backend/average_pool.py
Class Name: AveragePool
Method Name: version_1
Project Name: onnx/onnx-tensorflow
Commit Name: d03bee8101a988d23b2bf46ec78904b4efbdea94
Time: 2020-03-09
Author: sdmonov@us.ibm.com
File Name: onnx_tf/handlers/backend/max_pool.py
Class Name: MaxPool
Method Name: version_1
Project Name: onnx/onnx-tensorflow
Commit Name: d03bee8101a988d23b2bf46ec78904b4efbdea94
Time: 2020-03-09
Author: sdmonov@us.ibm.com
File Name: onnx_tf/handlers/backend/average_pool.py
Class Name: AveragePool
Method Name: version_7