aboutsummaryrefslogtreecommitdiff
path: root/tosa.xsd
diff options
context:
space:
mode:
authorDominic Symes <dominic.symes@arm.com>2023-04-24 17:08:02 +0100
committerDominic Symes <dominic.symes@arm.com>2023-04-27 14:52:30 +0100
commitbc72ba8ec128dc8c851455300085961d6e716959 (patch)
tree1c269fc0ea90243b2028e5ef7da58c417020c429 /tosa.xsd
parent211c5f5294cd08ebbf61278823e5195fef181dd7 (diff)
downloadspecification-bc72ba8ec128dc8c851455300085961d6e716959.tar.gz
Move the tensor size limit into the level range definition
The tensor size in bytes must fit within the level defined size range. Signed-off-by: Dominic Symes <dominic.symes@arm.com> Change-Id: I131e3aa7e8666b4d0093ae8198367f243081da51
Diffstat (limited to 'tosa.xsd')
-rw-r--r--tosa.xsd2
1 files changed, 2 insertions, 0 deletions
diff --git a/tosa.xsd b/tosa.xsd
index 8c1e2b5..ca99a8e 100644
--- a/tosa.xsd
+++ b/tosa.xsd
@@ -24,6 +24,7 @@
<xs:enumeration value="MAX_STRIDE"/>
<xs:enumeration value="MAX_SCALE"/>
<xs:enumeration value="MAX_RANK"/>
+ <xs:enumeration value="MAX_LOG2_SIZE"/>
</xs:restriction>
</xs:simpleType>
@@ -95,6 +96,7 @@
<xs:attribute name="max_kernel" type="xs:int" use="required"/>
<xs:attribute name="max_stride" type="xs:int" use="required"/>
<xs:attribute name="max_scale" type="xs:int" use="required"/>
+ <xs:attribute name="max_log2_size" type="xs:int" use="required"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>