Age | Commit message (Collapse) | Author |
|
- Use function call syntax for static_cast and sizeof
- Replace undefined in_u_t with in_t
- Add missing semicolon
Change-Id: If6147ae93b371230cbebdf45a55490bf462a8219
Signed-off-by: Kevin Petit <kevin.petit@arm.com>
|
|
Only cases where types are obvious.
- Add missing types
- Do not re-declare variables
- Fix scope of declaration
Signed-off-by: Kevin Petit <kevin.petit@arm.com>
Change-Id: I7d44d9adde606094e0a7910fb438649521ff3ec0
|
|
... with the correct libary functions.
Change-Id: I99c252629d27be3977852a422774bc0be94922b3
Signed-off-by: Kevin Petit <kevin.petit@arm.com>
|
|
They need apply_{max,min}_{s,u}.
Signed-off-by: Kevin Petit <kevin.petit@arm.com>
Change-Id: I67cdfcd0eb9d7a25223b2ebb86219a21bbf9f2f6
|
|
AVG_POOL2D
Signed-off-by: Kevin Petit <kevin.petit@arm.com>
Change-Id: I5e0237abed504fdf26405a3d814714f22a0cf9b5
|
|
not defined
Also:
- Add missing semicolon
- Fix prototype for is_floating_point to use template syntax
Change-Id: I9ec1c687a3854b73ddac78f4db0db8e10f4e10e6
Signed-off-by: Kevin Petit <kevin.petit@arm.com>
|
|
Only defined for floating-point types.
Signed-off-by: Eric Kunze <eric.kunze@arm.com>
Change-Id: Ieae355076f9aac6882fab8530e6d7d9985a6e661
|
|
Adds support for Open Compute Project (OCP) 8-bit floating point operations
to the TOSA specification. Both E4M3 and E5M2 types are supported for profiles
as indicated in the Supported Data Types table for each operator.
FP8 operator list
ARGMAX
AVGPOOL
CONV2D
CONV3D
DEPTHWISE_CONV2D
MATMUL
MAX_POOL2D
TRANSPOSE_CONV2D
CONST
CAST
CONCAT
PAD
DIM
RESHAPE
REVERSE
SLICE
TILE
TRANSPOSE
GATHER
SCATTER
Signed-off-by: Eric Kunze <eric.kunze@arm.com>
Change-Id: I3dd83f48afcc3c880c5c88039337ff4f1fd95b1b
|
|
Moving between TOSA version 0.70 and 0.80, some
of the checks between input and output type were
omitted.
Signed-off-by: Dominic Symes <dominic.symes@arm.com>
Change-Id: I8e547f18ec1c36e0e9e3f8db04e58b0f643c781c
|
|
Add types for the angle caclulations.
Add conformance appendix section for RFFT2D.
Signed-off-by: Dominic Symes <dominic.symes@arm.com>
Change-Id: Ic0ab79c0784c6359d2d66290e124dfb670a879cc
|
|
Change-Id: I24409a38aaf4818a9ab0abc0cad5c7d052e01bd1
Signed-off-by: Kevin Petit <kevin.petit@arm.com>
|
|
Change-Id: I75ea94d42c63e862af8e492da7f47ecd6caa1055
Signed-off-by: Kevin Petit <kevin.petit@arm.com>
|
|
Rework of the shape operations. Shape operations are now done in shape specific
operators rather than being based on type.
shape_t is reworked to a list of size_t values.
Signed-off-by: Eric Kunze <eric.kunze@arm.com>
Change-Id: I2fca0728f9caa6a6fc34a8ce9e389bb581eea959
|
|
Signed-off-by: Kevin Petit <kevin.petit@arm.com>
Change-Id: Icb824233e5be84ac0eb693459b65441e9ae6c545
|
|
Be explicit that the value is converted to int32 and then clamped to the
output type range.
Also remove use of apply_clip, replacing with either apply_clip_s or apply_clip_u
Signed-off-by: Eric Kunze <eric.kunze@arm.com>
Change-Id: I0efc7f4d653c1bef13c9989cfe2647208dad9617
|
|
Signed-off-by: Kevin Petit <kevin.petit@arm.com>
Change-Id: Ieb895e834d1f3b512a666b062b963b08f82c8a24
|
|
Signed-off-by: Kevin Petit <kevin.petit@arm.com>
Change-Id: I7cad7d2bc6212e1765fbe3027abfb1fe37111445
|
|
Change either the name in the pseudocode or XML to what feels more
"natural" or in line with other related names.
Change-Id: Ic12a0418a80642c548c288b6ba26a4603b94fedc
Signed-off-by: Kevin Petit <kevin.petit@arm.com>
|
|
Change-Id: Ic362e5cbc607d1b7560c09326fcebcba606454ce
Signed-off-by: Kevin Petit <kevin.petit@arm.com>
|
|
- Some operators were using True and False.
- Document the use of true and false in the definition of
the boolean number format.
Signed-off-by: Kevin Petit <kevin.petit@arm.com>
Change-Id: Ic4c16c8527d46ca01d22e3c70c5371821a726df8
|
|
Axis is a dimension index of the input tensor, but is used to index the
output tensor.
Signed-off-by: Thomas Preud'homme <thomas.preudhomme@arm.com>
Change-Id: Ie50f3921153e01437fe763b5d2b6cfaa06049f25
|
|
The semicolons had no semantic meaning.
Signed-off-by: Kevin Petit <kevin.petit@arm.com>
Change-Id: I9447ea24c82a32c8bfe07fcc560f34a696e59831
|
|
- Add missing parenthesis in ARITHMETIC_SHIFT_RIGHT
- Add missing semicolons
- Remove stray dot in VARIABLE_WRITE
Change-Id: I28ab7c80c735995437588fffeffb1f12d112f3ec
Signed-off-by: Kevin Petit <kevin.petit@arm.com>
|
|
This makes it easier to process the pseudocode automatically.
Change-Id: I84394192598e589de07d43a7af60b96788e14f86
Signed-off-by: Kevin Petit <kevin.petit@arm.com>
|