From a64616c4d7a33c5b2b4e5fb38c57217dc65bc2ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johan=20Alfv=C3=A9n?= Date: Mon, 17 Oct 2022 12:29:12 +0200 Subject: MLBEDSW-6794: ResizeNearestNeighbor with HPC - Removed half pixel centers constraint for resize nearest neightbor. - Supported scale 2x, 4x and 8x. - Removed test_constraint_resize_half_pixel_centers - Regenerated SUPPORTED_OPS.md Signed-off-by: Johan Alfven Change-Id: Ic3e02e9c2b2034d537c9a9841b8fb4ee433c96dc --- ethosu/vela/test/test_tflite_supported_operators.py | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'ethosu/vela/test/test_tflite_supported_operators.py') diff --git a/ethosu/vela/test/test_tflite_supported_operators.py b/ethosu/vela/test/test_tflite_supported_operators.py index 35fc1a6f..790f0018 100644 --- a/ethosu/vela/test/test_tflite_supported_operators.py +++ b/ethosu/vela/test/test_tflite_supported_operators.py @@ -381,18 +381,6 @@ def test_constraint_resize_attrs(): assert not support.is_operator_supported(op) -def test_constraint_resize_half_pixel_centers(): - for resize_op in Op.op_set(Op.is_resize_op): - # Half-pixel centers is only supported for resize bilinear - op = testutil.create_op_with_quant_tensors(resize_op, [1, 4, 4, 8], [1, 8, 8, 8]) - op.add_input_tensor(create_const_tensor("size", [2], DataType.int32, [8, 8], np.int32)) - op.attrs["half_pixel_centers"] = True - if resize_op == Op.ResizeBilinear: - assert support.is_operator_supported(op) - else: - assert not support.is_operator_supported(op) - - def test_constraint_concat_pass(): # A working concat op = testutil.create_op_with_quant_tensors(Op.Concat, [1, 1, 1, 4], [1, 1, 1, 8]) -- cgit v1.2.1