aboutsummaryrefslogtreecommitdiff
path: root/chapters/appendix_a.adoc
AgeCommit message (Collapse)Author
2024-05-23Clarifications and cleanupEric Kunze
Miscellaneous cleanup and clarifications across the specification. No functional changes intended in this commit. Signed-off-by: Eric Kunze <eric.kunze@arm.com> Change-Id: Iaa89e2f7828ae55abe3fbb19afafb6161a8a43fc
2024-05-20Update testing bounds value for fp8 typesEric Kunze
Signed-off-by: Eric Kunze <eric.kunze@arm.com> Change-Id: I222917e6a3089c1ea0d1485007947e3b8e385c0d
2024-05-16Main conformance: update test set generatorsDominic Symes
Update test set generator scaling factors so that different set values occur on calls to set_data() for each test S value. Signed-off-by: Dominic Symes <dominic.symes@arm.com> Change-Id: I5651944b31476e264360c0fce17fc7a074ae425e
2024-04-19Status update and text cleanupEric Kunze
Update the status section of the specification as well as various textual simplifications/clarifications. Signed-off-by: Eric Kunze <eric.kunze@arm.com> Change-Id: Ie77039e537bc66e6d05b14c7e0705b1c1cc4be58
2024-02-14FFT, RFFT: Improve reference pseudo-codeDominic Symes
Add types for the angle caclulations. Add conformance appendix section for RFFT2D. Signed-off-by: Dominic Symes <dominic.symes@arm.com> Change-Id: Ic0ab79c0784c6359d2d66290e124dfb670a879cc
2023-11-22Main Conformance: Update RSQRT precisionDominic Symes
Change RSQRT precision to 2 ulp to allow unfused square root and reciprocal. Also fixes: - a typo in EXP and POW conformance - exp2() handling of large negative values - symmetry about 0 of test set S=4 data generation - err_bnd cannot be negative - ulp not taken for reference value of 0 Change-Id: Idaeeb7b615f1634e8e09dea5f82827039780b462 Signed-off-by: Dominic Symes <dominic.symes@arm.com>
2023-11-01Main Conformance: Update EXP, POW precisionDominic Symes
EXP and POW are complex to implement in a precise number of ulp and a more flexible precision is given. Additionally, the test generater S=5 has the bias values changed to zero. If the bias values are non-zero then a bias for all output tensor elements of the channel can affect the dot product bias test. The numeric accuracy helpers are updated for bf16. Signed-off-by: Dominic Symes <dominic.symes@arm.com> Change-Id: Ia46a2ef4d577244b6983a08ce850de3db9573a42
2023-08-16Main conformance: Add local bound flag for convolutionsDominic Symes
Adds a local_bound flag to convolution operations. If the local_bound flag is true then the output accuracy for floating-point is measured relative to the input tensor data local to the particular convolution output. If the local_bound flag is false then the output accuracy for floating-point is measured relative to the whole input tensor. This accuracy measure is the default and more approapriate for implementations with non local optimizations (such as transform based fast convolutions). Signed-off-by: Dominic Symes <dominic.symes@arm.com> Change-Id: I64e3e4981a63e26e6391149e28d5d71e7ef5560a
2023-07-06AVG_POOL2D conformance: fix kernel size namesDominic Symes
Change-Id: I188694080b74ec81c6dea675430e29db11ee6079 Signed-off-by: Dominic Symes <dominic.symes@arm.com>
2023-06-08Fix main inference conformance test dataDominic Symes
Correct the kernel size for the DEPTHWISE_CONV2D test data generator in Appendix A. Change-Id: I4fea6192bcd8a70d82d12543730cdc684fb839e5 Signed-off-by: Dominic Symes <dominic.symes@arm.com>
2023-06-02Fix main inference conformance data generator scalingDominic Symes
Correct scaling factor for tosa_mi_data() for S=1 and S=4 data sets. Signed-off-by: Dominic Symes <dominic.symes@arm.com> Change-Id: I3f09f758d82ccd64da8bb26fd219ff4d7a55918c
2023-05-09Main inference compliance testing updatesDominic Symes
- Add additional main inference compliance test data sets for dot product testing in Appendix A. - Express dot product test criteria in terms of tensors rather than individual dot products. - Add per-operation details on test set generation in Appendix A. - Clarify compliance vs conformance wording. - Clarify that the comment in the table of section 1.8.2 on integer saturation applies to the CAST from floating point to integer operation. Change-Id: I1b4c4493b02ed7c8a6eb547656c91ca67d4b0e86 Signed-off-by: Dominic Symes <dominic.symes@arm.com>
2023-02-01Main inference conformance draftDominic Symes
This patch contains a draft of the Main Inference profile floating-point conformance requirements. Change-Id: Ib1201fff7f4015668b2de6dccf4cd85b419c3f76 Signed-off-by: Dominic Symes <dominic.symes@arm.com>