SIGN IN SIGN UP

Arm backend: Replace asserts with ValueError for slicing constraints (#10748)

The existing code used assertions to validate slicing parameters (e.g.,
size must be positive and within dimension limits). This has been
changed to raise ValueError with descriptive error messages to provide
clearer feedback and robustness for invalid inputs when using
aten.slice_copy.Tensor.

Signed-off-by: Sebastian Larsson <sebastian.larsson@arm.com>
S
Sebastian Larsson committed
cebe051798aa0200dc93462526294e6672976917
Parent: 6932baf
Committed by GitHub <noreply@github.com> on 5/7/2025, 10:56:39 AM