diff options
author | Eric Kunze <eric.kunze@arm.com> | 2023-02-13 16:19:34 -0800 |
---|---|---|
committer | Eric Kunze <eric.kunze@arm.com> | 2023-04-14 16:13:27 -0700 |
commit | 544227ef40dc226707d2c97b41cf0ee0b6111d39 (patch) | |
tree | 871a149f9e7c686a5c18e61ac5194d6eee5f970d /tosa.xsd | |
parent | 9bb5f5dd6b3999e46eb32ee2a897cc643c86c96d (diff) | |
download | specification-544227ef40dc226707d2c97b41cf0ee0b6111d39.tar.gz |
Add enumerations to TOSA specification
Currently used by RESIZE and AVG_POOL2D
Change-Id: I4f401ac092fcf426e6d57b3729943135f634a31e
Signed-off-by: Eric Kunze <eric.kunze@arm.com>
Diffstat (limited to 'tosa.xsd')
-rw-r--r-- | tosa.xsd | 20 |
1 files changed, 20 insertions, 0 deletions
@@ -126,6 +126,25 @@ <!-- TODO pattern for attribute name --> <!-- TODO enumerations/patterns for attribute type --> <!-- TODO enumerations/patterns for attribute shape --> + +<xs:element name="enumval"> + <xs:complexType> + <xs:attribute name="name" type="xs:string"/> + <xs:attribute name="value" type="xs:integer"/> + <xs:attribute name="description" type="xs:string"/> + </xs:complexType> +</xs:element> + +<xs:element name="enum"> + <xs:complexType> + <xs:sequence> + <xs:element ref="enumval" minOccurs="1" maxOccurs="unbounded"/> + </xs:sequence> + <xs:attribute name="name" type="xs:string" use="required"/> + <xs:attribute name="description" type="xs:string" use="required"/> + </xs:complexType> +</xs:element> + <xs:element name="argument"> <xs:complexType> <xs:sequence> @@ -213,6 +232,7 @@ <xs:element ref="profiles"/> <xs:element ref="levels"/> <xs:element ref="operators"/> + <xs:element ref="enum" maxOccurs="unbounded"/> </xs:sequence> </xs:complexType> </xs:element> |