This project is mirrored from https://review.mlplatform.org/tosa/reference_model.
Pull mirroring updated .
- Feb 05, 2024
-
-
Eric Kunze authored
Signed-off-by:
Eric Kunze <eric.kunze@arm.com> Change-Id: I7296840137d29718d14ca1470d02a806d880bc11
-
- Feb 02, 2024
-
-
TatWai Chong authored
The type of both start and size of slice are tosa shape type since 0.90. Update the type of these arguments and its usage in testing. Change-Id: Iff582982ad55d64a792183c6d46c9266510f924c Signed-off-by:
TatWai Chong <tatwai.chong@arm.com>
-
- Jan 31, 2024
-
-
This offers dynamism support for slice op. Change-Id: I4521c072c663a01e03e575e0cbbc8671c832f646 Signed-off-by:
TatWai Chong <tatwai.chong@arm.com>
-
Signed-off-by:
Jeremy Johnson <jeremy.johnson@arm.com> Change-Id: Ibab6aa2bbaee95f4ead737249d72e9169298bdde
-
Jeremy Johnson authored
Signed-off-by:
Jeremy Johnson <jeremy.johnson@arm.com> Change-Id: If748c75ac713bb5bd7c7e6bc787ce9993a97a8a0
-
- Jan 30, 2024
-
-
Changed to use pad input of PadOp for testing. The pad input is now a tensor of tosa.shape type. moved padding error checking from checkTensorAttributes to eval modified pad's PadOutputShapeMismatch test generation to avoid generating output shapes with dimensions <= 0 Signed-off-by:
Tai Ly <tai.ly@arm.com> Change-Id: I437c86d9a012903458a648667f6693db67b97d76
-
With recent changes for Tile and Reshape operators some input tensors are now required to have a "shape" type but it's not supported by the ModelRunner. This patch adds ability to set input tensors of type TOSA_REF_TYPE_SHAPE. Signed-off-by:
Dmitrii Agibov <dmitrii.agibov@arm.com> Change-Id: I3b721e933548d0dd72319aeb2de01ae249ccb6a6
-
Update serialization_lib to store SHAPE as INT64. Signed-off-by:
Jeremy Johnson <jeremy.johnson@arm.com> Change-Id: Ie589cd6670dc79b77df981c81cd7c27b982f20fa
-
Jeremy Johnson authored
Update data generator for main compliance values. Add test generation support. Fixed test set by including large 65k tests that were missing. Signed-off-by:
Jeremy Johnson <jeremy.johnson@arm.com> Change-Id: I8668c774e01c17e5d999aadf99c317e2dd893857
-
Jeremy Johnson authored
Added DEPTHWISE_CONV2D data generation. Updated test generation for FP16 and FP32. Signed-off-by:
Jeremy Johnson <jeremy.johnson@arm.com> Change-Id: I0471d0a1e4e279a27233f4d285082906ceea1bff
-
Eric Kunze authored
Signed-off-by:
Eric Kunze <eric.kunze@arm.com> Change-Id: I85595b1ea82e3a9db8e5f654767a911fa58c842f
-
- Jan 29, 2024
-
-
Evan Chandler authored
Signed-off-by:
evacha01 <evan.chandler@arm.com> Change-Id: Ib9d0abe0bd8826ca5ac051a5fe6ba18e1ba727f1
-
- Jan 25, 2024
-
-
Signed-off-by:
Won Jeon <won.jeon@arm.com> Change-Id: Id37100ba8bc2ac64b1f54788c6f765fedfab0816
-
Jerry-Ge authored
* Int8/UInt8 reference outputs were previously saved to INT32 * Save those in their native dtypes and updated other affected code Signed-off-by:
Jerry Ge <jerry.ge@arm.com> Georgios Pinitas <georgios.pinitas@arm.com> Change-Id: Id65fc8773150d3c56bc2c72789a6a0d3c78cd363
-
- Jan 24, 2024
-
-
Signed-off-by:
Won Jeon <won.jeon@arm.com> Change-Id: Ie80570146601c470a3be7c04a9d6e1016a7c547c
-
Signed-off-by:
Jeremy Johnson <jeremy.johnson@arm.com> Change-Id: Id0030fbd1b3b7a526dc17e947a433b4957dbf5e4
-
- Jan 23, 2024
-
-
TatWai Chong authored
Also fix the dimension mask out logic that only set batch dimension to unknown but others won't. Change-Id: I9e1d2c3bb1d24cba1242103aa2c7609ef0c2c0b3 Signed-off-by:
TatWai Chong <tatwai.chong@arm.com>
-
Dynamic shape model cannot directly run on the refenence model as the concrete size of tensor is unknown therefore the volume of tensor is not able to be allocated. Furthemore, the operators also expect the input model is static-shaped. This change turns dynamic model to static model prior to execution. - Add `ifm_dynamic` field into json description to indicate whether the model has dynamic shape or not. - Add the shape inference pass into the compilation pipeline, firstly legalize the dynamic tf/tfl model to dynamic tosa model with unknown shapes, and then run the shape inference pass with static shapes input argument to resolve unknown dimensions. Change-Id: I5d2ffd452becc562dc30546789705bd01dd7a0b0 Signed-off-by:
TatWai Chong <tatwai.chong@arm.com>
-
Won Jong Jeon authored
Signed-off-by:
Won Jeon <won.jeon@arm.com> Change-Id: Iaf59472cb32e03a92bad87ae9dba1b7548f20268
-
- Jan 18, 2024
-
-
Tai Ly authored
- fixed up reshape conformance tests to use shape input instead of attribute - fixed up tile conformance tests to use shape input instead of attribute - fixed output and output rank of dim op - allow rank 0 and rank 1 tensors for tosa.shape values (for shape = {}) - added initialization of rank 0 const_shape tensors (for shape = {}) - Update conformance tests to use new rescale attributes Signed-off-by:
Tai Ly <tai.ly@arm.com> Signed-off-by:
Won Jeon <won.jeon@arm.com> Change-Id: I6cce0d2a9ab066fe20a2abf9d2cfde3eb3d8c18b
-
Signed-off-by:
Jeremy Johnson <jeremy.johnson@arm.com> Change-Id: I7f7449c652844097fec6226bcc32ca765b40bc04
-
- Jan 17, 2024
-
-
Jeremy Johnson authored
Signed-off-by:
Jeremy Johnson <jeremy.johnson@arm.com> Change-Id: If08c560eac171124641dac66d7de9d5053db72df
-
Jeremy Johnson authored
Signed-off-by:
Jeremy Johnson <jeremy.johnson@arm.com> Change-Id: I7276f2db39e67314c950e972cc1a97b7796dcd18
-
- Jan 11, 2024
-
-
Add support for Fp64 tensors in the eager runner's helper functions, when precise mode is enabled. Signed-off-by:
Fabrizio Indirli <Fabrizio.Indirli@arm.com> Change-Id: Ib737c0d18fb1c7ac40ce6ea03a4fbcefae88ba5c
-
Eric Kunze authored
int8/int16 should be used for the clamping, not int32_t Signed-off-by:
Eric Kunze <eric.kunze@arm.com> Change-Id: I18209ca76cc83d95dc61f20f88344aafdbd72033
-
- Jan 10, 2024
-
-
Eric Kunze authored
Update the minimum cmake version to 3.16 and set policy CMP0135 Signed-off-by:
Eric Kunze <eric.kunze@arm.com> Change-Id: Idd96c7a318f9458e39d38cd07cf29b9ac6ee63ad
-
- Jan 08, 2024
-
-
Signed-off-by:
Jeremy Johnson <jeremy.johnson@arm.com> Change-Id: I466c1a8cb7c4cb3a8f6f18cf9885e7eb5e9819dd
-
Signed-off-by:
Jeremy Johnson <jeremy.johnson@arm.com> Change-Id: I7b0b14475fc4397baa404d57e03d6ca2f73ea746
-
Update and fix REDUCE_PRODUCT compliance verify lib support. Added compliance test generation with data range to not cause infs. Signed-off-by:
Jeremy Johnson <jeremy.johnson@arm.com> Change-Id: I3b3004c6caa80d97e330a6393f435f5270b56e21
-
Add lower bound to ABS ERROR checks to allow for cancellation of small values in error bounds checking. Re-adjust the error bounds multiplier to match the specification. Fix up naming of verify library info structs. Signed-off-by:
Jeremy Johnson <jeremy.johnson@arm.com> Change-Id: I3e178c3d7d59fef9c3696178646b23ed2a3ffc61
-
- Jan 05, 2024
-
-
The operators API generated by the script is no longer used and could be removed from the project. Signed-off-by:
Dmitrii Agibov <dmitrii.agibov@arm.com> Change-Id: Ia611b069463b3aded7d6546987c2323674184673
-
Jerry-Ge authored
- Found the error for framework test generator when it's not generating dynamic_shaped tests Signed-off-by:
Jerry Ge <jerry.ge@arm.com> Change-Id: I54bf1422026f7f962d3f6ed0be9bd2e4dade14c5
-
- Jan 03, 2024
-
-
Jerry-Ge authored
- For Casting from Float to Integers, if the input float is greater than INT_MAX, an overflow will happen when calling rint which causes the clipplings to be ineffectives - Moved all the range checks and clippings before rint to avoid this issue Signed-off-by:
Jerry Ge <jerry.ge@arm.com> Change-Id: Ic189d59685b6d36464e3ef26766665148a660a14
-
- Dec 15, 2023
-
-
- With input of 2147483648.00, the output overflows to -2147483648 - The root cause is the following: - std::rint still returns float, the existing implementation is forcing a cast from that float to int32_t - when the input is over INT32_MAX, the output right after rint will overflow which casues the clipplings later to be ineffective - Instead, perform the range check before rint Signed-off-by:
Jerry Ge <jerry.ge@arm.com> Change-Id: Ib5a8cfd98aea17e326f8b11097beeb2d2b3efac9
-
- Added a basic infrastructure for allowing generate network with dynamic_shapes - Added tests cases for - batch_to_space - depth_to_space, space_to_depth - linear Signed-off-by:
Jerry Ge <jerry.ge@arm.com> Change-Id: Ie3f13231a74485df64b852f554cfe65e995f0d03
-
- Dec 14, 2023
-
-
Test generation changed to only produce static reshape tests Reference model changed to produce ERROR_IF on inferred shapes Signed-off-by:
Jeremy Johnson <jeremy.johnson@arm.com> Change-Id: I92c92a40e7c0e457961bc654630040dff79a750b
-
Added indices shuffling and random INT32 support to generate lib with testing of these new random generator modes Signed-off-by:
Jeremy Johnson <jeremy.johnson@arm.com> Change-Id: I058d8b092470228075e8fe69c2ededa639163003
-
- Dec 12, 2023
-
-
Eric Kunze authored
Signed-off-by:
Eric Kunze <eric.kunze@arm.com> Change-Id: Ife703534594713616a992c460d201a8666c7b770
-
Signed-off-by:
Jeremy Johnson <jeremy.johnson@arm.com> Change-Id: I35d14e3e9f80198c1da3d267f12bc7a9a055e698
-
- Dec 11, 2023
-
-
Signed-off-by:
Jeremy Johnson <jeremy.johnson@arm.com> Change-Id: I3555e7216d403d436bf6e39d4b16bb000645c4bb
-