diff options
author | Eric Kunze <eric.kunze@arm.com> | 2022-06-01 17:24:15 -0700 |
---|---|---|
committer | Eric Kunze <eric.kunze@arm.com> | 2022-06-07 22:29:26 -0700 |
commit | 61f6622945d8ef339c99c4b437f985c62aa81bcf (patch) | |
tree | fb4645ddeefaa736dd21d1ffd0e1b1a7f221b320 /reference_model | |
parent | 39ad9397253c1d155a2277a15ebf324f267dd88a (diff) | |
download | reference_model-61f6622945d8ef339c99c4b437f985c62aa81bcf.tar.gz |
Remove dilation from transpose_conv2d op
It is not in the spec and is being removed from serialization
Change-Id: I82a102de37d8eb75210088dfda2df9b2fadb9c74
Signed-off-by: Eric Kunze <eric.kunze@arm.com>
Diffstat (limited to 'reference_model')
-rw-r--r-- | reference_model/src/ops/tensor_ops.cc | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/reference_model/src/ops/tensor_ops.cc b/reference_model/src/ops/tensor_ops.cc index 6144dbc..94f4c72 100644 --- a/reference_model/src/ops/tensor_ops.cc +++ b/reference_model/src/ops/tensor_ops.cc @@ -1535,12 +1535,6 @@ int OpTransposeConv2d<InDtype, WeightDtype>::checkTensorAttributes() return 1; } - if (attribute->dilation().size() != 2) - { - printNodeValidationError("OpTransposeConv2d: illegal size for attribute dilation"); - return 1; - } - if (attribute->output_shape().size() != 4) { printNodeValidationError("OpTransposeConv2d: illegal size for attribute output_shape"); @@ -1565,16 +1559,6 @@ int OpTransposeConv2d<InDtype, WeightDtype>::checkTensorAttributes() } } - // TODO: Remove dilation once schema updated - for (int32_t i : attribute->dilation()) - { - if (i != 1) - { - printNodeValidationError("OpTransposeConv2d: Dilation is deprecated and must be set to one"); - return 1; - } - } - for (int d = 0; d < 4; d++) { if (attribute->output_shape()[d] != this->output->getShape()[d]) |