This project is mirrored from https://review.mlplatform.org/tosa/reference_model.
Pull mirroring updated .
- Sep 15, 2021
-
-
Eric Kunze authored
Signed-off-by:
Eric Kunze <eric.kunze@arm.com> Change-Id: I98a6b05622dd88e5e3fe1b7ec79d67ae803e6c2d
-
Jeremy Johnson authored
Change-Id: I4f05b256f4f439f72e5ee8bce60e4e92b6aaa6e7 Signed-off-by:
Jeremy Johnson <jeremy.johnson@arm.com>
-
- Sep 14, 2021
-
-
Kevin Cheng authored
- add output tensor to main block - fix bug where tensor cannot serialize list of const data Signed-off-by:
Kevin Cheng <kevin.cheng@arm.com> Change-Id: I40b96d634642e24e6fae6fa3ad6846f5911005f7
-
Jeremy Johnson authored
Change-Id: I358fbd4c958e057687f25d585eb8fdd80fd9ae42 Signed-off-by:
Jeremy Johnson <jeremy.johnson@arm.com>
-
- Sep 08, 2021
-
-
Matthew Haddon authored
* Implemented InvalidValidator to remove existing invalid tests. * Removed invalid tests for resize, rescale, conv2d, depthwise_conv2d, transpose_conv2d, avg_pool2d, and max_pool2d (note default avg/max_pool never produced negative tests, but theoretically could). * Changed behaviour of computerMultiplierAndShift to produce the allowed range of shift values. Signed-off-by:
Matthew Haddon <matthew.haddon@arm.com> Change-Id: I5e7b11030deb5322e2ca08fd4f4467fb02b7740d
-
Matthew Haddon authored
* The option --test-type allows the user to select 'positive', 'negative', or 'both' types of tests produced by the test generator. * Reset RNG when looping through negative test generation (generation not implemented) Signed-off-by:
Matthew Haddon <matthew.haddon@arm.com> Change-Id: I1bfcb3170e7380be0f98b36b3d4abc4779a05abe
-
- Sep 07, 2021
-
-
* max batch size ignored if target shape is set * W size reduced if large input tensor used Signed-off-by:
Matthew Haddon <matthew.haddon@arm.com> Change-Id: I13472ab768fa93a1d0b9e28964f56ec4a06dbdfd
-
- Aug 31, 2021
-
-
Matthew Haddon authored
* In line with the TOSA spec the DIV operator has been renamed INTDIV Signed-off-by:
Matthew Haddon <matthew.haddon@arm.com> Signed-off-by:
Kevin Cheng <kevin.cheng@arm.com> Change-Id: I1dc6e88220ef26b24487675600b6cd1e5bb8b0f7
-
Matthew Haddon authored
* Sets multiple of input dimension to one if the dimension of the input tensor is large to reduce ouput tensor size. Change-Id: I2ebcecf438282de032a33e0cf4b3847cbf94440d
-
- Aug 25, 2021
-
-
Jared Smolens authored
- Updated example tests, added missing npy files - Updated README file with fields in desc.json Change-Id: I5651ed5260866a8381adf620fb6dd6405cb2833b
-
- Aug 20, 2021
-
-
Kevin Cheng authored
- Adding return code enum class: {VALID, UNPREDICTABLE, ERROR} - Runtime errors (e.g. memory allocation failure) will abort immediately, or will return one of the three return codes Part of the codes are re-written to pass REQUIRE() to the top-level (e.g. apply_scale_32/16()) - Update setExpectedFailure() to setExpectedReturnCode() on test generation script - Update test regression script to interface with reference model change Signed-off-by:
Kevin Cheng <kevin.cheng@arm.com> Change-Id: Ia063c936bcb2a54d6e379a5bb6801aa72d1186f1
-
* Currently when a target shape is specified, the W value of the input tensor is always equal to N, this is not the case when no target shape is defined. * A random value for W is generated every time. Signed-off-by:
Matthew Haddon <matthew.haddon@arm.com> Change-Id: I8f8ecb32308cef4a1ece1871f76ebbd5f0cf881f
-
- Aug 19, 2021
-
-
* Concat tests now contain between 2 and 5 input tensors concatenated together * Both input and const tensors are used as inputs to the operator * Option to add in const tensor inputs (this is slow), defaults to original behaviour Signed-off-by:
Matthew Haddon <matthew.haddon@arm.com> Change-Id: I2a0cc622d31aceab8d24521668d0aae040ba73b1
-
- Aug 12, 2021
-
-
Kevin Cheng authored
Signed-off-by:
Kevin Cheng <kevin.cheng@arm.com> Change-Id: I61620f160c7dad6aac5fcc3da0a6e97f3bae5b40
-
* encode pad in the test name with leading zeros Change-Id: I7b1cc04014d390e707de099c5f78f93f5f344d69 Signed-off-by:
Les Bell <les.bell@arm.com>
-
* RESCALE can now produce tests with UINT8 as the input/output datatype. Signed-off-by:
Matthew Haddon <matthew.haddon@arm.com> Change-Id: I0a5d7b3c6dd7c2501d14e5d558b1f18e5e967fa9
-
Change-Id: Ib299b78abe0e5c2ef0aeff9d853e583078768e1c Signed-off-by:
Les Bell <les.bell@arm.com>
-
- Aug 10, 2021
-
-
Les Bell authored
Signed-off-by:
Les Bell <les.bell@arm.com> Change-Id: I9daf8fd691af74500819718519caac30c966a1f2
-
- Jul 29, 2021
-
-
Les Bell authored
* for int8 and uint8 only * not for int16 * pass all data types to the quantizaion generator functions as some operators (all convolutions, fully_connected) may use different types for the input and weight tensors * also allows input type filtering for convolution operators Change-Id: Iea3d00f03807a8db35b40d4e8988929ec6549b44 Signed-off-by:
Les Bell <les.bell@arm.com>
-
Jeremy Johnson authored
Change range of INT4 to -8 to 7 and INT8 to -128 to 127. Change clamp attributes to be in range of signed input type. Change-Id: Iccee1bf29b12da6f7622922f89d59cc0730460c2 Signed-off-by:
Jeremy Johnson <jeremy.johnson@arm.com>
-
- Jul 27, 2021
-
-
Matthew Haddon authored
* The SELECT operator requires a boolean condition tensor, this is now enforced earlier in the code to avoid an unused input tensor being created. Signed-off-by:
Matthew Haddon <matthew.haddon@arm.com> Change-Id: Ief78cff8bd42bd24e9b977d41d05c1504d0422b4
-
- Jul 20, 2021
-
-
Jeremy Johnson authored
Signed-off-by:
Jeremy Johnson <jeremy.johnson@arm.com> Change-Id: I5f01fa589692f7c6d556a4c22a44caec7c906b9d
-
- Jul 15, 2021
-
-
Signed-off-by:
Kevin Cheng <kevin.cheng@arm.com> Change-Id: I122ef93965d04b715ed6eccddd8f4854d71b30f1
-
- Jul 13, 2021
-
-
* By making the naming scheme consistent for MUL tests (shape_type_perm_shift) we are more easily able to parse parameters. This is the same system used for operators like RESHAPE, where perm0 is the only permutation allowed, but it still included in the test name. * For multiple operators axis and axis value were split by an underscore, Now the form is axisX in line with other parameters. Signed-off-by:
Matthew Haddon <matthew.haddon@arm.com> Change-Id: I92e5af6fd1e2b83bdb23ac4a4ab350010aeeeccb
-
* The default rank range has been increased from 1-4 to 1-6. * Higher ranks often make tests too large so a default_test_rank_range has been included which makes the test generator produce only tests with ranks 1-4. * The user can now specify target-rank up to rank 6 which is allowed for all operators with the default rank range. * The maximum rank allowed (6) stored in TOSA_TENSOR_MAX_RANK variable. * User specified target shapes up to maximum rank are accepted without need for setting target-rank filter. Signed-off-by:
Jeremy Johnson <jeremy.johnson@arm.com> Change-Id: Ie4ca408d329cb1000ce9d3592b2c7d62bf311b3b
-
- Jul 09, 2021
-
-
Matthew Haddon authored
* Tests produced now correctly display the rank being reshaped to in the file name. Signed-off-by:
Matthew Haddon <matthew.haddon@arm.com> Change-Id: Ic31fce68b6b8bf7aa52686d54752d90d4b7e2242
-
- Jul 07, 2021
-
-
* When generating permutations of a reshape operator test there was no check to ensure that the permutation was unique, this patch adds a check to ensure that no two newShape variables are the same. * Added a 'escape_counter' which will break out of while loop if it continues on for too long. Signed-off-by:
Matthew Haddon <matthew.haddon@arm.com> Change-Id: I231eb9b546a73431835b5dc899784f69cc22a773
-
- Jul 01, 2021
-
-
Kevin Cheng authored
- If not specified, will be initialized with dirname(test_desc) - Like -Cflatbuffer_dir, reference model isn't responsible for creating directory. User need to make sure target directory path exists. Signed-off-by:
Kevin Cheng <kevin.cheng@arm.com> Change-Id: I9cfcc801cff648e53306f8de8ea8d5eaaf87ea80
-
- Jun 28, 2021
-
-
Change transpose permutation generation to limit to the number of possible permutations that can be created by the shape size or the argument setting which ever is smaller. Also make sure all permutations up to this number are generated rather than randomly skipped due to duplicates. Allow rank 1 transpose tests as the specification allows rank 1. Change-Id: I28ea64c1d819f3af72c97bed43cfe7279c7e2f9c Signed-off-by:
Jeremy Johnson <jeremy.johnson@arm.com>
-
- Jun 24, 2021
-
-
Kevin Cheng authored
- Constant tensors are now initialized from embedded u8 array instead from numpy. - Python unit test generator and built-in test hasn't been updated. Signed-off-by:
Kevin Cheng <kevin.cheng@arm.com> Change-Id: I5cb86f8e5ec8f23fee5dcbf257874a0f204ede04
-
- Jun 09, 2021
-
-
Kevin Cheng authored
Signed-off-by:
Kevin Cheng <kevin.cheng@arm.com> Change-Id: I83f75dd5beb60fe7ca2d573ea0f81bac4cd62a07
-
- Jun 04, 2021
-
-
Kevin Cheng authored
Change-Id: Iac786eff96183938d2fd11cde9313c6e8e1270a5
-
- May 25, 2021
-
-
Kevin Cheng authored
Signed-off-by:
Kevin Cheng <kevin.cheng@arm.com> Change-Id: If577035d71c5f9970df5b6a78640a3028c3f83c0
-
- May 14, 2021
-
-
Kevin Cheng authored
Change-Id: Id253b62af906a7ffbdbc0d338b6ec92d3795d1c6
-
- May 12, 2021
-
-
Kevin Cheng authored
- remove identityN and placeholder - add div - update serialization_lib hash - update apply_scale_16() assertion - regenerate examples/ due to serialization_lib change Change-Id: I7183d92bec33697c65adfc07cb8eb89c6882675a
-
- May 06, 2021
-
-
Kevin Cheng authored
Signed-off-by:
Kevin Cheng <kevin.cheng@arm.com> Change-Id: I0c6286bdbd78c8e479eb64deead8822189968bef
-
- Apr 30, 2021
-
-
Kevin Cheng authored
Signed-off-by:
Kevin Cheng <kevin.cheng@arm.com> Change-Id: I068d3ce0bffe1b49845f0c8cd39130060cceaf19
-
Kevin Cheng authored
Signed-off-by:
Kevin Cheng <kevin.cheng@arm.com> Change-Id: Ifc80b83c1abcd08e1b7f8e50f647b74c861bc933
-
Kevin Cheng authored
Signed-off-by:
Kevin Cheng <kevin.cheng@arm.com> Change-Id: Ic8fe6e1fd899b41d444fd4f477d0f515ce0e9cc9
-
Jared Smolens authored
Signed-off-by:
Kevin Cheng <kevin.cheng@arm.com> Signed-off-by:
Jared Smolens <jared.smolens@arm.com> Change-Id: I0ef59cadd2f5097a08abb00d3fc256c556107ee0
-