diff options
author | Kevin Petit <kevin.petit@arm.com> | 2023-05-16 09:08:48 +0100 |
---|---|---|
committer | Kevin Petit <kevin.petit@arm.com> | 2023-05-24 09:45:01 +0100 |
commit | 5333c25baaf4fe136ed45edd6521dc7a2a5de851 (patch) | |
tree | 8f132429aabe8a3e6f1ef89414c1dd933164d95b /chapters/custom.adoc | |
parent | 277a4f17f13ac882075e109c339cdeda03f8eedd (diff) | |
download | specification-5333c25baaf4fe136ed45edd6521dc7a2a5de851.tar.gz |
Formalise the description of operator argument types
- Standardise the terminology for operator arguments. Argument,
Operand, and Parameter were used interchangeably.
- Introduce a templatized tensor_t<> type for tensor arguments.
Scalars are represented by rank-0 tensors.
- Types can be checked with the XSD schema.
Signed-off-by: Kevin Petit <kevin.petit@arm.com>
Change-Id: Ic57b9387950824e994c5e7f9ec1489c29159b974
Diffstat (limited to 'chapters/custom.adoc')
-rw-r--r-- | chapters/custom.adoc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chapters/custom.adoc b/chapters/custom.adoc index 4804e25..e748f38 100644 --- a/chapters/custom.adoc +++ b/chapters/custom.adoc @@ -12,9 +12,9 @@ Hardware implementing TOSA may choose to add additional custom operators that are not expressed in the existing TOSA operations. These operators are not expected to be portable across TOSA implementations. The input and output signatures must be expressed in the corresponding TOSA node. ==== CUSTOM -Input Operands: +Input arguments: -* Num input operands – Scalar number of input operands -* Num output operands – Scalar number of output operands +* Num input arguments – Scalar number of input arguments +* Num output arguments – Scalar number of output arguments * Operator code – untyped data consisting of the operator data * Affine transform description for each tensor |