This project is mirrored from https://review.mlplatform.org/tosa/reference_model.
Pull mirroring updated .
- Nov 03, 2021
-
-
Eric Kunze authored
Update to the corresponding serialization library Change-Id: I323bf306d409b51bbf53447927953edd0fd79983 Signed-off-by:
Eric Kunze <eric.kunze@arm.com>
-
- Nov 02, 2021
-
-
Kevin Cheng authored
- TRANSPOSE: move perm attribute check to compile-time checker - TABLE: add output type checker Signed-off-by:
Kevin Cheng <kevin.cheng@arm.com> Change-Id: I834a5f290fbc384ef339b624060e6e5c77072c36
-
- Nov 01, 2021
-
-
Kevin Cheng authored
- MATMUL: only check a_zp/b_zp valid when this->qinfo exists - Fix typo in debug message Signed-off-by:
Kevin Cheng <kevin.cheng@arm.com> Change-Id: I2cedcb25e4f57fcaec2caa1b850ea1232a023340
-
Jeremy Johnson authored
Allow random shift values rather than just 11 Check for values that cause unpredictable behaviour Change-Id: I508c9d0982808ac03b8400d47ad9445d6afb1b79 Signed-off-by:
Jeremy Johnson <jeremy.johnson@arm.com>
-
- Oct 28, 2021
-
-
Kevin Cheng authored
- update serialization_lib hash - PAD: 1. make padding as an attribute instead of tensor. 2. add pad_const_int (for non-float type) / pad_const_fp (for float type) - TRANSPOSE: make perm as an attribute instead of tensor - TABLE: make table as attribute instead of tensor - update examples/ tests Signed-off-by:
Kevin Cheng <kevin.cheng@arm.com> Change-Id: Iddc446db4b356ba2f36ea4a79b7220b9cfc2aa4e
-
- Oct 26, 2021
-
-
Kevin Cheng authored
- update serialization_lib hash - check model version against serializer version - add "-v" to command line option to print out model version Signed-off-by:
Kevin Cheng <kevin.cheng@arm.com> Change-Id: I554cf0fdead22e7e5f91d2e98831459286c40a2d
-
- Oct 25, 2021
-
-
Change-Id: Idb36b1f1c0d78ec101c168865a9c8d03221b4c84 Signed-off-by:
Jeremy Johnson <jeremy.johnson@arm.com>
-
- Oct 21, 2021
-
-
Signed-off-by:
Kevin Cheng <kevin.cheng@arm.com> Change-Id: I37fa4fedbeb64c1e147f2b43f45cf8e25854256c
-
Change output size error_if check in ref model to match specification. Remove size check from test generation as output shape is always correctly calculated. Change-Id: I5be64f31e6448b47e80fc0a4af11bb312f366a26 Signed-off-by:
Jeremy Johnson <jeremy.johnson@arm.com>
-
- Oct 18, 2021
-
-
Kevin Cheng authored
Signed-off-by:
Kevin Cheng <kevin.cheng@arm.com> Change-Id: Ifd771171904d1e5a9db3ea1cae3ac9017e971c8c
-
Kevin Cheng authored
- Also delay tensor allocation after operator being validated ERROR_IF can be caught first before 0 or negative dimension set the graph_status to UNPREDICTABLE - Rescale, Argmax, FullyConnected, Matmul, Pad, Reshape, Slice, Transpose, Clamp, Concat, Equal, Greater, GreaterEqual, Table Signed-off-by:
Kevin Cheng <kevin.cheng@arm.com> Change-Id: I4e1b3e5794fe195ce1a37e28443ae584645a3b91
-
Signed-off-by:
Matthew Haddon <matthew.haddon@arm.com> Change-Id: I659337aadfd0498bf88a95737f69c51efec797cc
-
Change-Id: I75f2a4ab6790dcbdfaec064f42f601d8f44da70b Signed-off-by:
Matthew Haddon <matthew.haddon@arm.com>
-
* Negative tests for rescale op added Signed-off-by:
Matthew Haddon <matthew.haddon@arm.com> Change-Id: I70aead1c6a67f159c7b7c9a05f7d5f0b92521584
-
- Oct 14, 2021
-
-
Kevin Cheng authored
Signed-off-by:
Kevin Cheng <kevin.cheng@arm.com> Change-Id: Idd12aab4d52365f3137a403d362790abc16e66d0
-
- Oct 13, 2021
-
-
Kevin Cheng authored
Signed-off-by:
Kevin Cheng <kevin.cheng@arm.com> Change-Id: I0947f136e768605f997fcaf74c6b9a7e62e748a4
-
- Oct 12, 2021
-
-
Change-Id: Id1c2d2a41bdfff6b3fe45f79bf99abd0b5beb704 Signed-off-by:
Les Bell <les.bell@arm.com>
-
Matthew Haddon authored
* Negative tests for ERROR_IFs given in spec * Constrict dimension size of latter ranks if rank is larger than 4 Signed-off-by:
Matthew Haddon <matthew.haddon@arm.com> Change-Id: Iffea1874e876dba83c8a7c63049283bf7b3ba74b
-
- Oct 11, 2021
-
-
* Negative testing support added for the following operators: reduce_all, reduce_any, reduce_max, reduce_min, reduce_product, reduce_sum Change-Id: Ife4f0307b681510e8910a23a39efc127c82ae120 Signed-off-by:
Matthew Haddon <matthew.haddon@arm.com>
-
Change-Id: Ic2aebe40b5cce61d4576a64f4f48ff87b36475c2 Signed-off-by:
Jeremy Johnson <jeremy.johnson@arm.com>
-
- Oct 07, 2021
-
-
Matthew Haddon authored
* Added negative testing support for the following operators: abs, bitwise_not, ceil, clz, exp, floor, log, logical_not, negate, reciprocal, rsqrt Change-Id: Icc6f146c6407502520330678420951749ba2a9ef Signed-off-by:
Matthew Haddon <matthew.haddon@arm.com>
-
Matthew Haddon authored
* Negative testing support for the following operators: ADD, BITWISE_AND, BITWISE_OR, BITWISE_XOR, INTDIV, LOGICAL_AND, LOGICAL_LEFT_SHIFT, LOGICAL_RIGHT_SHIFT, LOGICAL_OR, LOGICAL_XOR, MAXIMUM, MINIMUM, POW, SUB Change-Id: I2271f00b0b619604e864e36e4a4f987f1b2a37d4 Signed-off-by:
Matthew Haddon <matthew.haddon@arm.com>
-
Matthew Haddon authored
Change-Id: I7c670c5f9b97a18a6f586b16f31bc9fc301f6bc3 Signed-off-by:
Matthew Haddon <matthew.haddon@arm.com>
-
* Positive and negative tests are now produced entirely in isolation, if 'both' test types are chosen all positive tests are generated, then all the negative tests are generated, without combining the two * Moved tensor generation out of serialize test and into it's own function Signed-off-by:
Matthew Haddon <matthew.haddon@arm.com> Change-Id: Id8e9023d2c2966a0b14ae83d2d848a66cb125fcb
-
Change-Id: I2a0aa63a4256629d12166638812dc5b854db2ddf Signed-off-by:
Jeremy Johnson <jeremy.johnson@arm.com>
-
- Oct 06, 2021
-
-
Kevin Cheng authored
Signed-off-by:
Kevin Cheng <kevin.cheng@arm.com> Change-Id: Id0e4ec849a9cf94c9fb04ca999738cc164dbb669
-
- Oct 05, 2021
-
-
- comparison ops could have different type of input/output - add SUBGRAPH_ERROR_IF() when operator doesn't have any output tensor Signed-off-by:
Kevin Cheng <kevin.cheng@arm.com> Change-Id: I10f2c10f92de1c7a979221a421fa8e86b26fcc72
-
- Oct 04, 2021
-
-
Matthew Haddon authored
* Added WrongInputType and WrongOutputType checks * Delete and Add extra inputs/outputs when doing op graph checks * Add incorrect rank checks * Entire op dictionary is now passed to build functions * Error if validation now done in separate function * Duplicate tests are ignored Change-Id: Ie1117bdbc9bdeb42059123792ce1df4cc56db54e Signed-off-by:
Matthew Haddon <matthew.haddon@arm.com>
-
- Oct 01, 2021
-
-
Kevin Cheng authored
Signed-off-by:
Kevin Cheng <kevin.cheng@arm.com> Change-Id: Iea91076f3e0673ce5adfcca247d968416023fa58
-
- Sep 30, 2021
-
-
Kevin Cheng authored
- Elementwise unary op input/output type should match. - TOSA_UNPREDICTABLE should ONLY be sent when a tensor with negative dimension is read/written Signed-off-by:
Kevin Cheng <kevin.cheng@arm.com> Change-Id: I689518933a2b56cd62793e3f28ea66a6e57b057c
-
Kevin Cheng authored
- Also replace SIMPLE_FATAL_ERROR() with FATAL_ERROR() since they're duplicate - Replace FATAL_ERROR()/ASSERT_MSG() with ERROR_IF_SUBGRAPH() if the condition is a graph error FATAL_ERROR()/ASSERT() should only be used by model internal/runtime error like file reading. Signed-off-by:
Kevin Cheng <kevin.cheng@arm.com> Change-Id: If1e1e2488054a0ecd800fb0f2ea6487019282500
-
Kevin Cheng authored
Signed-off-by:
Kevin Cheng <kevin.cheng@arm.com> Change-Id: Ic0c4bd1a55c6782aeacb77163a3a093edb86d437
-
- Sep 28, 2021
-
-
Kevin Cheng authored
Signed-off-by:
Kevin Cheng <kevin.cheng@arm.com> Change-Id: Iaac727159a84de1f83de549c3a22704096f46bf9
-
Kevin Cheng authored
Signed-off-by:
Kevin Cheng <kevin.cheng@arm.com> Change-Id: I14bec5020c91f7abd6c1adc31068a22961330a97
-
- Sep 27, 2021
-
-
Signed-off-by:
Kevin Cheng <kevin.cheng@arm.com> Change-Id: I61e163cfdb54057f65dc967394decc3fad53eb89
-
Matthew Haddon authored
* TosaErrorValidator implemented to produce and test for ERROR_IF conditions * RESIZE specific ERROR_IF test support added * Set rank and type parameters before test generation loop to avoid multiple checks for valid parameters * Increase output dimensions if IFM/OFM ratio smaller than 1/16 Signed-off-by:
Matthew Haddon <matthew.haddon@arm.com> Change-Id: I430e13383d99c2e25354f53d3703fb9be973f6d4
-
- Sep 24, 2021
-
-
* larger values for stride/padding/dilation/kernel * sparse test generation, as there are too many variations Signed-off-by:
Les Bell <les.bell@arm.com> Change-Id: If13ea17024d81262ab892e3111cbf5833e77a8c5
-
- Sep 23, 2021
-
-
Change-Id: Ib70f6bdbfacfe125283821f1e3858542b05c60ad Signed-off-by:
Matthew Haddon <matthew.haddon@arm.com>
-
- Sep 22, 2021
-
-
Jared Smolens authored
- Catch and classify as INTERNAL_ERROR unix signals thrown by reference model - Made -t a required argument Change-Id: I2be1ed6f5c1e862d6a3aee43c6b1e8575ab50d1f Signed-off-by:
Jared Smolens <jared.smolens@arm.com>
-
- Sep 20, 2021
-
-
Kevin Cheng authored
Signed-off-by:
Kevin Cheng <kevin.cheng@arm.com> Change-Id: Iccbabe4298de4bd681115e273c16c48ea6d3028e
-