Skip to content
Commit 580fdd13 authored by Luke Hutton's avatar Luke Hutton
Browse files

Fix rank limits for various data layout operations



This commit removes the maximum rank 4 restriction
from REVERSE, SLICE and TILE operations so that the
new maximum is now MAX_RANK.

In doing so some rank inconsistencies were also
cleaned up, including:
* Adding a minimum rank to the PAD op description
* Adding level limit checks to SLICE and TILE ops
* Adding checks for rank(shape1) == rank(shape)
  for TILE and TRANSPOSE ops
* Add tensor_size(shape1) == tensor_size(shape)
  check for TRANSPOSE
* Replace tensor name with shape name in pesudo
  code where necessary

Change-Id: I94bb8ee0b6b720b2ba5a884ce9300dca6281245a
Signed-off-by: Luke Hutton's avatarLuke Hutton <luke.hutton@arm.com>
parent 87bf309c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment