47462402c76719b29b043dd8b4f4e785254730ab,onnx_tf/handlers/backend/pool_mixin.py,PoolMixin,pool_v10,#Any#Any#Any#Any#Any#Any#,121
Before Change
@classmethod
def pool_v10(cls, node, input_dict, pool_func, pooling_type, strict=True):
x = input_dict[node.inputs[0]]
x_rank = len(x.get_shape())
spatial_size = x_rank - 2
storage_format, _ = get_data_format(x_rank)
kernel_shape = node.attrs["kernel_shape"]
After Change
if spatial_size > 3:
exception.OP_UNSUPPORTED_EXCEPT(
"MaxPool with {}D input".format(x_rank), "Tensorflow")
if pooling_type == "MAX_WITH_ARGMAX" and x_rank != 4:
exception.OP_UNSUPPORTED_EXCEPT(
"MaxPool with {}D input".format(x_rank), "Tensorflow")
if node.attrs.get("storage_order", 0) != 0:
exception.OP_UNSUPPORTED_EXCEPT("MaxPool with column major",
"Tensorflow")
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: onnx/onnx-tensorflow
Commit Name: 47462402c76719b29b043dd8b4f4e785254730ab
Time: 2019-10-17
Author: sdmonov@us.ibm.com
File Name: onnx_tf/handlers/backend/pool_mixin.py
Class Name: PoolMixin
Method Name: pool_v10
Project Name: analysiscenter/batchflow
Commit Name: 89f41f9280daceb58895f6a958c493f126db03bc
Time: 2019-12-05
Author: Tsimfer.SA@gazprom-neft.ru
File Name: batchflow/models/eager_torch/layers/resize.py
Class Name: Combine
Method Name: __init__
Project Name: onnx/onnx-tensorflow
Commit Name: 611be2ba4a19a1eb3ff21993af1d5ae5870639b9
Time: 2019-10-17
Author: sdmonov@us.ibm.com
File Name: onnx_tf/handlers/backend/pool_mixin.py
Class Name: PoolMixin
Method Name: pool_v10