Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion backends/test/suite/operators/test_avgpool1d.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Copyright (c) Meta Platforms, Inc. and affiliates.
# All rights reserved.
# Copyright 2026 Arm Limited and/or its affiliates.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.
Expand Down Expand Up @@ -84,7 +85,7 @@ def test_avgpool1d_padding(self, flow: TestFlow) -> None:
flow,
)
self._test_op(
Model(padding=2),
Model(kernel_size=5, padding=2),
(torch.randn(1, 8, 100),),
flow,
)
Expand Down
3 changes: 2 additions & 1 deletion backends/test/suite/operators/test_avgpool2d.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Copyright (c) Meta Platforms, Inc. and affiliates.
# All rights reserved.
# Copyright 2026 Arm Limited and/or its affiliates.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.
Expand Down Expand Up @@ -92,7 +93,7 @@ def test_avgpool2d_padding(self, flow: TestFlow) -> None:
flow,
)
self._test_op(
Model(padding=(1, 2)),
Model(kernel_size=5, padding=(1, 2)),
(torch.randn(1, 8, 20, 20),),
flow,
)
Expand Down
3 changes: 2 additions & 1 deletion backends/test/suite/operators/test_maxpool1d.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Copyright (c) Meta Platforms, Inc. and affiliates.
# All rights reserved.
# Copyright 2026 Arm Limited and/or its affiliates.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.
Expand Down Expand Up @@ -86,7 +87,7 @@ def test_maxpool1d_padding(self, flow: TestFlow) -> None:
flow,
)
self._test_op(
Model(padding=2),
Model(kernel_size=5, padding=2),
(torch.randn(1, 8, 100),),
flow,
)
Expand Down
3 changes: 2 additions & 1 deletion backends/test/suite/operators/test_maxpool2d.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Copyright (c) Meta Platforms, Inc. and affiliates.
# All rights reserved.
# Copyright 2026 Arm Limited and/or its affiliates.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.
Expand Down Expand Up @@ -91,7 +92,7 @@ def test_maxpool2d_padding(self, flow: TestFlow) -> None:
flow,
)
self._test_op(
Model(padding=(1, 2)),
Model(kernel_size=5, padding=(1, 2)),
(torch.randn(1, 8, 20, 20),),
flow,
)
Expand Down
Loading