aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--reference_model/src/ops/tensor_ops.cc16
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])