From 5bd2405c13b1409d8af7a3faab72f88ca4adca44 Mon Sep 17 00:00:00 2001 From: chachaleo Date: Wed, 25 Oct 2023 09:36:22 +0700 Subject: [PATCH 1/5] modification transpose 2D --- src/operators/tensor/linalg/transpose.cairo | 38 +++++++++++++++++++ tests/src/lib.cairo | 1 + tests/src/operators.cairo | 1 + tests/src/operators/transpose_test.cairo | 41 +++++++++++++++++++++ 4 files changed, 81 insertions(+) create mode 100644 tests/src/operators.cairo create mode 100644 tests/src/operators/transpose_test.cairo diff --git a/src/operators/tensor/linalg/transpose.cairo b/src/operators/tensor/linalg/transpose.cairo index dc972e9a3..74a5a36fc 100644 --- a/src/operators/tensor/linalg/transpose.cairo +++ b/src/operators/tensor/linalg/transpose.cairo @@ -14,6 +14,10 @@ fn transpose, impl TCopy: Copy, impl TDrop: D assert((*self.shape).len() > 1, 'cannot transpose a 1D tensor'); assert(axes.len() == (*self.shape).len(), 'shape and axes length unequal'); + if (*self.shape).len() == 2 { + return transpose2D(@(*self)); + } + let output_shape = permutation_output_shape(*self.shape, axes); let output_data_len = len_from_shape(output_shape); @@ -47,3 +51,37 @@ fn transpose, impl TCopy: Copy, impl TDrop: D return TensorTrait::new(output_shape, output_data.span()); } + + +fn transpose2D, impl TCopy: Copy, impl TDrop: Drop>( + self: @Tensor +) -> Tensor { + assert((*self.shape).len() == 2, 'transpose a 2D tensor'); + + let mut output_data = ArrayTrait::new(); + let mut output_shape = ArrayTrait::new(); + + let n = *self.shape[0]; + let m = *self.shape[1]; + + output_shape.append(m); + output_shape.append(n); + + let mut j: usize = 0; + loop { + if j == m { + break (); + } + let mut i = 0; + loop { + if i == n { + break (); + } + output_data.append(*(*self.data)[i * m + j]); + i += 1; + }; + j += 1; + }; + + return TensorTrait::new(output_shape.span(), output_data.span()); +} diff --git a/tests/src/lib.cairo b/tests/src/lib.cairo index 081ff4807..0d88c1101 100644 --- a/tests/src/lib.cairo +++ b/tests/src/lib.cairo @@ -4,3 +4,4 @@ mod tensor_core; mod nodes; mod helpers; mod ml; +mod operators; diff --git a/tests/src/operators.cairo b/tests/src/operators.cairo new file mode 100644 index 000000000..3c2ffc47b --- /dev/null +++ b/tests/src/operators.cairo @@ -0,0 +1 @@ +mod transpose_test; \ No newline at end of file diff --git a/tests/src/operators/transpose_test.cairo b/tests/src/operators/transpose_test.cairo new file mode 100644 index 000000000..de9b048f6 --- /dev/null +++ b/tests/src/operators/transpose_test.cairo @@ -0,0 +1,41 @@ +use array::{ArrayTrait, SpanTrait}; +use orion::operators::tensor::{TensorTrait, Tensor, U32Tensor}; +use debug::PrintTrait; + + +#[test] +#[available_gas(200000000000)] +fn transpose_test_shape() { + let tensor = TensorTrait::::new( + shape: array![4, 2].span(), data: array![0, 1, 2, 3, 4, 5, 6, 7].span(), + ); + + let result = tensor.transpose(axes: array![1, 0].span()); + assert(result.shape == array![2, 4].span(), 'wrong dim'); +} + +#[test] +#[available_gas(200000000000)] +fn transpose_test_values() { + let tensor = TensorTrait::::new( + shape: array![4, 2].span(), data: array![0, 1, 2, 3, 4, 5, 6, 7].span(), + ); + + let result = tensor.transpose(axes: array![1, 0].span()); + assert(result.data == array![0, 2, 4, 6, 1, 3, 5, 7].span(), 'wrong data'); +} + + +#[test] +#[available_gas(200000000000)] +fn transpose_test_3D() { + let tensor = TensorTrait::::new( + shape: array![2, 2, 2].span(), data: array![0, 1, 2, 3, 4, 5, 6, 7].span(), + ); + + let result = tensor.transpose(axes: array![1, 2, 0].span()); + + assert(result.shape == array![2, 2, 2].span(), 'wrong shape'); + assert(result.data == array![0, 4, 1, 5, 2, 6, 3, 7].span(), 'wrong data'); +} + From 1ec3069ce394e21873604fcba10d154ab95da7cf Mon Sep 17 00:00:00 2001 From: raphaelDkhn Date: Thu, 26 Oct 2023 15:08:01 +0300 Subject: [PATCH 2/5] fix orion code due to version upgrade --- Scarb.lock | 20 + Scarb.toml | 6 +- src/lib.cairo | 1 - .../implementations/fp16x16/math/comp.cairo | 70 +- .../implementations/fp16x16/math/core.cairo | 616 ++++++++--------- .../implementations/fp16x16/math/hyp.cairo | 170 ++--- .../implementations/fp16x16/math/trig.cairo | 366 ++++++----- .../fp16x16wide/math/comp.cairo | 70 +- .../fp16x16wide/math/core.cairo | 11 + .../fp16x16wide/math/hyp.cairo | 9 + .../fp16x16wide/math/trig.cairo | 366 ++++++----- .../implementations/fp8x23/math/comp.cairo | 70 +- .../implementations/fp8x23/math/core.cairo | 620 +++++++++--------- .../implementations/fp8x23/math/hyp.cairo | 239 +++---- .../implementations/fp8x23/math/trig.cairo | 368 ++++++----- .../fp8x23wide/math/comp.cairo | 70 +- .../fp8x23wide/math/core.cairo | 620 +++++++++--------- .../implementations/fp8x23wide/math/hyp.cairo | 196 +++--- .../fp8x23wide/math/trig.cairo | 11 + src/numbers/fixed_point/utils.cairo | 38 +- src/operators/nn/functional/softmax.cairo | 1 - .../implementations/tensor_fp16x16.cairo | 6 - .../implementations/tensor_fp8x23.cairo | 6 - .../tensor/implementations/tensor_i8.cairo | 6 - tests/.gitignore | 1 - tests/Scarb.toml | 8 - tests/cairo_project.toml | 2 - tests/{src => }/helpers.cairo | 0 tests/{src => }/helpers/tensor.cairo | 0 .../helpers/tensor/fixed_point.cairo | 0 .../helpers/tensor/fixed_point/fp16x16.cairo | 0 .../helpers/tensor/fixed_point/fp8x23.cairo | 0 tests/{src => }/helpers/tensor/i32.cairo | 0 tests/{src => }/helpers/tensor/i8.cairo | 0 tests/{src => }/helpers/tensor/u32.cairo | 0 tests/lib.cairo | 7 + tests/{src => }/ml.cairo | 0 tests/{src => }/ml/tree_regressor.cairo | 0 tests/{src => }/nodes.cairo | 0 tests/{src => }/nodes/.DS_Store | Bin tests/{src => }/nodes/abs_fp16x16.cairo | 0 .../{src => }/nodes/abs_fp16x16/input_0.cairo | 0 .../nodes/abs_fp16x16/output_0.cairo | 0 tests/{src => }/nodes/abs_fp8x23.cairo | 0 .../{src => }/nodes/abs_fp8x23/input_0.cairo | 0 .../{src => }/nodes/abs_fp8x23/output_0.cairo | 0 tests/{src => }/nodes/abs_i32.cairo | 0 tests/{src => }/nodes/abs_i32/input_0.cairo | 0 tests/{src => }/nodes/abs_i32/output_0.cairo | 0 tests/{src => }/nodes/abs_i8.cairo | 0 tests/{src => }/nodes/abs_i8/input_0.cairo | 0 tests/{src => }/nodes/abs_i8/output_0.cairo | 0 tests/{src => }/nodes/acos_fp16x16.cairo | 0 .../nodes/acos_fp16x16/input_0.cairo | 0 .../nodes/acos_fp16x16/output_0.cairo | 0 tests/{src => }/nodes/acos_fp8x23.cairo | 0 .../{src => }/nodes/acos_fp8x23/input_0.cairo | 0 .../nodes/acos_fp8x23/output_0.cairo | 0 tests/{src => }/nodes/acosh_fp16x16.cairo | 0 .../nodes/acosh_fp16x16/input_0.cairo | 0 .../nodes/acosh_fp16x16/output_0.cairo | 0 tests/{src => }/nodes/acosh_fp8x23.cairo | 0 .../nodes/acosh_fp8x23/input_0.cairo | 0 .../nodes/acosh_fp8x23/output_0.cairo | 0 tests/{src => }/nodes/add_fp16x16.cairo | 0 .../{src => }/nodes/add_fp16x16/input_0.cairo | 0 .../{src => }/nodes/add_fp16x16/input_1.cairo | 0 .../nodes/add_fp16x16/output_0.cairo | 0 .../nodes/add_fp16x16_broadcast.cairo | 0 .../nodes/add_fp16x16_broadcast/input_0.cairo | 0 .../nodes/add_fp16x16_broadcast/input_1.cairo | 0 .../add_fp16x16_broadcast/output_0.cairo | 0 tests/{src => }/nodes/add_fp8x23.cairo | 0 .../{src => }/nodes/add_fp8x23/input_0.cairo | 0 .../{src => }/nodes/add_fp8x23/input_1.cairo | 0 .../{src => }/nodes/add_fp8x23/output_0.cairo | 0 .../nodes/add_fp8x23_broadcast.cairo | 0 .../nodes/add_fp8x23_broadcast/input_0.cairo | 0 .../nodes/add_fp8x23_broadcast/input_1.cairo | 0 .../nodes/add_fp8x23_broadcast/output_0.cairo | 0 tests/{src => }/nodes/add_i32.cairo | 0 tests/{src => }/nodes/add_i32/input_0.cairo | 0 tests/{src => }/nodes/add_i32/input_1.cairo | 0 tests/{src => }/nodes/add_i32/output_0.cairo | 0 tests/{src => }/nodes/add_i32_broadcast.cairo | 0 .../nodes/add_i32_broadcast/input_0.cairo | 0 .../nodes/add_i32_broadcast/input_1.cairo | 0 .../nodes/add_i32_broadcast/output_0.cairo | 0 tests/{src => }/nodes/add_i8.cairo | 0 tests/{src => }/nodes/add_i8/input_0.cairo | 0 tests/{src => }/nodes/add_i8/input_1.cairo | 0 tests/{src => }/nodes/add_i8/output_0.cairo | 0 tests/{src => }/nodes/add_i8_broadcast.cairo | 0 .../nodes/add_i8_broadcast/input_0.cairo | 0 .../nodes/add_i8_broadcast/input_1.cairo | 0 .../nodes/add_i8_broadcast/output_0.cairo | 0 tests/{src => }/nodes/add_u32.cairo | 0 tests/{src => }/nodes/add_u32/input_0.cairo | 0 tests/{src => }/nodes/add_u32/input_1.cairo | 0 tests/{src => }/nodes/add_u32/output_0.cairo | 0 tests/{src => }/nodes/add_u32_broadcast.cairo | 0 .../nodes/add_u32_broadcast/input_0.cairo | 0 .../nodes/add_u32_broadcast/input_1.cairo | 0 .../nodes/add_u32_broadcast/output_0.cairo | 0 tests/{src => }/nodes/and_fp16x16.cairo | 0 .../{src => }/nodes/and_fp16x16/input_0.cairo | 0 .../{src => }/nodes/and_fp16x16/input_1.cairo | 0 .../nodes/and_fp16x16/output_0.cairo | 0 .../nodes/and_fp16x16_broadcast.cairo | 0 .../nodes/and_fp16x16_broadcast/input_0.cairo | 0 .../nodes/and_fp16x16_broadcast/input_1.cairo | 0 .../and_fp16x16_broadcast/output_0.cairo | 0 tests/{src => }/nodes/and_fp8x23.cairo | 0 .../{src => }/nodes/and_fp8x23/input_0.cairo | 0 .../{src => }/nodes/and_fp8x23/input_1.cairo | 0 .../{src => }/nodes/and_fp8x23/output_0.cairo | 0 .../nodes/and_fp8x23_broadcast.cairo | 0 .../nodes/and_fp8x23_broadcast/input_0.cairo | 0 .../nodes/and_fp8x23_broadcast/input_1.cairo | 0 .../nodes/and_fp8x23_broadcast/output_0.cairo | 0 tests/{src => }/nodes/and_i32.cairo | 0 tests/{src => }/nodes/and_i32/input_0.cairo | 0 tests/{src => }/nodes/and_i32/input_1.cairo | 0 tests/{src => }/nodes/and_i32/output_0.cairo | 0 tests/{src => }/nodes/and_i32_broadcast.cairo | 0 .../nodes/and_i32_broadcast/input_0.cairo | 0 .../nodes/and_i32_broadcast/input_1.cairo | 0 .../nodes/and_i32_broadcast/output_0.cairo | 0 tests/{src => }/nodes/and_i8.cairo | 0 tests/{src => }/nodes/and_i8/input_0.cairo | 0 tests/{src => }/nodes/and_i8/input_1.cairo | 0 tests/{src => }/nodes/and_i8/output_0.cairo | 0 tests/{src => }/nodes/and_i8_broadcast.cairo | 0 .../nodes/and_i8_broadcast/input_0.cairo | 0 .../nodes/and_i8_broadcast/input_1.cairo | 0 .../nodes/and_i8_broadcast/output_0.cairo | 0 tests/{src => }/nodes/and_u32.cairo | 0 tests/{src => }/nodes/and_u32/input_0.cairo | 0 tests/{src => }/nodes/and_u32/input_1.cairo | 0 tests/{src => }/nodes/and_u32/output_0.cairo | 0 tests/{src => }/nodes/and_u32_broadcast.cairo | 0 .../nodes/and_u32_broadcast/input_0.cairo | 0 .../nodes/and_u32_broadcast/input_1.cairo | 0 .../nodes/and_u32_broadcast/output_0.cairo | 0 .../nodes/argmax_fp16x16_1D_default.cairo | 0 .../argmax_fp16x16_1D_default/input_0.cairo | 0 .../argmax_fp16x16_1D_default/output_0.cairo | 0 .../argmax_fp16x16_1D_keepdims_false.cairo | 0 .../input_0.cairo | 0 .../output_0.cairo | 0 .../nodes/argmax_fp16x16_1D_last_index.cairo | 0 .../input_0.cairo | 0 .../output_0.cairo | 0 .../nodes/argmax_fp16x16_2D_default.cairo | 0 .../argmax_fp16x16_2D_default/input_0.cairo | 0 .../argmax_fp16x16_2D_default/output_0.cairo | 0 .../argmax_fp16x16_2D_keepdims_false.cairo | 0 .../input_0.cairo | 0 .../output_0.cairo | 0 .../nodes/argmax_fp16x16_2D_last_index.cairo | 0 .../input_0.cairo | 0 .../output_0.cairo | 0 .../nodes/argmax_fp16x16_3D_default.cairo | 0 .../argmax_fp16x16_3D_default/input_0.cairo | 0 .../argmax_fp16x16_3D_default/output_0.cairo | 0 .../argmax_fp16x16_3D_keepdims_false.cairo | 0 .../input_0.cairo | 0 .../output_0.cairo | 0 .../nodes/argmax_fp16x16_3D_last_index.cairo | 0 .../input_0.cairo | 0 .../output_0.cairo | 0 .../nodes/argmax_fp8x23_1D_default.cairo | 0 .../argmax_fp8x23_1D_default/input_0.cairo | 0 .../argmax_fp8x23_1D_default/output_0.cairo | 0 .../argmax_fp8x23_1D_keepdims_false.cairo | 0 .../input_0.cairo | 0 .../output_0.cairo | 0 .../nodes/argmax_fp8x23_1D_last_index.cairo | 0 .../argmax_fp8x23_1D_last_index/input_0.cairo | 0 .../output_0.cairo | 0 .../nodes/argmax_fp8x23_2D_default.cairo | 0 .../argmax_fp8x23_2D_default/input_0.cairo | 0 .../argmax_fp8x23_2D_default/output_0.cairo | 0 .../argmax_fp8x23_2D_keepdims_false.cairo | 0 .../input_0.cairo | 0 .../output_0.cairo | 0 .../nodes/argmax_fp8x23_2D_last_index.cairo | 0 .../argmax_fp8x23_2D_last_index/input_0.cairo | 0 .../output_0.cairo | 0 .../nodes/argmax_fp8x23_3D_default.cairo | 0 .../argmax_fp8x23_3D_default/input_0.cairo | 0 .../argmax_fp8x23_3D_default/output_0.cairo | 0 .../argmax_fp8x23_3D_keepdims_false.cairo | 0 .../input_0.cairo | 0 .../output_0.cairo | 0 .../nodes/argmax_fp8x23_3D_last_index.cairo | 0 .../argmax_fp8x23_3D_last_index/input_0.cairo | 0 .../output_0.cairo | 0 .../nodes/argmax_i32_1D_default.cairo | 0 .../nodes/argmax_i32_1D_default/input_0.cairo | 0 .../argmax_i32_1D_default/output_0.cairo | 0 .../nodes/argmax_i32_1D_keepdims_false.cairo | 0 .../input_0.cairo | 0 .../output_0.cairo | 0 .../nodes/argmax_i32_1D_last_index.cairo | 0 .../argmax_i32_1D_last_index/input_0.cairo | 0 .../argmax_i32_1D_last_index/output_0.cairo | 0 .../nodes/argmax_i32_2D_default.cairo | 0 .../nodes/argmax_i32_2D_default/input_0.cairo | 0 .../argmax_i32_2D_default/output_0.cairo | 0 .../nodes/argmax_i32_2D_keepdims_false.cairo | 0 .../input_0.cairo | 0 .../output_0.cairo | 0 .../nodes/argmax_i32_2D_last_index.cairo | 0 .../argmax_i32_2D_last_index/input_0.cairo | 0 .../argmax_i32_2D_last_index/output_0.cairo | 0 .../nodes/argmax_i32_3D_default.cairo | 0 .../nodes/argmax_i32_3D_default/input_0.cairo | 0 .../argmax_i32_3D_default/output_0.cairo | 0 .../nodes/argmax_i32_3D_keepdims_false.cairo | 0 .../input_0.cairo | 0 .../output_0.cairo | 0 .../nodes/argmax_i32_3D_last_index.cairo | 0 .../argmax_i32_3D_last_index/input_0.cairo | 0 .../argmax_i32_3D_last_index/output_0.cairo | 0 .../nodes/argmax_i8_1D_default.cairo | 0 .../nodes/argmax_i8_1D_default/input_0.cairo | 0 .../nodes/argmax_i8_1D_default/output_0.cairo | 0 .../nodes/argmax_i8_1D_keepdims_false.cairo | 0 .../argmax_i8_1D_keepdims_false/input_0.cairo | 0 .../output_0.cairo | 0 .../nodes/argmax_i8_1D_last_index.cairo | 0 .../argmax_i8_1D_last_index/input_0.cairo | 0 .../argmax_i8_1D_last_index/output_0.cairo | 0 .../nodes/argmax_i8_2D_default.cairo | 0 .../nodes/argmax_i8_2D_default/input_0.cairo | 0 .../nodes/argmax_i8_2D_default/output_0.cairo | 0 .../nodes/argmax_i8_2D_keepdims_false.cairo | 0 .../argmax_i8_2D_keepdims_false/input_0.cairo | 0 .../output_0.cairo | 0 .../nodes/argmax_i8_2D_last_index.cairo | 0 .../argmax_i8_2D_last_index/input_0.cairo | 0 .../argmax_i8_2D_last_index/output_0.cairo | 0 .../nodes/argmax_i8_3D_default.cairo | 0 .../nodes/argmax_i8_3D_default/input_0.cairo | 0 .../nodes/argmax_i8_3D_default/output_0.cairo | 0 .../nodes/argmax_i8_3D_keepdims_false.cairo | 0 .../argmax_i8_3D_keepdims_false/input_0.cairo | 0 .../output_0.cairo | 0 .../nodes/argmax_i8_3D_last_index.cairo | 0 .../argmax_i8_3D_last_index/input_0.cairo | 0 .../argmax_i8_3D_last_index/output_0.cairo | 0 .../nodes/argmax_u32_1D_default.cairo | 0 .../nodes/argmax_u32_1D_default/input_0.cairo | 0 .../argmax_u32_1D_default/output_0.cairo | 0 .../nodes/argmax_u32_1D_keepdims_false.cairo | 0 .../input_0.cairo | 0 .../output_0.cairo | 0 .../nodes/argmax_u32_1D_last_index.cairo | 0 .../argmax_u32_1D_last_index/input_0.cairo | 0 .../argmax_u32_1D_last_index/output_0.cairo | 0 .../nodes/argmax_u32_2D_default.cairo | 0 .../nodes/argmax_u32_2D_default/input_0.cairo | 0 .../argmax_u32_2D_default/output_0.cairo | 0 .../nodes/argmax_u32_2D_keepdims_false.cairo | 0 .../input_0.cairo | 0 .../output_0.cairo | 0 .../nodes/argmax_u32_2D_last_index.cairo | 0 .../argmax_u32_2D_last_index/input_0.cairo | 0 .../argmax_u32_2D_last_index/output_0.cairo | 0 .../nodes/argmax_u32_3D_default.cairo | 0 .../nodes/argmax_u32_3D_default/input_0.cairo | 0 .../argmax_u32_3D_default/output_0.cairo | 0 .../nodes/argmax_u32_3D_keepdims_false.cairo | 0 .../input_0.cairo | 0 .../output_0.cairo | 0 .../nodes/argmax_u32_3D_last_index.cairo | 0 .../argmax_u32_3D_last_index/input_0.cairo | 0 .../argmax_u32_3D_last_index/output_0.cairo | 0 .../nodes/argmin_fp16x16_1D_default.cairo | 0 .../argmin_fp16x16_1D_default/input_0.cairo | 0 .../argmin_fp16x16_1D_default/output_0.cairo | 0 .../argmin_fp16x16_1D_keepdims_false.cairo | 0 .../input_0.cairo | 0 .../output_0.cairo | 0 .../nodes/argmin_fp16x16_1D_last_index.cairo | 0 .../input_0.cairo | 0 .../output_0.cairo | 0 .../nodes/argmin_fp16x16_2D_default.cairo | 0 .../argmin_fp16x16_2D_default/input_0.cairo | 0 .../argmin_fp16x16_2D_default/output_0.cairo | 0 .../argmin_fp16x16_2D_keepdims_false.cairo | 0 .../input_0.cairo | 0 .../output_0.cairo | 0 .../nodes/argmin_fp16x16_2D_last_index.cairo | 0 .../input_0.cairo | 0 .../output_0.cairo | 0 .../nodes/argmin_fp16x16_3D_default.cairo | 0 .../argmin_fp16x16_3D_default/input_0.cairo | 0 .../argmin_fp16x16_3D_default/output_0.cairo | 0 .../argmin_fp16x16_3D_keepdims_false.cairo | 0 .../input_0.cairo | 0 .../output_0.cairo | 0 .../nodes/argmin_fp16x16_3D_last_index.cairo | 0 .../input_0.cairo | 0 .../output_0.cairo | 0 .../nodes/argmin_fp8x23_1D_default.cairo | 0 .../argmin_fp8x23_1D_default/input_0.cairo | 0 .../argmin_fp8x23_1D_default/output_0.cairo | 0 .../argmin_fp8x23_1D_keepdims_false.cairo | 0 .../input_0.cairo | 0 .../output_0.cairo | 0 .../nodes/argmin_fp8x23_1D_last_index.cairo | 0 .../argmin_fp8x23_1D_last_index/input_0.cairo | 0 .../output_0.cairo | 0 .../nodes/argmin_fp8x23_2D_default.cairo | 0 .../argmin_fp8x23_2D_default/input_0.cairo | 0 .../argmin_fp8x23_2D_default/output_0.cairo | 0 .../argmin_fp8x23_2D_keepdims_false.cairo | 0 .../input_0.cairo | 0 .../output_0.cairo | 0 .../nodes/argmin_fp8x23_2D_last_index.cairo | 0 .../argmin_fp8x23_2D_last_index/input_0.cairo | 0 .../output_0.cairo | 0 .../nodes/argmin_fp8x23_3D_default.cairo | 0 .../argmin_fp8x23_3D_default/input_0.cairo | 0 .../argmin_fp8x23_3D_default/output_0.cairo | 0 .../argmin_fp8x23_3D_keepdims_false.cairo | 0 .../input_0.cairo | 0 .../output_0.cairo | 0 .../nodes/argmin_fp8x23_3D_last_index.cairo | 0 .../argmin_fp8x23_3D_last_index/input_0.cairo | 0 .../output_0.cairo | 0 .../nodes/argmin_i32_1D_default.cairo | 0 .../nodes/argmin_i32_1D_default/input_0.cairo | 0 .../argmin_i32_1D_default/output_0.cairo | 0 .../nodes/argmin_i32_1D_keepdims_false.cairo | 0 .../input_0.cairo | 0 .../output_0.cairo | 0 .../nodes/argmin_i32_1D_last_index.cairo | 0 .../argmin_i32_1D_last_index/input_0.cairo | 0 .../argmin_i32_1D_last_index/output_0.cairo | 0 .../nodes/argmin_i32_2D_default.cairo | 0 .../nodes/argmin_i32_2D_default/input_0.cairo | 0 .../argmin_i32_2D_default/output_0.cairo | 0 .../nodes/argmin_i32_2D_keepdims_false.cairo | 0 .../input_0.cairo | 0 .../output_0.cairo | 0 .../nodes/argmin_i32_2D_last_index.cairo | 0 .../argmin_i32_2D_last_index/input_0.cairo | 0 .../argmin_i32_2D_last_index/output_0.cairo | 0 .../nodes/argmin_i32_3D_default.cairo | 0 .../nodes/argmin_i32_3D_default/input_0.cairo | 0 .../argmin_i32_3D_default/output_0.cairo | 0 .../nodes/argmin_i32_3D_keepdims_false.cairo | 0 .../input_0.cairo | 0 .../output_0.cairo | 0 .../nodes/argmin_i32_3D_last_index.cairo | 0 .../argmin_i32_3D_last_index/input_0.cairo | 0 .../argmin_i32_3D_last_index/output_0.cairo | 0 .../nodes/argmin_i8_1D_default.cairo | 0 .../nodes/argmin_i8_1D_default/input_0.cairo | 0 .../nodes/argmin_i8_1D_default/output_0.cairo | 0 .../nodes/argmin_i8_1D_keepdims_false.cairo | 0 .../argmin_i8_1D_keepdims_false/input_0.cairo | 0 .../output_0.cairo | 0 .../nodes/argmin_i8_1D_last_index.cairo | 0 .../argmin_i8_1D_last_index/input_0.cairo | 0 .../argmin_i8_1D_last_index/output_0.cairo | 0 .../nodes/argmin_i8_2D_default.cairo | 0 .../nodes/argmin_i8_2D_default/input_0.cairo | 0 .../nodes/argmin_i8_2D_default/output_0.cairo | 0 .../nodes/argmin_i8_2D_keepdims_false.cairo | 0 .../argmin_i8_2D_keepdims_false/input_0.cairo | 0 .../output_0.cairo | 0 .../nodes/argmin_i8_2D_last_index.cairo | 0 .../argmin_i8_2D_last_index/input_0.cairo | 0 .../argmin_i8_2D_last_index/output_0.cairo | 0 .../nodes/argmin_i8_3D_default.cairo | 0 .../nodes/argmin_i8_3D_default/input_0.cairo | 0 .../nodes/argmin_i8_3D_default/output_0.cairo | 0 .../nodes/argmin_i8_3D_keepdims_false.cairo | 0 .../argmin_i8_3D_keepdims_false/input_0.cairo | 0 .../output_0.cairo | 0 .../nodes/argmin_i8_3D_last_index.cairo | 0 .../argmin_i8_3D_last_index/input_0.cairo | 0 .../argmin_i8_3D_last_index/output_0.cairo | 0 .../nodes/argmin_u32_1D_default.cairo | 0 .../nodes/argmin_u32_1D_default/input_0.cairo | 0 .../argmin_u32_1D_default/output_0.cairo | 0 .../nodes/argmin_u32_1D_keepdims_false.cairo | 0 .../input_0.cairo | 0 .../output_0.cairo | 0 .../nodes/argmin_u32_1D_last_index.cairo | 0 .../argmin_u32_1D_last_index/input_0.cairo | 0 .../argmin_u32_1D_last_index/output_0.cairo | 0 .../nodes/argmin_u32_2D_default.cairo | 0 .../nodes/argmin_u32_2D_default/input_0.cairo | 0 .../argmin_u32_2D_default/output_0.cairo | 0 .../nodes/argmin_u32_2D_keepdims_false.cairo | 0 .../input_0.cairo | 0 .../output_0.cairo | 0 .../nodes/argmin_u32_2D_last_index.cairo | 0 .../argmin_u32_2D_last_index/input_0.cairo | 0 .../argmin_u32_2D_last_index/output_0.cairo | 0 .../nodes/argmin_u32_3D_default.cairo | 0 .../nodes/argmin_u32_3D_default/input_0.cairo | 0 .../argmin_u32_3D_default/output_0.cairo | 0 .../nodes/argmin_u32_3D_keepdims_false.cairo | 0 .../input_0.cairo | 0 .../output_0.cairo | 0 .../nodes/argmin_u32_3D_last_index.cairo | 0 .../argmin_u32_3D_last_index/input_0.cairo | 0 .../argmin_u32_3D_last_index/output_0.cairo | 0 tests/{src => }/nodes/asin_fp16x16.cairo | 0 .../nodes/asin_fp16x16/input_0.cairo | 0 .../nodes/asin_fp16x16/output_0.cairo | 0 tests/{src => }/nodes/asin_fp8x23.cairo | 0 .../{src => }/nodes/asin_fp8x23/input_0.cairo | 0 .../nodes/asin_fp8x23/output_0.cairo | 0 tests/{src => }/nodes/asinh_fp16x16.cairo | 0 .../nodes/asinh_fp16x16/input_0.cairo | 0 .../nodes/asinh_fp16x16/output_0.cairo | 0 tests/{src => }/nodes/asinh_fp8x23.cairo | 0 .../nodes/asinh_fp8x23/input_0.cairo | 0 .../nodes/asinh_fp8x23/output_0.cairo | 0 tests/{src => }/nodes/atan_fp16x16.cairo | 0 .../nodes/atan_fp16x16/input_0.cairo | 0 .../nodes/atan_fp16x16/output_0.cairo | 0 tests/{src => }/nodes/atan_fp8x23.cairo | 0 .../{src => }/nodes/atan_fp8x23/input_0.cairo | 0 .../nodes/atan_fp8x23/output_0.cairo | 0 tests/{src => }/nodes/ceil_fp16x16.cairo | 0 .../nodes/ceil_fp16x16/input_0.cairo | 0 .../nodes/ceil_fp16x16/output_0.cairo | 0 tests/{src => }/nodes/ceil_fp8x23.cairo | 0 .../{src => }/nodes/ceil_fp8x23/input_0.cairo | 0 .../nodes/ceil_fp8x23/output_0.cairo | 0 tests/{src => }/nodes/clip_fp16x16_2d.cairo | 0 .../nodes/clip_fp16x16_2d/input_0.cairo | 0 .../nodes/clip_fp16x16_2d/output_0.cairo | 0 tests/{src => }/nodes/clip_fp16x16_3d.cairo | 0 .../nodes/clip_fp16x16_3d/input_0.cairo | 0 .../nodes/clip_fp16x16_3d/output_0.cairo | 0 tests/{src => }/nodes/clip_fp8x23_2d.cairo | 0 .../nodes/clip_fp8x23_2d/input_0.cairo | 0 .../nodes/clip_fp8x23_2d/output_0.cairo | 0 tests/{src => }/nodes/clip_fp8x23_3d.cairo | 0 .../nodes/clip_fp8x23_3d/input_0.cairo | 0 .../nodes/clip_fp8x23_3d/output_0.cairo | 0 tests/{src => }/nodes/clip_i32_2d.cairo | 0 .../{src => }/nodes/clip_i32_2d/input_0.cairo | 0 .../nodes/clip_i32_2d/output_0.cairo | 0 tests/{src => }/nodes/clip_i32_3d.cairo | 0 .../{src => }/nodes/clip_i32_3d/input_0.cairo | 0 .../nodes/clip_i32_3d/output_0.cairo | 0 tests/{src => }/nodes/clip_i8_2d.cairo | 0 .../{src => }/nodes/clip_i8_2d/input_0.cairo | 0 .../{src => }/nodes/clip_i8_2d/output_0.cairo | 0 tests/{src => }/nodes/clip_i8_3d.cairo | 0 .../{src => }/nodes/clip_i8_3d/input_0.cairo | 0 .../{src => }/nodes/clip_i8_3d/output_0.cairo | 0 tests/{src => }/nodes/clip_u32_2d.cairo | 0 .../{src => }/nodes/clip_u32_2d/input_0.cairo | 0 .../nodes/clip_u32_2d/output_0.cairo | 0 tests/{src => }/nodes/clip_u32_3d.cairo | 0 .../{src => }/nodes/clip_u32_3d/input_0.cairo | 0 .../nodes/clip_u32_3d/output_0.cairo | 0 tests/{src => }/nodes/concat_fp16x16_1d.cairo | 0 .../nodes/concat_fp16x16_1d/input_0.cairo | 0 .../nodes/concat_fp16x16_1d/input_1.cairo | 0 .../nodes/concat_fp16x16_1d/output_0.cairo | 0 tests/{src => }/nodes/concat_fp16x16_2d.cairo | 0 .../nodes/concat_fp16x16_2d/input_0.cairo | 0 .../nodes/concat_fp16x16_2d/input_1.cairo | 0 .../nodes/concat_fp16x16_2d/output_0.cairo | 0 .../nodes/concat_fp16x16_3d_axis_1.cairo | 0 .../concat_fp16x16_3d_axis_1/input_0.cairo | 0 .../concat_fp16x16_3d_axis_1/input_1.cairo | 0 .../concat_fp16x16_3d_axis_1/output_0.cairo | 0 .../nodes/concat_fp16x16_3d_axis_2.cairo | 0 .../concat_fp16x16_3d_axis_2/input_0.cairo | 0 .../concat_fp16x16_3d_axis_2/input_1.cairo | 0 .../concat_fp16x16_3d_axis_2/output_0.cairo | 0 .../nodes/concat_fp16x16_3d_default.cairo | 0 .../concat_fp16x16_3d_default/input_0.cairo | 0 .../concat_fp16x16_3d_default/input_1.cairo | 0 .../concat_fp16x16_3d_default/output_0.cairo | 0 ...ncat_fp16x16_3d_three_tensors_axis_1.cairo | 0 .../input_0.cairo | 0 .../input_1.cairo | 0 .../input_2.cairo | 0 .../output_0.cairo | 0 ...ncat_fp16x16_3d_three_tensors_axis_2.cairo | 0 .../input_0.cairo | 0 .../input_1.cairo | 0 .../input_2.cairo | 0 .../output_0.cairo | 0 tests/{src => }/nodes/concat_fp8x23_1d.cairo | 0 .../nodes/concat_fp8x23_1d/input_0.cairo | 0 .../nodes/concat_fp8x23_1d/input_1.cairo | 0 .../nodes/concat_fp8x23_1d/output_0.cairo | 0 tests/{src => }/nodes/concat_fp8x23_2d.cairo | 0 .../nodes/concat_fp8x23_2d/input_0.cairo | 0 .../nodes/concat_fp8x23_2d/input_1.cairo | 0 .../nodes/concat_fp8x23_2d/output_0.cairo | 0 .../nodes/concat_fp8x23_3d_axis_1.cairo | 0 .../concat_fp8x23_3d_axis_1/input_0.cairo | 0 .../concat_fp8x23_3d_axis_1/input_1.cairo | 0 .../concat_fp8x23_3d_axis_1/output_0.cairo | 0 .../nodes/concat_fp8x23_3d_axis_2.cairo | 0 .../concat_fp8x23_3d_axis_2/input_0.cairo | 0 .../concat_fp8x23_3d_axis_2/input_1.cairo | 0 .../concat_fp8x23_3d_axis_2/output_0.cairo | 0 .../nodes/concat_fp8x23_3d_default.cairo | 0 .../concat_fp8x23_3d_default/input_0.cairo | 0 .../concat_fp8x23_3d_default/input_1.cairo | 0 .../concat_fp8x23_3d_default/output_0.cairo | 0 ...oncat_fp8x23_3d_three_tensors_axis_1.cairo | 0 .../input_0.cairo | 0 .../input_1.cairo | 0 .../input_2.cairo | 0 .../output_0.cairo | 0 ...oncat_fp8x23_3d_three_tensors_axis_2.cairo | 0 .../input_0.cairo | 0 .../input_1.cairo | 0 .../input_2.cairo | 0 .../output_0.cairo | 0 tests/{src => }/nodes/concat_i32_1d.cairo | 0 .../nodes/concat_i32_1d/input_0.cairo | 0 .../nodes/concat_i32_1d/input_1.cairo | 0 .../nodes/concat_i32_1d/output_0.cairo | 0 tests/{src => }/nodes/concat_i32_2d.cairo | 0 .../nodes/concat_i32_2d/input_0.cairo | 0 .../nodes/concat_i32_2d/input_1.cairo | 0 .../nodes/concat_i32_2d/output_0.cairo | 0 .../nodes/concat_i32_3d_axis_1.cairo | 0 .../nodes/concat_i32_3d_axis_1/input_0.cairo | 0 .../nodes/concat_i32_3d_axis_1/input_1.cairo | 0 .../nodes/concat_i32_3d_axis_1/output_0.cairo | 0 .../nodes/concat_i32_3d_axis_2.cairo | 0 .../nodes/concat_i32_3d_axis_2/input_0.cairo | 0 .../nodes/concat_i32_3d_axis_2/input_1.cairo | 0 .../nodes/concat_i32_3d_axis_2/output_0.cairo | 0 .../nodes/concat_i32_3d_default.cairo | 0 .../nodes/concat_i32_3d_default/input_0.cairo | 0 .../nodes/concat_i32_3d_default/input_1.cairo | 0 .../concat_i32_3d_default/output_0.cairo | 0 .../concat_i32_3d_three_tensors_axis_1.cairo | 0 .../input_0.cairo | 0 .../input_1.cairo | 0 .../input_2.cairo | 0 .../output_0.cairo | 0 .../concat_i32_3d_three_tensors_axis_2.cairo | 0 .../input_0.cairo | 0 .../input_1.cairo | 0 .../input_2.cairo | 0 .../output_0.cairo | 0 tests/{src => }/nodes/concat_i8_1d.cairo | 0 .../nodes/concat_i8_1d/input_0.cairo | 0 .../nodes/concat_i8_1d/input_1.cairo | 0 .../nodes/concat_i8_1d/output_0.cairo | 0 tests/{src => }/nodes/concat_i8_2d.cairo | 0 .../nodes/concat_i8_2d/input_0.cairo | 0 .../nodes/concat_i8_2d/input_1.cairo | 0 .../nodes/concat_i8_2d/output_0.cairo | 0 .../{src => }/nodes/concat_i8_3d_axis_1.cairo | 0 .../nodes/concat_i8_3d_axis_1/input_0.cairo | 0 .../nodes/concat_i8_3d_axis_1/input_1.cairo | 0 .../nodes/concat_i8_3d_axis_1/output_0.cairo | 0 .../{src => }/nodes/concat_i8_3d_axis_2.cairo | 0 .../nodes/concat_i8_3d_axis_2/input_0.cairo | 0 .../nodes/concat_i8_3d_axis_2/input_1.cairo | 0 .../nodes/concat_i8_3d_axis_2/output_0.cairo | 0 .../nodes/concat_i8_3d_default.cairo | 0 .../nodes/concat_i8_3d_default/input_0.cairo | 0 .../nodes/concat_i8_3d_default/input_1.cairo | 0 .../nodes/concat_i8_3d_default/output_0.cairo | 0 .../concat_i8_3d_three_tensors_axis_1.cairo | 0 .../input_0.cairo | 0 .../input_1.cairo | 0 .../input_2.cairo | 0 .../output_0.cairo | 0 .../concat_i8_3d_three_tensors_axis_2.cairo | 0 .../input_0.cairo | 0 .../input_1.cairo | 0 .../input_2.cairo | 0 .../output_0.cairo | 0 tests/{src => }/nodes/concat_u32_1d.cairo | 0 .../nodes/concat_u32_1d/input_0.cairo | 0 .../nodes/concat_u32_1d/input_1.cairo | 0 .../nodes/concat_u32_1d/output_0.cairo | 0 tests/{src => }/nodes/concat_u32_2d.cairo | 0 .../nodes/concat_u32_2d/input_0.cairo | 0 .../nodes/concat_u32_2d/input_1.cairo | 0 .../nodes/concat_u32_2d/output_0.cairo | 0 .../nodes/concat_u32_3d_axis_1.cairo | 0 .../nodes/concat_u32_3d_axis_1/input_0.cairo | 0 .../nodes/concat_u32_3d_axis_1/input_1.cairo | 0 .../nodes/concat_u32_3d_axis_1/output_0.cairo | 0 .../nodes/concat_u32_3d_axis_2.cairo | 0 .../nodes/concat_u32_3d_axis_2/input_0.cairo | 0 .../nodes/concat_u32_3d_axis_2/input_1.cairo | 0 .../nodes/concat_u32_3d_axis_2/output_0.cairo | 0 .../nodes/concat_u32_3d_default.cairo | 0 .../nodes/concat_u32_3d_default/input_0.cairo | 0 .../nodes/concat_u32_3d_default/input_1.cairo | 0 .../concat_u32_3d_default/output_0.cairo | 0 .../concat_u32_3d_three_tensors_axis_1.cairo | 0 .../input_0.cairo | 0 .../input_1.cairo | 0 .../input_2.cairo | 0 .../output_0.cairo | 0 .../concat_u32_3d_three_tensors_axis_2.cairo | 0 .../input_0.cairo | 0 .../input_1.cairo | 0 .../input_2.cairo | 0 .../output_0.cairo | 0 tests/{src => }/nodes/cos_fp16x16.cairo | 0 .../{src => }/nodes/cos_fp16x16/input_0.cairo | 0 .../nodes/cos_fp16x16/output_0.cairo | 0 tests/{src => }/nodes/cos_fp8x23.cairo | 0 .../{src => }/nodes/cos_fp8x23/input_0.cairo | 0 .../{src => }/nodes/cos_fp8x23/output_0.cairo | 0 tests/{src => }/nodes/cosh_fp16x16.cairo | 0 .../nodes/cosh_fp16x16/input_0.cairo | 0 .../nodes/cosh_fp16x16/output_0.cairo | 0 tests/{src => }/nodes/cosh_fp8x23.cairo | 0 .../{src => }/nodes/cosh_fp8x23/input_0.cairo | 0 .../nodes/cosh_fp8x23/output_0.cairo | 0 .../nodes/cumsum_fp16x16_1d_default.cairo | 0 .../cumsum_fp16x16_1d_default/input_0.cairo | 0 .../cumsum_fp16x16_1d_default/output_0.cairo | 0 .../nodes/cumsum_fp16x16_1d_exclusive.cairo | 0 .../cumsum_fp16x16_1d_exclusive/input_0.cairo | 0 .../output_0.cairo | 0 .../nodes/cumsum_fp16x16_1d_reverse.cairo | 0 .../cumsum_fp16x16_1d_reverse/input_0.cairo | 0 .../cumsum_fp16x16_1d_reverse/output_0.cairo | 0 .../cumsum_fp16x16_1d_reverse_exclusive.cairo | 0 .../input_0.cairo | 0 .../output_0.cairo | 0 .../nodes/cumsum_fp16x16_2d_axis_0.cairo | 0 .../cumsum_fp16x16_2d_axis_0/input_0.cairo | 0 .../cumsum_fp16x16_2d_axis_0/output_0.cairo | 0 .../nodes/cumsum_fp16x16_2d_axis_1.cairo | 0 .../cumsum_fp16x16_2d_axis_1/input_0.cairo | 0 .../cumsum_fp16x16_2d_axis_1/output_0.cairo | 0 .../nodes/cumsum_fp8x23_1d_default.cairo | 0 .../cumsum_fp8x23_1d_default/input_0.cairo | 0 .../cumsum_fp8x23_1d_default/output_0.cairo | 0 .../nodes/cumsum_fp8x23_1d_exclusive.cairo | 0 .../cumsum_fp8x23_1d_exclusive/input_0.cairo | 0 .../cumsum_fp8x23_1d_exclusive/output_0.cairo | 0 .../nodes/cumsum_fp8x23_1d_reverse.cairo | 0 .../cumsum_fp8x23_1d_reverse/input_0.cairo | 0 .../cumsum_fp8x23_1d_reverse/output_0.cairo | 0 .../cumsum_fp8x23_1d_reverse_exclusive.cairo | 0 .../input_0.cairo | 0 .../output_0.cairo | 0 .../nodes/cumsum_fp8x23_2d_axis_0.cairo | 0 .../cumsum_fp8x23_2d_axis_0/input_0.cairo | 0 .../cumsum_fp8x23_2d_axis_0/output_0.cairo | 0 .../nodes/cumsum_fp8x23_2d_axis_1.cairo | 0 .../cumsum_fp8x23_2d_axis_1/input_0.cairo | 0 .../cumsum_fp8x23_2d_axis_1/output_0.cairo | 0 .../nodes/cumsum_i32_1d_default.cairo | 0 .../nodes/cumsum_i32_1d_default/input_0.cairo | 0 .../cumsum_i32_1d_default/output_0.cairo | 0 .../nodes/cumsum_i32_1d_exclusive.cairo | 0 .../cumsum_i32_1d_exclusive/input_0.cairo | 0 .../cumsum_i32_1d_exclusive/output_0.cairo | 0 .../nodes/cumsum_i32_1d_reverse.cairo | 0 .../nodes/cumsum_i32_1d_reverse/input_0.cairo | 0 .../cumsum_i32_1d_reverse/output_0.cairo | 0 .../cumsum_i32_1d_reverse_exclusive.cairo | 0 .../input_0.cairo | 0 .../output_0.cairo | 0 .../nodes/cumsum_i32_2d_axis_0.cairo | 0 .../nodes/cumsum_i32_2d_axis_0/input_0.cairo | 0 .../nodes/cumsum_i32_2d_axis_0/output_0.cairo | 0 .../nodes/cumsum_i32_2d_axis_1.cairo | 0 .../nodes/cumsum_i32_2d_axis_1/input_0.cairo | 0 .../nodes/cumsum_i32_2d_axis_1/output_0.cairo | 0 .../nodes/cumsum_i8_1d_default.cairo | 0 .../nodes/cumsum_i8_1d_default/input_0.cairo | 0 .../nodes/cumsum_i8_1d_default/output_0.cairo | 0 .../nodes/cumsum_i8_1d_exclusive.cairo | 0 .../cumsum_i8_1d_exclusive/input_0.cairo | 0 .../cumsum_i8_1d_exclusive/output_0.cairo | 0 .../nodes/cumsum_i8_1d_reverse.cairo | 0 .../nodes/cumsum_i8_1d_reverse/input_0.cairo | 0 .../nodes/cumsum_i8_1d_reverse/output_0.cairo | 0 .../cumsum_i8_1d_reverse_exclusive.cairo | 0 .../input_0.cairo | 0 .../output_0.cairo | 0 .../{src => }/nodes/cumsum_i8_2d_axis_0.cairo | 0 .../nodes/cumsum_i8_2d_axis_0/input_0.cairo | 0 .../nodes/cumsum_i8_2d_axis_0/output_0.cairo | 0 .../{src => }/nodes/cumsum_i8_2d_axis_1.cairo | 0 .../nodes/cumsum_i8_2d_axis_1/input_0.cairo | 0 .../nodes/cumsum_i8_2d_axis_1/output_0.cairo | 0 .../nodes/cumsum_u32_1d_default.cairo | 0 .../nodes/cumsum_u32_1d_default/input_0.cairo | 0 .../cumsum_u32_1d_default/output_0.cairo | 0 .../nodes/cumsum_u32_1d_exclusive.cairo | 0 .../cumsum_u32_1d_exclusive/input_0.cairo | 0 .../cumsum_u32_1d_exclusive/output_0.cairo | 0 .../nodes/cumsum_u32_1d_reverse.cairo | 0 .../nodes/cumsum_u32_1d_reverse/input_0.cairo | 0 .../cumsum_u32_1d_reverse/output_0.cairo | 0 .../cumsum_u32_1d_reverse_exclusive.cairo | 0 .../input_0.cairo | 0 .../output_0.cairo | 0 .../nodes/cumsum_u32_2d_axis_0.cairo | 0 .../nodes/cumsum_u32_2d_axis_0/input_0.cairo | 0 .../nodes/cumsum_u32_2d_axis_0/output_0.cairo | 0 .../nodes/cumsum_u32_2d_axis_1.cairo | 0 .../nodes/cumsum_u32_2d_axis_1/input_0.cairo | 0 .../nodes/cumsum_u32_2d_axis_1/output_0.cairo | 0 tests/{src => }/nodes/div_fp16x16.cairo | 0 .../{src => }/nodes/div_fp16x16/input_0.cairo | 0 .../{src => }/nodes/div_fp16x16/input_1.cairo | 0 .../nodes/div_fp16x16/output_0.cairo | 0 .../nodes/div_fp16x16_broadcast.cairo | 0 .../nodes/div_fp16x16_broadcast/input_0.cairo | 0 .../nodes/div_fp16x16_broadcast/input_1.cairo | 0 .../div_fp16x16_broadcast/output_0.cairo | 0 tests/{src => }/nodes/div_fp8x23.cairo | 0 .../{src => }/nodes/div_fp8x23/input_0.cairo | 0 .../{src => }/nodes/div_fp8x23/input_1.cairo | 0 .../{src => }/nodes/div_fp8x23/output_0.cairo | 0 .../nodes/div_fp8x23_broadcast.cairo | 0 .../nodes/div_fp8x23_broadcast/input_0.cairo | 0 .../nodes/div_fp8x23_broadcast/input_1.cairo | 0 .../nodes/div_fp8x23_broadcast/output_0.cairo | 0 tests/{src => }/nodes/div_i32.cairo | 0 tests/{src => }/nodes/div_i32/input_0.cairo | 0 tests/{src => }/nodes/div_i32/input_1.cairo | 0 tests/{src => }/nodes/div_i32/output_0.cairo | 0 tests/{src => }/nodes/div_i32_broadcast.cairo | 0 .../nodes/div_i32_broadcast/input_0.cairo | 0 .../nodes/div_i32_broadcast/input_1.cairo | 0 .../nodes/div_i32_broadcast/output_0.cairo | 0 tests/{src => }/nodes/div_i8.cairo | 0 tests/{src => }/nodes/div_i8/input_0.cairo | 0 tests/{src => }/nodes/div_i8/input_1.cairo | 0 tests/{src => }/nodes/div_i8/output_0.cairo | 0 tests/{src => }/nodes/div_i8_broadcast.cairo | 0 .../nodes/div_i8_broadcast/input_0.cairo | 0 .../nodes/div_i8_broadcast/input_1.cairo | 0 .../nodes/div_i8_broadcast/output_0.cairo | 0 tests/{src => }/nodes/div_u32.cairo | 0 tests/{src => }/nodes/div_u32/input_0.cairo | 0 tests/{src => }/nodes/div_u32/input_1.cairo | 0 tests/{src => }/nodes/div_u32/output_0.cairo | 0 tests/{src => }/nodes/div_u32_broadcast.cairo | 0 .../nodes/div_u32_broadcast/input_0.cairo | 0 .../nodes/div_u32_broadcast/input_1.cairo | 0 .../nodes/div_u32_broadcast/output_0.cairo | 0 tests/{src => }/nodes/equal_fp16x16.cairo | 0 .../nodes/equal_fp16x16/input_0.cairo | 0 .../nodes/equal_fp16x16/input_1.cairo | 0 .../nodes/equal_fp16x16/output_0.cairo | 0 .../nodes/equal_fp16x16_broadcast.cairo | 0 .../equal_fp16x16_broadcast/input_0.cairo | 0 .../equal_fp16x16_broadcast/input_1.cairo | 0 .../equal_fp16x16_broadcast/output_0.cairo | 0 tests/{src => }/nodes/equal_fp8x23.cairo | 0 .../nodes/equal_fp8x23/input_0.cairo | 0 .../nodes/equal_fp8x23/input_1.cairo | 0 .../nodes/equal_fp8x23/output_0.cairo | 0 .../nodes/equal_fp8x23_broadcast.cairo | 0 .../equal_fp8x23_broadcast/input_0.cairo | 0 .../equal_fp8x23_broadcast/input_1.cairo | 0 .../equal_fp8x23_broadcast/output_0.cairo | 0 tests/{src => }/nodes/equal_i32.cairo | 0 tests/{src => }/nodes/equal_i32/input_0.cairo | 0 tests/{src => }/nodes/equal_i32/input_1.cairo | 0 .../{src => }/nodes/equal_i32/output_0.cairo | 0 .../{src => }/nodes/equal_i32_broadcast.cairo | 0 .../nodes/equal_i32_broadcast/input_0.cairo | 0 .../nodes/equal_i32_broadcast/input_1.cairo | 0 .../nodes/equal_i32_broadcast/output_0.cairo | 0 tests/{src => }/nodes/equal_i8.cairo | 0 tests/{src => }/nodes/equal_i8/input_0.cairo | 0 tests/{src => }/nodes/equal_i8/input_1.cairo | 0 tests/{src => }/nodes/equal_i8/output_0.cairo | 0 .../{src => }/nodes/equal_i8_broadcast.cairo | 0 .../nodes/equal_i8_broadcast/input_0.cairo | 0 .../nodes/equal_i8_broadcast/input_1.cairo | 0 .../nodes/equal_i8_broadcast/output_0.cairo | 0 tests/{src => }/nodes/equal_u32.cairo | 0 tests/{src => }/nodes/equal_u32/input_0.cairo | 0 tests/{src => }/nodes/equal_u32/input_1.cairo | 0 .../{src => }/nodes/equal_u32/output_0.cairo | 0 .../{src => }/nodes/equal_u32_broadcast.cairo | 0 .../nodes/equal_u32_broadcast/input_0.cairo | 0 .../nodes/equal_u32_broadcast/input_1.cairo | 0 .../nodes/equal_u32_broadcast/output_0.cairo | 0 tests/{src => }/nodes/exp_fp16x16.cairo | 0 .../{src => }/nodes/exp_fp16x16/input_0.cairo | 0 .../nodes/exp_fp16x16/output_0.cairo | 0 tests/{src => }/nodes/exp_fp8x23.cairo | 0 .../{src => }/nodes/exp_fp8x23/input_0.cairo | 0 .../{src => }/nodes/exp_fp8x23/output_0.cairo | 0 .../nodes/gather_fp16x16_3d_axis1.cairo | 0 .../gather_fp16x16_3d_axis1/input_0.cairo | 0 .../gather_fp16x16_3d_axis1/input_1.cairo | 0 .../gather_fp16x16_3d_axis1/output_0.cairo | 0 .../nodes/gather_fp16x16_3d_axis2.cairo | 0 .../gather_fp16x16_3d_axis2/input_0.cairo | 0 .../gather_fp16x16_3d_axis2/input_1.cairo | 0 .../gather_fp16x16_3d_axis2/output_0.cairo | 0 .../nodes/gather_fp16x16_3d_default.cairo | 0 .../gather_fp16x16_3d_default/input_0.cairo | 0 .../gather_fp16x16_3d_default/input_1.cairo | 0 .../gather_fp16x16_3d_default/output_0.cairo | 0 .../nodes/gather_fp8x23_3d_axis1.cairo | 0 .../gather_fp8x23_3d_axis1/input_0.cairo | 0 .../gather_fp8x23_3d_axis1/input_1.cairo | 0 .../gather_fp8x23_3d_axis1/output_0.cairo | 0 .../nodes/gather_fp8x23_3d_axis2.cairo | 0 .../gather_fp8x23_3d_axis2/input_0.cairo | 0 .../gather_fp8x23_3d_axis2/input_1.cairo | 0 .../gather_fp8x23_3d_axis2/output_0.cairo | 0 .../nodes/gather_fp8x23_3d_default.cairo | 0 .../gather_fp8x23_3d_default/input_0.cairo | 0 .../gather_fp8x23_3d_default/input_1.cairo | 0 .../gather_fp8x23_3d_default/output_0.cairo | 0 .../{src => }/nodes/gather_i32_3d_axis1.cairo | 0 .../nodes/gather_i32_3d_axis1/input_0.cairo | 0 .../nodes/gather_i32_3d_axis1/input_1.cairo | 0 .../nodes/gather_i32_3d_axis1/output_0.cairo | 0 .../{src => }/nodes/gather_i32_3d_axis2.cairo | 0 .../nodes/gather_i32_3d_axis2/input_0.cairo | 0 .../nodes/gather_i32_3d_axis2/input_1.cairo | 0 .../nodes/gather_i32_3d_axis2/output_0.cairo | 0 .../nodes/gather_i32_3d_default.cairo | 0 .../nodes/gather_i32_3d_default/input_0.cairo | 0 .../nodes/gather_i32_3d_default/input_1.cairo | 0 .../gather_i32_3d_default/output_0.cairo | 0 .../{src => }/nodes/gather_i8_3d_axis1.cairo | 0 .../nodes/gather_i8_3d_axis1/input_0.cairo | 0 .../nodes/gather_i8_3d_axis1/input_1.cairo | 0 .../nodes/gather_i8_3d_axis1/output_0.cairo | 0 .../{src => }/nodes/gather_i8_3d_axis2.cairo | 0 .../nodes/gather_i8_3d_axis2/input_0.cairo | 0 .../nodes/gather_i8_3d_axis2/input_1.cairo | 0 .../nodes/gather_i8_3d_axis2/output_0.cairo | 0 .../nodes/gather_i8_3d_default.cairo | 0 .../nodes/gather_i8_3d_default/input_0.cairo | 0 .../nodes/gather_i8_3d_default/input_1.cairo | 0 .../nodes/gather_i8_3d_default/output_0.cairo | 0 .../{src => }/nodes/gather_u32_3d_axis1.cairo | 0 .../nodes/gather_u32_3d_axis1/input_0.cairo | 0 .../nodes/gather_u32_3d_axis1/input_1.cairo | 0 .../nodes/gather_u32_3d_axis1/output_0.cairo | 0 .../{src => }/nodes/gather_u32_3d_axis2.cairo | 0 .../nodes/gather_u32_3d_axis2/input_0.cairo | 0 .../nodes/gather_u32_3d_axis2/input_1.cairo | 0 .../nodes/gather_u32_3d_axis2/output_0.cairo | 0 .../nodes/gather_u32_3d_default.cairo | 0 .../nodes/gather_u32_3d_default/input_0.cairo | 0 .../nodes/gather_u32_3d_default/input_1.cairo | 0 .../gather_u32_3d_default/output_0.cairo | 0 .../{src => }/nodes/gemm_all_attributes.cairo | 0 .../nodes/gemm_all_attributes/input_0.cairo | 0 .../nodes/gemm_all_attributes/input_1.cairo | 0 .../nodes/gemm_all_attributes/input_2.cairo | 0 .../nodes/gemm_all_attributes/output_0.cairo | 0 tests/{src => }/nodes/gemm_alpha.cairo | 0 .../{src => }/nodes/gemm_alpha/input_0.cairo | 0 .../{src => }/nodes/gemm_alpha/input_1.cairo | 0 .../{src => }/nodes/gemm_alpha/output_0.cairo | 0 tests/{src => }/nodes/gemm_beta.cairo | 0 tests/{src => }/nodes/gemm_beta/input_0.cairo | 0 tests/{src => }/nodes/gemm_beta/input_1.cairo | 0 tests/{src => }/nodes/gemm_beta/input_2.cairo | 0 .../{src => }/nodes/gemm_beta/output_0.cairo | 0 .../nodes/gemm_default_matrix_bias.cairo | 0 .../gemm_default_matrix_bias/input_0.cairo | 0 .../gemm_default_matrix_bias/input_1.cairo | 0 .../gemm_default_matrix_bias/input_2.cairo | 0 .../gemm_default_matrix_bias/output_0.cairo | 0 .../nodes/gemm_default_no_bias.cairo | 0 .../nodes/gemm_default_no_bias/input_0.cairo | 0 .../nodes/gemm_default_no_bias/input_1.cairo | 0 .../nodes/gemm_default_no_bias/output_0.cairo | 0 .../nodes/gemm_default_vector_bias.cairo | 0 .../gemm_default_vector_bias/input_0.cairo | 0 .../gemm_default_vector_bias/input_1.cairo | 0 .../gemm_default_vector_bias/input_2.cairo | 0 .../gemm_default_vector_bias/output_0.cairo | 0 tests/{src => }/nodes/gemm_transposeA.cairo | 0 .../nodes/gemm_transposeA/input_0.cairo | 0 .../nodes/gemm_transposeA/input_1.cairo | 0 .../nodes/gemm_transposeA/output_0.cairo | 0 tests/{src => }/nodes/gemm_transposeB.cairo | 0 .../nodes/gemm_transposeB/input_0.cairo | 0 .../nodes/gemm_transposeB/input_1.cairo | 0 .../nodes/gemm_transposeB/output_0.cairo | 0 .../nodes/greater_equal_fp16x16.cairo | 0 .../nodes/greater_equal_fp16x16/input_0.cairo | 0 .../nodes/greater_equal_fp16x16/input_1.cairo | 0 .../greater_equal_fp16x16/output_0.cairo | 0 .../greater_equal_fp16x16_broadcast.cairo | 0 .../input_0.cairo | 0 .../input_1.cairo | 0 .../output_0.cairo | 0 .../nodes/greater_equal_fp8x23.cairo | 0 .../nodes/greater_equal_fp8x23/input_0.cairo | 0 .../nodes/greater_equal_fp8x23/input_1.cairo | 0 .../nodes/greater_equal_fp8x23/output_0.cairo | 0 .../greater_equal_fp8x23_broadcast.cairo | 0 .../input_0.cairo | 0 .../input_1.cairo | 0 .../output_0.cairo | 0 tests/{src => }/nodes/greater_equal_i32.cairo | 0 .../nodes/greater_equal_i32/input_0.cairo | 0 .../nodes/greater_equal_i32/input_1.cairo | 0 .../nodes/greater_equal_i32/output_0.cairo | 0 .../nodes/greater_equal_i32_broadcast.cairo | 0 .../greater_equal_i32_broadcast/input_0.cairo | 0 .../greater_equal_i32_broadcast/input_1.cairo | 0 .../output_0.cairo | 0 tests/{src => }/nodes/greater_equal_i8.cairo | 0 .../nodes/greater_equal_i8/input_0.cairo | 0 .../nodes/greater_equal_i8/input_1.cairo | 0 .../nodes/greater_equal_i8/output_0.cairo | 0 .../nodes/greater_equal_i8_broadcast.cairo | 0 .../greater_equal_i8_broadcast/input_0.cairo | 0 .../greater_equal_i8_broadcast/input_1.cairo | 0 .../greater_equal_i8_broadcast/output_0.cairo | 0 tests/{src => }/nodes/greater_equal_u32.cairo | 0 .../nodes/greater_equal_u32/input_0.cairo | 0 .../nodes/greater_equal_u32/input_1.cairo | 0 .../nodes/greater_equal_u32/output_0.cairo | 0 .../nodes/greater_equal_u32_broadcast.cairo | 0 .../greater_equal_u32_broadcast/input_0.cairo | 0 .../greater_equal_u32_broadcast/input_1.cairo | 0 .../output_0.cairo | 0 tests/{src => }/nodes/greater_fp16x16.cairo | 0 .../nodes/greater_fp16x16/input_0.cairo | 0 .../nodes/greater_fp16x16/input_1.cairo | 0 .../nodes/greater_fp16x16/output_0.cairo | 0 .../nodes/greater_fp16x16_broadcast.cairo | 0 .../greater_fp16x16_broadcast/input_0.cairo | 0 .../greater_fp16x16_broadcast/input_1.cairo | 0 .../greater_fp16x16_broadcast/output_0.cairo | 0 tests/{src => }/nodes/greater_fp8x23.cairo | 0 .../nodes/greater_fp8x23/input_0.cairo | 0 .../nodes/greater_fp8x23/input_1.cairo | 0 .../nodes/greater_fp8x23/output_0.cairo | 0 .../nodes/greater_fp8x23_broadcast.cairo | 0 .../greater_fp8x23_broadcast/input_0.cairo | 0 .../greater_fp8x23_broadcast/input_1.cairo | 0 .../greater_fp8x23_broadcast/output_0.cairo | 0 tests/{src => }/nodes/greater_i32.cairo | 0 .../{src => }/nodes/greater_i32/input_0.cairo | 0 .../{src => }/nodes/greater_i32/input_1.cairo | 0 .../nodes/greater_i32/output_0.cairo | 0 .../nodes/greater_i32_broadcast.cairo | 0 .../nodes/greater_i32_broadcast/input_0.cairo | 0 .../nodes/greater_i32_broadcast/input_1.cairo | 0 .../greater_i32_broadcast/output_0.cairo | 0 tests/{src => }/nodes/greater_i8.cairo | 0 .../{src => }/nodes/greater_i8/input_0.cairo | 0 .../{src => }/nodes/greater_i8/input_1.cairo | 0 .../{src => }/nodes/greater_i8/output_0.cairo | 0 .../nodes/greater_i8_broadcast.cairo | 0 .../nodes/greater_i8_broadcast/input_0.cairo | 0 .../nodes/greater_i8_broadcast/input_1.cairo | 0 .../nodes/greater_i8_broadcast/output_0.cairo | 0 tests/{src => }/nodes/greater_u32.cairo | 0 .../{src => }/nodes/greater_u32/input_0.cairo | 0 .../{src => }/nodes/greater_u32/input_1.cairo | 0 .../nodes/greater_u32/output_0.cairo | 0 .../nodes/greater_u32_broadcast.cairo | 0 .../nodes/greater_u32_broadcast/input_0.cairo | 0 .../nodes/greater_u32_broadcast/input_1.cairo | 0 .../greater_u32_broadcast/output_0.cairo | 0 .../nodes/hard_sigmoid_fp16x16.cairo | 0 .../nodes/hard_sigmoid_fp16x16/input_0.cairo | 0 .../nodes/hard_sigmoid_fp16x16/output_0.cairo | 0 .../{src => }/nodes/hard_sigmoid_fp8x23.cairo | 0 .../nodes/hard_sigmoid_fp8x23/input_0.cairo | 0 .../nodes/hard_sigmoid_fp8x23/output_0.cairo | 0 tests/{src => }/nodes/identity_fP16x16.cairo | 0 .../nodes/identity_fP16x16/input_0.cairo | 0 .../nodes/identity_fP16x16/output_0.cairo | 0 tests/{src => }/nodes/identity_fP8x23.cairo | 0 .../nodes/identity_fP8x23/input_0.cairo | 0 .../nodes/identity_fP8x23/output_0.cairo | 0 tests/{src => }/nodes/identity_i32.cairo | 0 .../nodes/identity_i32/input_0.cairo | 0 .../nodes/identity_i32/output_0.cairo | 0 tests/{src => }/nodes/identity_i8.cairo | 0 .../{src => }/nodes/identity_i8/input_0.cairo | 0 .../nodes/identity_i8/output_0.cairo | 0 tests/{src => }/nodes/identity_u32.cairo | 0 .../nodes/identity_u32/input_0.cairo | 0 .../nodes/identity_u32/output_0.cairo | 0 .../{src => }/nodes/leaky_relu_fp16x16.cairo | 0 .../nodes/leaky_relu_fp16x16/input_0.cairo | 0 .../nodes/leaky_relu_fp16x16/output_0.cairo | 0 tests/{src => }/nodes/leaky_relu_fp8x23.cairo | 0 .../nodes/leaky_relu_fp8x23/input_0.cairo | 0 .../nodes/leaky_relu_fp8x23/output_0.cairo | 0 .../{src => }/nodes/less_equal_fp16x16.cairo | 0 .../nodes/less_equal_fp16x16/input_0.cairo | 0 .../nodes/less_equal_fp16x16/input_1.cairo | 0 .../nodes/less_equal_fp16x16/output_0.cairo | 0 .../nodes/less_equal_fp16x16_broadcast.cairo | 0 .../input_0.cairo | 0 .../input_1.cairo | 0 .../output_0.cairo | 0 tests/{src => }/nodes/less_equal_fp8x23.cairo | 0 .../nodes/less_equal_fp8x23/input_0.cairo | 0 .../nodes/less_equal_fp8x23/input_1.cairo | 0 .../nodes/less_equal_fp8x23/output_0.cairo | 0 .../nodes/less_equal_fp8x23_broadcast.cairo | 0 .../less_equal_fp8x23_broadcast/input_0.cairo | 0 .../less_equal_fp8x23_broadcast/input_1.cairo | 0 .../output_0.cairo | 0 tests/{src => }/nodes/less_equal_i32.cairo | 0 .../nodes/less_equal_i32/input_0.cairo | 0 .../nodes/less_equal_i32/input_1.cairo | 0 .../nodes/less_equal_i32/output_0.cairo | 0 .../nodes/less_equal_i32_broadcast.cairo | 0 .../less_equal_i32_broadcast/input_0.cairo | 0 .../less_equal_i32_broadcast/input_1.cairo | 0 .../less_equal_i32_broadcast/output_0.cairo | 0 tests/{src => }/nodes/less_equal_i8.cairo | 0 .../nodes/less_equal_i8/input_0.cairo | 0 .../nodes/less_equal_i8/input_1.cairo | 0 .../nodes/less_equal_i8/output_0.cairo | 0 .../nodes/less_equal_i8_broadcast.cairo | 0 .../less_equal_i8_broadcast/input_0.cairo | 0 .../less_equal_i8_broadcast/input_1.cairo | 0 .../less_equal_i8_broadcast/output_0.cairo | 0 tests/{src => }/nodes/less_equal_u32.cairo | 0 .../nodes/less_equal_u32/input_0.cairo | 0 .../nodes/less_equal_u32/input_1.cairo | 0 .../nodes/less_equal_u32/output_0.cairo | 0 .../nodes/less_equal_u32_broadcast.cairo | 0 .../less_equal_u32_broadcast/input_0.cairo | 0 .../less_equal_u32_broadcast/input_1.cairo | 0 .../less_equal_u32_broadcast/output_0.cairo | 0 tests/{src => }/nodes/less_fp16x16.cairo | 0 .../nodes/less_fp16x16/input_0.cairo | 0 .../nodes/less_fp16x16/input_1.cairo | 0 .../nodes/less_fp16x16/output_0.cairo | 0 .../nodes/less_fp16x16_broadcast.cairo | 0 .../less_fp16x16_broadcast/input_0.cairo | 0 .../less_fp16x16_broadcast/input_1.cairo | 0 .../less_fp16x16_broadcast/output_0.cairo | 0 tests/{src => }/nodes/less_fp8x23.cairo | 0 .../{src => }/nodes/less_fp8x23/input_0.cairo | 0 .../{src => }/nodes/less_fp8x23/input_1.cairo | 0 .../nodes/less_fp8x23/output_0.cairo | 0 .../nodes/less_fp8x23_broadcast.cairo | 0 .../nodes/less_fp8x23_broadcast/input_0.cairo | 0 .../nodes/less_fp8x23_broadcast/input_1.cairo | 0 .../less_fp8x23_broadcast/output_0.cairo | 0 tests/{src => }/nodes/less_i32.cairo | 0 tests/{src => }/nodes/less_i32/input_0.cairo | 0 tests/{src => }/nodes/less_i32/input_1.cairo | 0 tests/{src => }/nodes/less_i32/output_0.cairo | 0 .../{src => }/nodes/less_i32_broadcast.cairo | 0 .../nodes/less_i32_broadcast/input_0.cairo | 0 .../nodes/less_i32_broadcast/input_1.cairo | 0 .../nodes/less_i32_broadcast/output_0.cairo | 0 tests/{src => }/nodes/less_i8.cairo | 0 tests/{src => }/nodes/less_i8/input_0.cairo | 0 tests/{src => }/nodes/less_i8/input_1.cairo | 0 tests/{src => }/nodes/less_i8/output_0.cairo | 0 tests/{src => }/nodes/less_i8_broadcast.cairo | 0 .../nodes/less_i8_broadcast/input_0.cairo | 0 .../nodes/less_i8_broadcast/input_1.cairo | 0 .../nodes/less_i8_broadcast/output_0.cairo | 0 tests/{src => }/nodes/less_u32.cairo | 0 tests/{src => }/nodes/less_u32/input_0.cairo | 0 tests/{src => }/nodes/less_u32/input_1.cairo | 0 tests/{src => }/nodes/less_u32/output_0.cairo | 0 .../{src => }/nodes/less_u32_broadcast.cairo | 0 .../nodes/less_u32_broadcast/input_0.cairo | 0 .../nodes/less_u32_broadcast/input_1.cairo | 0 .../nodes/less_u32_broadcast/output_0.cairo | 0 tests/{src => }/nodes/linear_fp16x16.cairo | 0 .../nodes/linear_fp16x16/input_0.cairo | 0 .../nodes/linear_fp16x16/input_1.cairo | 0 .../nodes/linear_fp16x16/input_2.cairo | 0 .../nodes/linear_fp16x16/output_0.cairo | 0 tests/{src => }/nodes/linear_fp8x23.cairo | 0 .../nodes/linear_fp8x23/input_0.cairo | 0 .../nodes/linear_fp8x23/input_1.cairo | 0 .../nodes/linear_fp8x23/input_2.cairo | 0 .../nodes/linear_fp8x23/output_0.cairo | 0 tests/{src => }/nodes/linear_i32.cairo | 0 .../{src => }/nodes/linear_i32/input_0.cairo | 0 .../{src => }/nodes/linear_i32/input_1.cairo | 0 .../{src => }/nodes/linear_i32/input_2.cairo | 0 .../{src => }/nodes/linear_i32/output_0.cairo | 0 tests/{src => }/nodes/linear_i8.cairo | 0 tests/{src => }/nodes/linear_i8/input_0.cairo | 0 tests/{src => }/nodes/linear_i8/input_1.cairo | 0 tests/{src => }/nodes/linear_i8/input_2.cairo | 0 .../{src => }/nodes/linear_i8/output_0.cairo | 0 tests/{src => }/nodes/linear_u32.cairo | 0 .../{src => }/nodes/linear_u32/input_0.cairo | 0 .../{src => }/nodes/linear_u32/input_1.cairo | 0 .../{src => }/nodes/linear_u32/input_2.cairo | 0 .../{src => }/nodes/linear_u32/output_0.cairo | 0 tests/{src => }/nodes/log_fp16x16.cairo | 0 .../{src => }/nodes/log_fp16x16/input_0.cairo | 0 .../nodes/log_fp16x16/output_0.cairo | 0 tests/{src => }/nodes/log_fp8x23.cairo | 0 .../{src => }/nodes/log_fp8x23/input_0.cairo | 0 .../{src => }/nodes/log_fp8x23/output_0.cairo | 0 .../nodes/logsoftmax_fp16x16_axis_0.cairo | 0 .../logsoftmax_fp16x16_axis_0/input_0.cairo | 0 .../logsoftmax_fp16x16_axis_0/output_0.cairo | 0 .../nodes/logsoftmax_fp16x16_axis_1.cairo | 0 .../logsoftmax_fp16x16_axis_1/input_0.cairo | 0 .../logsoftmax_fp16x16_axis_1/output_0.cairo | 0 .../nodes/logsoftmax_fp8x23_axis_0.cairo | 0 .../logsoftmax_fp8x23_axis_0/input_0.cairo | 0 .../logsoftmax_fp8x23_axis_0/output_0.cairo | 0 .../nodes/logsoftmax_fp8x23_axis_1.cairo | 0 .../logsoftmax_fp8x23_axis_1/input_0.cairo | 0 .../logsoftmax_fp8x23_axis_1/output_0.cairo | 0 tests/{src => }/nodes/matmul_fp16x16_1d.cairo | 0 .../nodes/matmul_fp16x16_1d/input_0.cairo | 0 .../nodes/matmul_fp16x16_1d/input_1.cairo | 0 .../nodes/matmul_fp16x16_1d/output_0.cairo | 0 .../{src => }/nodes/matmul_fp16x16_1x2.cairo | 0 .../nodes/matmul_fp16x16_1x2/input_0.cairo | 0 .../nodes/matmul_fp16x16_1x2/input_1.cairo | 0 .../nodes/matmul_fp16x16_1x2/output_0.cairo | 0 .../{src => }/nodes/matmul_fp16x16_2x1.cairo | 0 .../nodes/matmul_fp16x16_2x1/input_0.cairo | 0 .../nodes/matmul_fp16x16_2x1/input_1.cairo | 0 .../nodes/matmul_fp16x16_2x1/output_0.cairo | 0 .../{src => }/nodes/matmul_fp16x16_2x2.cairo | 0 .../nodes/matmul_fp16x16_2x2/input_0.cairo | 0 .../nodes/matmul_fp16x16_2x2/input_1.cairo | 0 .../nodes/matmul_fp16x16_2x2/output_0.cairo | 0 tests/{src => }/nodes/matmul_fp8x23_1d.cairo | 0 .../nodes/matmul_fp8x23_1d/input_0.cairo | 0 .../nodes/matmul_fp8x23_1d/input_1.cairo | 0 .../nodes/matmul_fp8x23_1d/output_0.cairo | 0 tests/{src => }/nodes/matmul_fp8x23_1x2.cairo | 0 .../nodes/matmul_fp8x23_1x2/input_0.cairo | 0 .../nodes/matmul_fp8x23_1x2/input_1.cairo | 0 .../nodes/matmul_fp8x23_1x2/output_0.cairo | 0 tests/{src => }/nodes/matmul_fp8x23_2x1.cairo | 0 .../nodes/matmul_fp8x23_2x1/input_0.cairo | 0 .../nodes/matmul_fp8x23_2x1/input_1.cairo | 0 .../nodes/matmul_fp8x23_2x1/output_0.cairo | 0 tests/{src => }/nodes/matmul_fp8x23_2x2.cairo | 0 .../nodes/matmul_fp8x23_2x2/input_0.cairo | 0 .../nodes/matmul_fp8x23_2x2/input_1.cairo | 0 .../nodes/matmul_fp8x23_2x2/output_0.cairo | 0 tests/{src => }/nodes/matmul_i32_1d.cairo | 0 .../nodes/matmul_i32_1d/input_0.cairo | 0 .../nodes/matmul_i32_1d/input_1.cairo | 0 .../nodes/matmul_i32_1d/output_0.cairo | 0 tests/{src => }/nodes/matmul_i32_1x2.cairo | 0 .../nodes/matmul_i32_1x2/input_0.cairo | 0 .../nodes/matmul_i32_1x2/input_1.cairo | 0 .../nodes/matmul_i32_1x2/output_0.cairo | 0 tests/{src => }/nodes/matmul_i32_2x1.cairo | 0 .../nodes/matmul_i32_2x1/input_0.cairo | 0 .../nodes/matmul_i32_2x1/input_1.cairo | 0 .../nodes/matmul_i32_2x1/output_0.cairo | 0 tests/{src => }/nodes/matmul_i32_2x2.cairo | 0 .../nodes/matmul_i32_2x2/input_0.cairo | 0 .../nodes/matmul_i32_2x2/input_1.cairo | 0 .../nodes/matmul_i32_2x2/output_0.cairo | 0 tests/{src => }/nodes/matmul_i8_1d.cairo | 0 .../nodes/matmul_i8_1d/input_0.cairo | 0 .../nodes/matmul_i8_1d/input_1.cairo | 0 .../nodes/matmul_i8_1d/output_0.cairo | 0 tests/{src => }/nodes/matmul_i8_1x2.cairo | 0 .../nodes/matmul_i8_1x2/input_0.cairo | 0 .../nodes/matmul_i8_1x2/input_1.cairo | 0 .../nodes/matmul_i8_1x2/output_0.cairo | 0 tests/{src => }/nodes/matmul_i8_2x1.cairo | 0 .../nodes/matmul_i8_2x1/input_0.cairo | 0 .../nodes/matmul_i8_2x1/input_1.cairo | 0 .../nodes/matmul_i8_2x1/output_0.cairo | 0 tests/{src => }/nodes/matmul_i8_2x2.cairo | 0 .../nodes/matmul_i8_2x2/input_0.cairo | 0 .../nodes/matmul_i8_2x2/input_1.cairo | 0 .../nodes/matmul_i8_2x2/output_0.cairo | 0 tests/{src => }/nodes/matmul_u32_1d.cairo | 0 .../nodes/matmul_u32_1d/input_0.cairo | 0 .../nodes/matmul_u32_1d/input_1.cairo | 0 .../nodes/matmul_u32_1d/output_0.cairo | 0 tests/{src => }/nodes/matmul_u32_1x2.cairo | 0 .../nodes/matmul_u32_1x2/input_0.cairo | 0 .../nodes/matmul_u32_1x2/input_1.cairo | 0 .../nodes/matmul_u32_1x2/output_0.cairo | 0 tests/{src => }/nodes/matmul_u32_2x1.cairo | 0 .../nodes/matmul_u32_2x1/input_0.cairo | 0 .../nodes/matmul_u32_2x1/input_1.cairo | 0 .../nodes/matmul_u32_2x1/output_0.cairo | 0 tests/{src => }/nodes/matmul_u32_2x2.cairo | 0 .../nodes/matmul_u32_2x2/input_0.cairo | 0 .../nodes/matmul_u32_2x2/input_1.cairo | 0 .../nodes/matmul_u32_2x2/output_0.cairo | 0 tests/{src => }/nodes/mul_fp16x16.cairo | 0 .../{src => }/nodes/mul_fp16x16/input_0.cairo | 0 .../{src => }/nodes/mul_fp16x16/input_1.cairo | 0 .../nodes/mul_fp16x16/output_0.cairo | 0 .../nodes/mul_fp16x16_broadcast.cairo | 0 .../nodes/mul_fp16x16_broadcast/input_0.cairo | 0 .../nodes/mul_fp16x16_broadcast/input_1.cairo | 0 .../mul_fp16x16_broadcast/output_0.cairo | 0 tests/{src => }/nodes/mul_fp8x23.cairo | 0 .../{src => }/nodes/mul_fp8x23/input_0.cairo | 0 .../{src => }/nodes/mul_fp8x23/input_1.cairo | 0 .../{src => }/nodes/mul_fp8x23/output_0.cairo | 0 .../nodes/mul_fp8x23_broadcast.cairo | 0 .../nodes/mul_fp8x23_broadcast/input_0.cairo | 0 .../nodes/mul_fp8x23_broadcast/input_1.cairo | 0 .../nodes/mul_fp8x23_broadcast/output_0.cairo | 0 tests/{src => }/nodes/mul_i32.cairo | 0 tests/{src => }/nodes/mul_i32/input_0.cairo | 0 tests/{src => }/nodes/mul_i32/input_1.cairo | 0 tests/{src => }/nodes/mul_i32/output_0.cairo | 0 tests/{src => }/nodes/mul_i32_broadcast.cairo | 0 .../nodes/mul_i32_broadcast/input_0.cairo | 0 .../nodes/mul_i32_broadcast/input_1.cairo | 0 .../nodes/mul_i32_broadcast/output_0.cairo | 0 tests/{src => }/nodes/mul_i8.cairo | 0 tests/{src => }/nodes/mul_i8/input_0.cairo | 0 tests/{src => }/nodes/mul_i8/input_1.cairo | 0 tests/{src => }/nodes/mul_i8/output_0.cairo | 0 tests/{src => }/nodes/mul_i8_broadcast.cairo | 0 .../nodes/mul_i8_broadcast/input_0.cairo | 0 .../nodes/mul_i8_broadcast/input_1.cairo | 0 .../nodes/mul_i8_broadcast/output_0.cairo | 0 tests/{src => }/nodes/mul_u32.cairo | 0 tests/{src => }/nodes/mul_u32/input_0.cairo | 0 tests/{src => }/nodes/mul_u32/input_1.cairo | 0 tests/{src => }/nodes/mul_u32/output_0.cairo | 0 tests/{src => }/nodes/mul_u32_broadcast.cairo | 0 .../nodes/mul_u32_broadcast/input_0.cairo | 0 .../nodes/mul_u32_broadcast/input_1.cairo | 0 .../nodes/mul_u32_broadcast/output_0.cairo | 0 tests/{src => }/nodes/neg_fp16x16.cairo | 0 .../{src => }/nodes/neg_fp16x16/input_0.cairo | 0 .../nodes/neg_fp16x16/output_0.cairo | 0 tests/{src => }/nodes/neg_fp8x23.cairo | 0 .../{src => }/nodes/neg_fp8x23/input_0.cairo | 0 .../{src => }/nodes/neg_fp8x23/output_0.cairo | 0 tests/{src => }/nodes/neg_i32.cairo | 0 tests/{src => }/nodes/neg_i32/input_0.cairo | 0 tests/{src => }/nodes/neg_i32/output_0.cairo | 0 tests/{src => }/nodes/neg_i8.cairo | 0 tests/{src => }/nodes/neg_i8/input_0.cairo | 0 tests/{src => }/nodes/neg_i8/output_0.cairo | 0 .../{src => }/nodes/nonzero_fp16x16_2d.cairo | 0 .../nodes/nonzero_fp16x16_2d/input_0.cairo | 0 .../nodes/nonzero_fp16x16_2d/output_0.cairo | 0 .../{src => }/nodes/nonzero_fp16x16_3d.cairo | 0 .../nodes/nonzero_fp16x16_3d/input_0.cairo | 0 .../nodes/nonzero_fp16x16_3d/output_0.cairo | 0 tests/{src => }/nodes/nonzero_fp8x23_2d.cairo | 0 .../nodes/nonzero_fp8x23_2d/input_0.cairo | 0 .../nodes/nonzero_fp8x23_2d/output_0.cairo | 0 tests/{src => }/nodes/nonzero_fp8x23_3d.cairo | 0 .../nodes/nonzero_fp8x23_3d/input_0.cairo | 0 .../nodes/nonzero_fp8x23_3d/output_0.cairo | 0 tests/{src => }/nodes/nonzero_i32_2d.cairo | 0 .../nodes/nonzero_i32_2d/input_0.cairo | 0 .../nodes/nonzero_i32_2d/output_0.cairo | 0 tests/{src => }/nodes/nonzero_i32_3d.cairo | 0 .../nodes/nonzero_i32_3d/input_0.cairo | 0 .../nodes/nonzero_i32_3d/output_0.cairo | 0 tests/{src => }/nodes/nonzero_i8_2d.cairo | 0 .../nodes/nonzero_i8_2d/input_0.cairo | 0 .../nodes/nonzero_i8_2d/output_0.cairo | 0 tests/{src => }/nodes/nonzero_i8_3d.cairo | 0 .../nodes/nonzero_i8_3d/input_0.cairo | 0 .../nodes/nonzero_i8_3d/output_0.cairo | 0 tests/{src => }/nodes/nonzero_u32_2d.cairo | 0 .../nodes/nonzero_u32_2d/input_0.cairo | 0 .../nodes/nonzero_u32_2d/output_0.cairo | 0 tests/{src => }/nodes/nonzero_u32_3d.cairo | 0 .../nodes/nonzero_u32_3d/input_0.cairo | 0 .../nodes/nonzero_u32_3d/output_0.cairo | 0 tests/{src => }/nodes/or_fp16x16.cairo | 0 .../{src => }/nodes/or_fp16x16/input_0.cairo | 0 .../{src => }/nodes/or_fp16x16/input_1.cairo | 0 .../{src => }/nodes/or_fp16x16/output_0.cairo | 0 .../nodes/or_fp16x16_broadcast.cairo | 0 .../nodes/or_fp16x16_broadcast/input_0.cairo | 0 .../nodes/or_fp16x16_broadcast/input_1.cairo | 0 .../nodes/or_fp16x16_broadcast/output_0.cairo | 0 tests/{src => }/nodes/or_fp8x23.cairo | 0 tests/{src => }/nodes/or_fp8x23/input_0.cairo | 0 tests/{src => }/nodes/or_fp8x23/input_1.cairo | 0 .../{src => }/nodes/or_fp8x23/output_0.cairo | 0 .../{src => }/nodes/or_fp8x23_broadcast.cairo | 0 .../nodes/or_fp8x23_broadcast/input_0.cairo | 0 .../nodes/or_fp8x23_broadcast/input_1.cairo | 0 .../nodes/or_fp8x23_broadcast/output_0.cairo | 0 tests/{src => }/nodes/or_i32.cairo | 0 tests/{src => }/nodes/or_i32/input_0.cairo | 0 tests/{src => }/nodes/or_i32/input_1.cairo | 0 tests/{src => }/nodes/or_i32/output_0.cairo | 0 tests/{src => }/nodes/or_i32_broadcast.cairo | 0 .../nodes/or_i32_broadcast/input_0.cairo | 0 .../nodes/or_i32_broadcast/input_1.cairo | 0 .../nodes/or_i32_broadcast/output_0.cairo | 0 tests/{src => }/nodes/or_i8.cairo | 0 tests/{src => }/nodes/or_i8/input_0.cairo | 0 tests/{src => }/nodes/or_i8/input_1.cairo | 0 tests/{src => }/nodes/or_i8/output_0.cairo | 0 tests/{src => }/nodes/or_i8_broadcast.cairo | 0 .../nodes/or_i8_broadcast/input_0.cairo | 0 .../nodes/or_i8_broadcast/input_1.cairo | 0 .../nodes/or_i8_broadcast/output_0.cairo | 0 tests/{src => }/nodes/or_u32.cairo | 0 tests/{src => }/nodes/or_u32/input_0.cairo | 0 tests/{src => }/nodes/or_u32/input_1.cairo | 0 tests/{src => }/nodes/or_u32/output_0.cairo | 0 tests/{src => }/nodes/or_u32_broadcast.cairo | 0 .../nodes/or_u32_broadcast/input_0.cairo | 0 .../nodes/or_u32_broadcast/input_1.cairo | 0 .../nodes/or_u32_broadcast/output_0.cairo | 0 .../nodes/reduce_sum_fp16x16_1D.cairo | 0 .../nodes/reduce_sum_fp16x16_1D/input_0.cairo | 0 .../reduce_sum_fp16x16_1D/output_0.cairo | 0 .../nodes/reduce_sum_fp16x16_2D_axis_1.cairo | 0 .../input_0.cairo | 0 .../output_0.cairo | 0 .../nodes/reduce_sum_fp16x16_2D_default.cairo | 0 .../input_0.cairo | 0 .../output_0.cairo | 0 .../reduce_sum_fp16x16_2D_keepdims.cairo | 0 .../input_0.cairo | 0 .../output_0.cairo | 0 .../nodes/reduce_sum_fp8x23_1D.cairo | 0 .../nodes/reduce_sum_fp8x23_1D/input_0.cairo | 0 .../nodes/reduce_sum_fp8x23_1D/output_0.cairo | 0 .../nodes/reduce_sum_fp8x23_2D_axis_1.cairo | 0 .../reduce_sum_fp8x23_2D_axis_1/input_0.cairo | 0 .../output_0.cairo | 0 .../nodes/reduce_sum_fp8x23_2D_default.cairo | 0 .../input_0.cairo | 0 .../output_0.cairo | 0 .../nodes/reduce_sum_fp8x23_2D_keepdims.cairo | 0 .../input_0.cairo | 0 .../output_0.cairo | 0 tests/{src => }/nodes/reduce_sum_i32_1D.cairo | 0 .../nodes/reduce_sum_i32_1D/input_0.cairo | 0 .../nodes/reduce_sum_i32_1D/output_0.cairo | 0 .../nodes/reduce_sum_i32_2D_axis_1.cairo | 0 .../reduce_sum_i32_2D_axis_1/input_0.cairo | 0 .../reduce_sum_i32_2D_axis_1/output_0.cairo | 0 .../nodes/reduce_sum_i32_2D_default.cairo | 0 .../reduce_sum_i32_2D_default/input_0.cairo | 0 .../reduce_sum_i32_2D_default/output_0.cairo | 0 .../nodes/reduce_sum_i32_2D_keepdims.cairo | 0 .../reduce_sum_i32_2D_keepdims/input_0.cairo | 0 .../reduce_sum_i32_2D_keepdims/output_0.cairo | 0 tests/{src => }/nodes/reduce_sum_i8_1D.cairo | 0 .../nodes/reduce_sum_i8_1D/input_0.cairo | 0 .../nodes/reduce_sum_i8_1D/output_0.cairo | 0 .../nodes/reduce_sum_i8_2D_axis_1.cairo | 0 .../reduce_sum_i8_2D_axis_1/input_0.cairo | 0 .../reduce_sum_i8_2D_axis_1/output_0.cairo | 0 .../nodes/reduce_sum_i8_2D_default.cairo | 0 .../reduce_sum_i8_2D_default/input_0.cairo | 0 .../reduce_sum_i8_2D_default/output_0.cairo | 0 .../nodes/reduce_sum_i8_2D_keepdims.cairo | 0 .../reduce_sum_i8_2D_keepdims/input_0.cairo | 0 .../reduce_sum_i8_2D_keepdims/output_0.cairo | 0 tests/{src => }/nodes/reduce_sum_u32_1D.cairo | 0 .../nodes/reduce_sum_u32_1D/input_0.cairo | 0 .../nodes/reduce_sum_u32_1D/output_0.cairo | 0 .../nodes/reduce_sum_u32_2D_axis_1.cairo | 0 .../reduce_sum_u32_2D_axis_1/input_0.cairo | 0 .../reduce_sum_u32_2D_axis_1/output_0.cairo | 0 .../nodes/reduce_sum_u32_2D_default.cairo | 0 .../reduce_sum_u32_2D_default/input_0.cairo | 0 .../reduce_sum_u32_2D_default/output_0.cairo | 0 .../nodes/reduce_sum_u32_2D_keepdims.cairo | 0 .../reduce_sum_u32_2D_keepdims/input_0.cairo | 0 .../reduce_sum_u32_2D_keepdims/output_0.cairo | 0 tests/{src => }/nodes/relu_fp16x16.cairo | 0 .../nodes/relu_fp16x16/input_0.cairo | 0 .../nodes/relu_fp16x16/output_0.cairo | 0 tests/{src => }/nodes/relu_fp8x23.cairo | 0 .../{src => }/nodes/relu_fp8x23/input_0.cairo | 0 .../nodes/relu_fp8x23/output_0.cairo | 0 tests/{src => }/nodes/relu_i32.cairo | 0 tests/{src => }/nodes/relu_i32/input_0.cairo | 0 tests/{src => }/nodes/relu_i32/output_0.cairo | 0 tests/{src => }/nodes/relu_i8.cairo | 0 tests/{src => }/nodes/relu_i8/input_0.cairo | 0 tests/{src => }/nodes/relu_i8/output_0.cairo | 0 tests/{src => }/nodes/sigmoid_fp16x16.cairo | 0 .../nodes/sigmoid_fp16x16/input_0.cairo | 0 .../nodes/sigmoid_fp16x16/output_0.cairo | 0 tests/{src => }/nodes/sigmoid_fp8x23.cairo | 0 .../nodes/sigmoid_fp8x23/input_0.cairo | 0 .../nodes/sigmoid_fp8x23/output_0.cairo | 0 tests/{src => }/nodes/sign_fP16x16.cairo | 0 .../nodes/sign_fP16x16/input_0.cairo | 0 .../nodes/sign_fP16x16/output_0.cairo | 0 tests/{src => }/nodes/sign_fP8x23.cairo | 0 .../{src => }/nodes/sign_fP8x23/input_0.cairo | 0 .../nodes/sign_fP8x23/output_0.cairo | 0 tests/{src => }/nodes/sign_fail.cairo | 0 tests/{src => }/nodes/sign_fail/input_0.cairo | 0 .../{src => }/nodes/sign_fail/output_0.cairo | 0 tests/{src => }/nodes/sign_i32.cairo | 0 tests/{src => }/nodes/sign_i32/input_0.cairo | 0 tests/{src => }/nodes/sign_i32/output_0.cairo | 0 tests/{src => }/nodes/sign_i8.cairo | 0 tests/{src => }/nodes/sign_i8/input_0.cairo | 0 tests/{src => }/nodes/sign_i8/output_0.cairo | 0 tests/{src => }/nodes/sin_fp16x16.cairo | 0 .../{src => }/nodes/sin_fp16x16/input_0.cairo | 0 .../nodes/sin_fp16x16/output_0.cairo | 0 tests/{src => }/nodes/sin_fp8x23.cairo | 0 .../{src => }/nodes/sin_fp8x23/input_0.cairo | 0 .../{src => }/nodes/sin_fp8x23/output_0.cairo | 0 tests/{src => }/nodes/sinh_fp16x16.cairo | 0 .../nodes/sinh_fp16x16/input_0.cairo | 0 .../nodes/sinh_fp16x16/output_0.cairo | 0 tests/{src => }/nodes/sinh_fp8x23.cairo | 0 .../{src => }/nodes/sinh_fp8x23/input_0.cairo | 0 .../nodes/sinh_fp8x23/output_0.cairo | 0 tests/{src => }/nodes/slice_fp16x16_2d.cairo | 0 .../nodes/slice_fp16x16_2d/input_0.cairo | 0 .../nodes/slice_fp16x16_2d/output_0.cairo | 0 tests/{src => }/nodes/slice_fp16x16_3d.cairo | 0 .../nodes/slice_fp16x16_3d/input_0.cairo | 0 .../nodes/slice_fp16x16_3d/output_0.cairo | 0 tests/{src => }/nodes/slice_fp8x23_2d.cairo | 0 .../nodes/slice_fp8x23_2d/input_0.cairo | 0 .../nodes/slice_fp8x23_2d/output_0.cairo | 0 tests/{src => }/nodes/slice_fp8x23_3d.cairo | 0 .../nodes/slice_fp8x23_3d/input_0.cairo | 0 .../nodes/slice_fp8x23_3d/output_0.cairo | 0 tests/{src => }/nodes/slice_i32_2d.cairo | 0 .../nodes/slice_i32_2d/input_0.cairo | 0 .../nodes/slice_i32_2d/output_0.cairo | 0 tests/{src => }/nodes/slice_i32_3d.cairo | 0 .../nodes/slice_i32_3d/input_0.cairo | 0 .../nodes/slice_i32_3d/output_0.cairo | 0 tests/{src => }/nodes/slice_i8_2d.cairo | 0 .../{src => }/nodes/slice_i8_2d/input_0.cairo | 0 .../nodes/slice_i8_2d/output_0.cairo | 0 tests/{src => }/nodes/slice_i8_3d.cairo | 0 .../{src => }/nodes/slice_i8_3d/input_0.cairo | 0 .../nodes/slice_i8_3d/output_0.cairo | 0 tests/{src => }/nodes/slice_u32_2d.cairo | 0 .../nodes/slice_u32_2d/input_0.cairo | 0 .../nodes/slice_u32_2d/output_0.cairo | 0 tests/{src => }/nodes/slice_u32_3d.cairo | 0 .../nodes/slice_u32_3d/input_0.cairo | 0 .../nodes/slice_u32_3d/output_0.cairo | 0 tests/{src => }/nodes/softmax_fp16x16.cairo | 0 .../nodes/softmax_fp16x16/input_0.cairo | 0 .../nodes/softmax_fp16x16/output_0.cairo | 0 tests/{src => }/nodes/softmax_fp8x23.cairo | 0 .../nodes/softmax_fp8x23/input_0.cairo | 0 .../nodes/softmax_fp8x23/output_0.cairo | 0 tests/{src => }/nodes/softplus_fp16x16.cairo | 0 .../nodes/softplus_fp16x16/input_0.cairo | 0 .../nodes/softplus_fp16x16/output_0.cairo | 0 tests/{src => }/nodes/softplus_fp8x23.cairo | 0 .../nodes/softplus_fp8x23/input_0.cairo | 0 .../nodes/softplus_fp8x23/output_0.cairo | 0 tests/{src => }/nodes/softsign_fp16x16.cairo | 0 .../nodes/softsign_fp16x16/input_0.cairo | 0 .../nodes/softsign_fp16x16/output_0.cairo | 0 tests/{src => }/nodes/softsign_fp8x23.cairo | 0 .../nodes/softsign_fp8x23/input_0.cairo | 0 .../nodes/softsign_fp8x23/output_0.cairo | 0 tests/{src => }/nodes/sqrt_fp16x16.cairo | 0 .../nodes/sqrt_fp16x16/input_0.cairo | 0 .../nodes/sqrt_fp16x16/output_0.cairo | 0 tests/{src => }/nodes/sqrt_fp8x23.cairo | 0 .../{src => }/nodes/sqrt_fp8x23/input_0.cairo | 0 .../nodes/sqrt_fp8x23/output_0.cairo | 0 tests/{src => }/nodes/squeeze_fP16x16.cairo | 0 .../nodes/squeeze_fP16x16/input_0.cairo | 0 .../nodes/squeeze_fP16x16/output_0.cairo | 0 tests/{src => }/nodes/squeeze_fP8x23.cairo | 0 .../nodes/squeeze_fP8x23/input_0.cairo | 0 .../nodes/squeeze_fP8x23/output_0.cairo | 0 tests/{src => }/nodes/squeeze_i32.cairo | 0 .../{src => }/nodes/squeeze_i32/input_0.cairo | 0 .../nodes/squeeze_i32/output_0.cairo | 0 tests/{src => }/nodes/squeeze_i8.cairo | 0 .../{src => }/nodes/squeeze_i8/input_0.cairo | 0 .../{src => }/nodes/squeeze_i8/output_0.cairo | 0 tests/{src => }/nodes/squeeze_u32.cairo | 0 .../{src => }/nodes/squeeze_u32/input_0.cairo | 0 .../nodes/squeeze_u32/output_0.cairo | 0 .../nodes/squeeze_u32/output_negatives.cairo | 0 .../nodes/squeeze_u32/output_non_axes.cairo | 0 tests/{src => }/nodes/sub_fp16x16.cairo | 0 .../{src => }/nodes/sub_fp16x16/input_0.cairo | 0 .../{src => }/nodes/sub_fp16x16/input_1.cairo | 0 .../nodes/sub_fp16x16/output_0.cairo | 0 .../nodes/sub_fp16x16_broadcast.cairo | 0 .../nodes/sub_fp16x16_broadcast/input_0.cairo | 0 .../nodes/sub_fp16x16_broadcast/input_1.cairo | 0 .../sub_fp16x16_broadcast/output_0.cairo | 0 tests/{src => }/nodes/sub_fp8x23.cairo | 0 .../{src => }/nodes/sub_fp8x23/input_0.cairo | 0 .../{src => }/nodes/sub_fp8x23/input_1.cairo | 0 .../{src => }/nodes/sub_fp8x23/output_0.cairo | 0 .../nodes/sub_fp8x23_broadcast.cairo | 0 .../nodes/sub_fp8x23_broadcast/input_0.cairo | 0 .../nodes/sub_fp8x23_broadcast/input_1.cairo | 0 .../nodes/sub_fp8x23_broadcast/output_0.cairo | 0 tests/{src => }/nodes/sub_i32.cairo | 0 tests/{src => }/nodes/sub_i32/input_0.cairo | 0 tests/{src => }/nodes/sub_i32/input_1.cairo | 0 tests/{src => }/nodes/sub_i32/output_0.cairo | 0 tests/{src => }/nodes/sub_i32_broadcast.cairo | 0 .../nodes/sub_i32_broadcast/input_0.cairo | 0 .../nodes/sub_i32_broadcast/input_1.cairo | 0 .../nodes/sub_i32_broadcast/output_0.cairo | 0 tests/{src => }/nodes/sub_i8.cairo | 0 tests/{src => }/nodes/sub_i8/input_0.cairo | 0 tests/{src => }/nodes/sub_i8/input_1.cairo | 0 tests/{src => }/nodes/sub_i8/output_0.cairo | 0 tests/{src => }/nodes/sub_i8_broadcast.cairo | 0 .../nodes/sub_i8_broadcast/input_0.cairo | 0 .../nodes/sub_i8_broadcast/input_1.cairo | 0 .../nodes/sub_i8_broadcast/output_0.cairo | 0 tests/{src => }/nodes/sub_u32.cairo | 0 tests/{src => }/nodes/sub_u32/input_0.cairo | 0 tests/{src => }/nodes/sub_u32/input_1.cairo | 0 tests/{src => }/nodes/sub_u32/output_0.cairo | 0 tests/{src => }/nodes/sub_u32_broadcast.cairo | 0 .../nodes/sub_u32_broadcast/input_0.cairo | 0 .../nodes/sub_u32_broadcast/input_1.cairo | 0 .../nodes/sub_u32_broadcast/output_0.cairo | 0 tests/{src => }/nodes/tanh_fp16x16.cairo | 0 .../nodes/tanh_fp16x16/input_0.cairo | 0 .../nodes/tanh_fp16x16/output_0.cairo | 0 tests/{src => }/nodes/tanh_fp8x23.cairo | 0 .../{src => }/nodes/tanh_fp8x23/input_0.cairo | 0 .../nodes/tanh_fp8x23/output_0.cairo | 0 .../nodes/thresholded_relu_fp16x16.cairo | 0 .../thresholded_relu_fp16x16/input_0.cairo | 0 .../thresholded_relu_fp16x16/output_0.cairo | 0 .../nodes/thresholded_relu_fp8x23.cairo | 0 .../thresholded_relu_fp8x23/input_0.cairo | 0 .../thresholded_relu_fp8x23/output_0.cairo | 0 .../nodes/transpose_fp16x16_2d.cairo | 0 .../nodes/transpose_fp16x16_2d/input_0.cairo | 0 .../nodes/transpose_fp16x16_2d/output_0.cairo | 0 .../nodes/transpose_fp16x16_3d.cairo | 0 .../nodes/transpose_fp16x16_3d/input_0.cairo | 0 .../nodes/transpose_fp16x16_3d/output_0.cairo | 0 .../{src => }/nodes/transpose_fp8x23_2d.cairo | 0 .../nodes/transpose_fp8x23_2d/input_0.cairo | 0 .../nodes/transpose_fp8x23_2d/output_0.cairo | 0 .../{src => }/nodes/transpose_fp8x23_3d.cairo | 0 .../nodes/transpose_fp8x23_3d/input_0.cairo | 0 .../nodes/transpose_fp8x23_3d/output_0.cairo | 0 tests/{src => }/nodes/transpose_i32_2d.cairo | 0 .../nodes/transpose_i32_2d/input_0.cairo | 0 .../nodes/transpose_i32_2d/output_0.cairo | 0 tests/{src => }/nodes/transpose_i32_3d.cairo | 0 .../nodes/transpose_i32_3d/input_0.cairo | 0 .../nodes/transpose_i32_3d/output_0.cairo | 0 tests/{src => }/nodes/transpose_i8_2d.cairo | 0 .../nodes/transpose_i8_2d/input_0.cairo | 0 .../nodes/transpose_i8_2d/output_0.cairo | 0 tests/{src => }/nodes/transpose_i8_3d.cairo | 0 .../nodes/transpose_i8_3d/input_0.cairo | 0 .../nodes/transpose_i8_3d/output_0.cairo | 0 tests/{src => }/nodes/transpose_u32_2d.cairo | 0 .../nodes/transpose_u32_2d/input_0.cairo | 0 .../nodes/transpose_u32_2d/output_0.cairo | 0 tests/{src => }/nodes/transpose_u32_3d.cairo | 0 .../nodes/transpose_u32_3d/input_0.cairo | 0 .../nodes/transpose_u32_3d/output_0.cairo | 0 .../nodes/unsqueeze_fp16x16_2d.cairo | 0 .../nodes/unsqueeze_fp16x16_2d/input_0.cairo | 0 .../nodes/unsqueeze_fp16x16_2d/output_0.cairo | 0 .../nodes/unsqueeze_fp16x16_3d.cairo | 0 .../nodes/unsqueeze_fp16x16_3d/input_0.cairo | 0 .../nodes/unsqueeze_fp16x16_3d/output_0.cairo | 0 .../{src => }/nodes/unsqueeze_fp8x23_2d.cairo | 0 .../nodes/unsqueeze_fp8x23_2d/input_0.cairo | 0 .../nodes/unsqueeze_fp8x23_2d/output_0.cairo | 0 .../{src => }/nodes/unsqueeze_fp8x23_3d.cairo | 0 .../nodes/unsqueeze_fp8x23_3d/input_0.cairo | 0 .../nodes/unsqueeze_fp8x23_3d/output_0.cairo | 0 tests/{src => }/nodes/unsqueeze_i32_2d.cairo | 0 .../nodes/unsqueeze_i32_2d/input_0.cairo | 0 .../nodes/unsqueeze_i32_2d/output_0.cairo | 0 tests/{src => }/nodes/unsqueeze_i32_3d.cairo | 0 .../nodes/unsqueeze_i32_3d/input_0.cairo | 0 .../nodes/unsqueeze_i32_3d/output_0.cairo | 0 tests/{src => }/nodes/unsqueeze_i8_2d.cairo | 0 .../nodes/unsqueeze_i8_2d/input_0.cairo | 0 .../nodes/unsqueeze_i8_2d/output_0.cairo | 0 tests/{src => }/nodes/unsqueeze_i8_3d.cairo | 0 .../nodes/unsqueeze_i8_3d/input_0.cairo | 0 .../nodes/unsqueeze_i8_3d/output_0.cairo | 0 tests/{src => }/nodes/unsqueeze_u32_2d.cairo | 0 .../nodes/unsqueeze_u32_2d/input_0.cairo | 0 .../nodes/unsqueeze_u32_2d/output_0.cairo | 0 tests/{src => }/nodes/unsqueeze_u32_3d.cairo | 0 .../nodes/unsqueeze_u32_3d/input_0.cairo | 0 .../nodes/unsqueeze_u32_3d/output_0.cairo | 0 tests/{src => }/nodes/xor_fp16x16.cairo | 0 .../{src => }/nodes/xor_fp16x16/input_0.cairo | 0 .../{src => }/nodes/xor_fp16x16/input_1.cairo | 0 .../nodes/xor_fp16x16/output_0.cairo | 0 .../nodes/xor_fp16x16_broadcast.cairo | 0 .../nodes/xor_fp16x16_broadcast/input_0.cairo | 0 .../nodes/xor_fp16x16_broadcast/input_1.cairo | 0 .../xor_fp16x16_broadcast/output_0.cairo | 0 tests/{src => }/nodes/xor_fp8x23.cairo | 0 .../{src => }/nodes/xor_fp8x23/input_0.cairo | 0 .../{src => }/nodes/xor_fp8x23/input_1.cairo | 0 .../{src => }/nodes/xor_fp8x23/output_0.cairo | 0 .../nodes/xor_fp8x23_broadcast.cairo | 0 .../nodes/xor_fp8x23_broadcast/input_0.cairo | 0 .../nodes/xor_fp8x23_broadcast/input_1.cairo | 0 .../nodes/xor_fp8x23_broadcast/output_0.cairo | 0 tests/{src => }/nodes/xor_i32.cairo | 0 tests/{src => }/nodes/xor_i32/input_0.cairo | 0 tests/{src => }/nodes/xor_i32/input_1.cairo | 0 tests/{src => }/nodes/xor_i32/output_0.cairo | 0 tests/{src => }/nodes/xor_i32_broadcast.cairo | 0 .../nodes/xor_i32_broadcast/input_0.cairo | 0 .../nodes/xor_i32_broadcast/input_1.cairo | 0 .../nodes/xor_i32_broadcast/output_0.cairo | 0 tests/{src => }/nodes/xor_i8.cairo | 0 tests/{src => }/nodes/xor_i8/input_0.cairo | 0 tests/{src => }/nodes/xor_i8/input_1.cairo | 0 tests/{src => }/nodes/xor_i8/output_0.cairo | 0 tests/{src => }/nodes/xor_i8_broadcast.cairo | 0 .../nodes/xor_i8_broadcast/input_0.cairo | 0 .../nodes/xor_i8_broadcast/input_1.cairo | 0 .../nodes/xor_i8_broadcast/output_0.cairo | 0 tests/{src => }/nodes/xor_u32.cairo | 0 tests/{src => }/nodes/xor_u32/input_0.cairo | 0 tests/{src => }/nodes/xor_u32/input_1.cairo | 0 tests/{src => }/nodes/xor_u32/output_0.cairo | 0 tests/{src => }/nodes/xor_u32_broadcast.cairo | 0 .../nodes/xor_u32_broadcast/input_0.cairo | 0 .../nodes/xor_u32_broadcast/input_1.cairo | 0 .../nodes/xor_u32_broadcast/output_0.cairo | 0 tests/{src => }/numbers.cairo | 0 .../numbers/signed_integer_test.cairo | 0 tests/{src => }/operators.cairo | 0 tests/{src => }/operators/tensor/math.cairo | 0 .../{src => }/operators/transpose_test.cairo | 0 tests/{src => }/performance.cairo | 0 .../performance/dequantize_linear_test.cairo | 0 .../dequantize_linear_fp_test.cairo | 0 .../fp_i8_test.cairo | 0 .../dequantize_linear_i32_test.cairo | 0 .../performance/quantize_linear_test.cairo | 0 .../quantize_linear_fp_test.cairo | 0 .../quantize_linear_fp_test/fp_i8_test.cairo | 0 .../quantize_linear_i32_test.cairo | 0 tests/src/lib.cairo | 7 - tests/{src => }/tensor_core.cairo | 0 tests/{src => }/tensor_core/at.cairo | 0 .../{src => }/tensor_core/at/at_fp_test.cairo | 0 .../at/at_fp_test/at_fp16x16_test.cairo | 6 +- .../at/at_fp_test/at_fp8x23_test.cairo | 6 +- .../tensor_core/at/at_i32_test.cairo | 6 +- .../tensor_core/at/at_u32_test.cairo | 6 +- tests/{src => }/tensor_core/flatten.cairo | 0 .../tensor_core/flatten/flatten_fp_test.cairo | 0 .../flatten_fp16x16_test.cairo | 6 +- .../flatten_fp_test/flatten_fp8x23_test.cairo | 6 +- .../flatten/flatten_i32_test.cairo | 6 +- .../flatten/flatten_u32_test.cairo | 6 +- tests/{src => }/tensor_core/max.cairo | 0 .../tensor_core/max/max_fp_test.cairo | 0 .../max/max_fp_test/max_fp16x16_test.cairo | 6 +- .../max/max_fp_test/max_fp8x23_test.cairo | 6 +- .../tensor_core/max/max_i32_test.cairo | 6 +- .../tensor_core/max/max_u32_test.cairo | 6 +- tests/{src => }/tensor_core/min.cairo | 0 .../tensor_core/min/min_fp_test.cairo | 0 .../min/min_fp_test/min_fp16x16_test.cairo | 6 +- .../min/min_fp_test/min_fp8x23_test.cairo | 6 +- .../tensor_core/min/min_i32_test.cairo | 6 +- .../tensor_core/min/min_u32_test.cairo | 6 +- tests/{src => }/tensor_core/onehot.cairo | 0 .../tensor_core/onehot/onehot_fp_test.cairo | 0 .../onehot_fp_test/onehot_fp16x16_test.cairo | 2 +- .../onehot_fp_test/onehot_fp8x23_test.cairo | 2 +- tests/{src => }/tensor_core/ravel_index.cairo | 0 tests/{src => }/tensor_core/stride.cairo | 0 .../tensor_core/stride/stride_fp_test.cairo | 0 .../stride_fp_test/stride_fp16x16_test.cairo | 6 +- .../stride_fp_test/stride_fp8x23_test.cairo | 6 +- .../tensor_core/stride/stride_i32_test.cairo | 6 +- .../tensor_core/stride/stride_u32_test.cairo | 6 +- .../{src => }/tensor_core/unravel_index.cairo | 0 1714 files changed, 2131 insertions(+), 1974 deletions(-) create mode 100644 Scarb.lock delete mode 100644 tests/.gitignore delete mode 100644 tests/Scarb.toml delete mode 100644 tests/cairo_project.toml rename tests/{src => }/helpers.cairo (100%) rename tests/{src => }/helpers/tensor.cairo (100%) rename tests/{src => }/helpers/tensor/fixed_point.cairo (100%) rename tests/{src => }/helpers/tensor/fixed_point/fp16x16.cairo (100%) rename tests/{src => }/helpers/tensor/fixed_point/fp8x23.cairo (100%) rename tests/{src => }/helpers/tensor/i32.cairo (100%) rename tests/{src => }/helpers/tensor/i8.cairo (100%) rename tests/{src => }/helpers/tensor/u32.cairo (100%) create mode 100644 tests/lib.cairo rename tests/{src => }/ml.cairo (100%) rename tests/{src => }/ml/tree_regressor.cairo (100%) rename tests/{src => }/nodes.cairo (100%) rename tests/{src => }/nodes/.DS_Store (100%) rename tests/{src => }/nodes/abs_fp16x16.cairo (100%) rename tests/{src => }/nodes/abs_fp16x16/input_0.cairo (100%) rename tests/{src => }/nodes/abs_fp16x16/output_0.cairo (100%) rename tests/{src => }/nodes/abs_fp8x23.cairo (100%) rename tests/{src => }/nodes/abs_fp8x23/input_0.cairo (100%) rename tests/{src => }/nodes/abs_fp8x23/output_0.cairo (100%) rename tests/{src => }/nodes/abs_i32.cairo (100%) rename tests/{src => }/nodes/abs_i32/input_0.cairo (100%) rename tests/{src => }/nodes/abs_i32/output_0.cairo (100%) rename tests/{src => }/nodes/abs_i8.cairo (100%) rename tests/{src => }/nodes/abs_i8/input_0.cairo (100%) rename tests/{src => }/nodes/abs_i8/output_0.cairo (100%) rename tests/{src => }/nodes/acos_fp16x16.cairo (100%) rename tests/{src => }/nodes/acos_fp16x16/input_0.cairo (100%) rename tests/{src => }/nodes/acos_fp16x16/output_0.cairo (100%) rename tests/{src => }/nodes/acos_fp8x23.cairo (100%) rename tests/{src => }/nodes/acos_fp8x23/input_0.cairo (100%) rename tests/{src => }/nodes/acos_fp8x23/output_0.cairo (100%) rename tests/{src => }/nodes/acosh_fp16x16.cairo (100%) rename tests/{src => }/nodes/acosh_fp16x16/input_0.cairo (100%) rename tests/{src => }/nodes/acosh_fp16x16/output_0.cairo (100%) rename tests/{src => }/nodes/acosh_fp8x23.cairo (100%) rename tests/{src => }/nodes/acosh_fp8x23/input_0.cairo (100%) rename tests/{src => }/nodes/acosh_fp8x23/output_0.cairo (100%) rename tests/{src => }/nodes/add_fp16x16.cairo (100%) rename tests/{src => }/nodes/add_fp16x16/input_0.cairo (100%) rename tests/{src => }/nodes/add_fp16x16/input_1.cairo (100%) rename tests/{src => }/nodes/add_fp16x16/output_0.cairo (100%) rename tests/{src => }/nodes/add_fp16x16_broadcast.cairo (100%) rename tests/{src => }/nodes/add_fp16x16_broadcast/input_0.cairo (100%) rename tests/{src => }/nodes/add_fp16x16_broadcast/input_1.cairo (100%) rename tests/{src => }/nodes/add_fp16x16_broadcast/output_0.cairo (100%) rename tests/{src => }/nodes/add_fp8x23.cairo (100%) rename tests/{src => }/nodes/add_fp8x23/input_0.cairo (100%) rename tests/{src => }/nodes/add_fp8x23/input_1.cairo (100%) rename tests/{src => }/nodes/add_fp8x23/output_0.cairo (100%) rename tests/{src => }/nodes/add_fp8x23_broadcast.cairo (100%) rename tests/{src => }/nodes/add_fp8x23_broadcast/input_0.cairo (100%) rename tests/{src => }/nodes/add_fp8x23_broadcast/input_1.cairo (100%) rename tests/{src => }/nodes/add_fp8x23_broadcast/output_0.cairo (100%) rename tests/{src => }/nodes/add_i32.cairo (100%) rename tests/{src => }/nodes/add_i32/input_0.cairo (100%) rename tests/{src => }/nodes/add_i32/input_1.cairo (100%) rename tests/{src => }/nodes/add_i32/output_0.cairo (100%) rename tests/{src => }/nodes/add_i32_broadcast.cairo (100%) rename tests/{src => }/nodes/add_i32_broadcast/input_0.cairo (100%) rename tests/{src => }/nodes/add_i32_broadcast/input_1.cairo (100%) rename tests/{src => }/nodes/add_i32_broadcast/output_0.cairo (100%) rename tests/{src => }/nodes/add_i8.cairo (100%) rename tests/{src => }/nodes/add_i8/input_0.cairo (100%) rename tests/{src => }/nodes/add_i8/input_1.cairo (100%) rename tests/{src => }/nodes/add_i8/output_0.cairo (100%) rename tests/{src => }/nodes/add_i8_broadcast.cairo (100%) rename tests/{src => }/nodes/add_i8_broadcast/input_0.cairo (100%) rename tests/{src => }/nodes/add_i8_broadcast/input_1.cairo (100%) rename tests/{src => }/nodes/add_i8_broadcast/output_0.cairo (100%) rename tests/{src => }/nodes/add_u32.cairo (100%) rename tests/{src => }/nodes/add_u32/input_0.cairo (100%) rename tests/{src => }/nodes/add_u32/input_1.cairo (100%) rename tests/{src => }/nodes/add_u32/output_0.cairo (100%) rename tests/{src => }/nodes/add_u32_broadcast.cairo (100%) rename tests/{src => }/nodes/add_u32_broadcast/input_0.cairo (100%) rename tests/{src => }/nodes/add_u32_broadcast/input_1.cairo (100%) rename tests/{src => }/nodes/add_u32_broadcast/output_0.cairo (100%) rename tests/{src => }/nodes/and_fp16x16.cairo (100%) rename tests/{src => }/nodes/and_fp16x16/input_0.cairo (100%) rename tests/{src => }/nodes/and_fp16x16/input_1.cairo (100%) rename tests/{src => }/nodes/and_fp16x16/output_0.cairo (100%) rename tests/{src => }/nodes/and_fp16x16_broadcast.cairo (100%) rename tests/{src => }/nodes/and_fp16x16_broadcast/input_0.cairo (100%) rename tests/{src => }/nodes/and_fp16x16_broadcast/input_1.cairo (100%) rename tests/{src => }/nodes/and_fp16x16_broadcast/output_0.cairo (100%) rename tests/{src => }/nodes/and_fp8x23.cairo (100%) rename tests/{src => }/nodes/and_fp8x23/input_0.cairo (100%) rename tests/{src => }/nodes/and_fp8x23/input_1.cairo (100%) rename tests/{src => }/nodes/and_fp8x23/output_0.cairo (100%) rename tests/{src => }/nodes/and_fp8x23_broadcast.cairo (100%) rename tests/{src => }/nodes/and_fp8x23_broadcast/input_0.cairo (100%) rename tests/{src => }/nodes/and_fp8x23_broadcast/input_1.cairo (100%) rename tests/{src => }/nodes/and_fp8x23_broadcast/output_0.cairo (100%) rename tests/{src => }/nodes/and_i32.cairo (100%) rename tests/{src => }/nodes/and_i32/input_0.cairo (100%) rename tests/{src => }/nodes/and_i32/input_1.cairo (100%) rename tests/{src => }/nodes/and_i32/output_0.cairo (100%) rename tests/{src => }/nodes/and_i32_broadcast.cairo (100%) rename tests/{src => }/nodes/and_i32_broadcast/input_0.cairo (100%) rename tests/{src => }/nodes/and_i32_broadcast/input_1.cairo (100%) rename tests/{src => }/nodes/and_i32_broadcast/output_0.cairo (100%) rename tests/{src => }/nodes/and_i8.cairo (100%) rename tests/{src => }/nodes/and_i8/input_0.cairo (100%) rename tests/{src => }/nodes/and_i8/input_1.cairo (100%) rename tests/{src => }/nodes/and_i8/output_0.cairo (100%) rename tests/{src => }/nodes/and_i8_broadcast.cairo (100%) rename tests/{src => }/nodes/and_i8_broadcast/input_0.cairo (100%) rename tests/{src => }/nodes/and_i8_broadcast/input_1.cairo (100%) rename tests/{src => }/nodes/and_i8_broadcast/output_0.cairo (100%) rename tests/{src => }/nodes/and_u32.cairo (100%) rename tests/{src => }/nodes/and_u32/input_0.cairo (100%) rename tests/{src => }/nodes/and_u32/input_1.cairo (100%) rename tests/{src => }/nodes/and_u32/output_0.cairo (100%) rename tests/{src => }/nodes/and_u32_broadcast.cairo (100%) rename tests/{src => }/nodes/and_u32_broadcast/input_0.cairo (100%) rename tests/{src => }/nodes/and_u32_broadcast/input_1.cairo (100%) rename tests/{src => }/nodes/and_u32_broadcast/output_0.cairo (100%) rename tests/{src => }/nodes/argmax_fp16x16_1D_default.cairo (100%) rename tests/{src => }/nodes/argmax_fp16x16_1D_default/input_0.cairo (100%) rename tests/{src => }/nodes/argmax_fp16x16_1D_default/output_0.cairo (100%) rename tests/{src => }/nodes/argmax_fp16x16_1D_keepdims_false.cairo (100%) rename tests/{src => }/nodes/argmax_fp16x16_1D_keepdims_false/input_0.cairo (100%) rename tests/{src => }/nodes/argmax_fp16x16_1D_keepdims_false/output_0.cairo (100%) rename tests/{src => }/nodes/argmax_fp16x16_1D_last_index.cairo (100%) rename tests/{src => }/nodes/argmax_fp16x16_1D_last_index/input_0.cairo (100%) rename tests/{src => }/nodes/argmax_fp16x16_1D_last_index/output_0.cairo (100%) rename tests/{src => }/nodes/argmax_fp16x16_2D_default.cairo (100%) rename tests/{src => }/nodes/argmax_fp16x16_2D_default/input_0.cairo (100%) rename tests/{src => }/nodes/argmax_fp16x16_2D_default/output_0.cairo (100%) rename tests/{src => }/nodes/argmax_fp16x16_2D_keepdims_false.cairo (100%) rename tests/{src => }/nodes/argmax_fp16x16_2D_keepdims_false/input_0.cairo (100%) rename tests/{src => }/nodes/argmax_fp16x16_2D_keepdims_false/output_0.cairo (100%) rename tests/{src => }/nodes/argmax_fp16x16_2D_last_index.cairo (100%) rename tests/{src => }/nodes/argmax_fp16x16_2D_last_index/input_0.cairo (100%) rename tests/{src => }/nodes/argmax_fp16x16_2D_last_index/output_0.cairo (100%) rename tests/{src => }/nodes/argmax_fp16x16_3D_default.cairo (100%) rename tests/{src => }/nodes/argmax_fp16x16_3D_default/input_0.cairo (100%) rename tests/{src => }/nodes/argmax_fp16x16_3D_default/output_0.cairo (100%) rename tests/{src => }/nodes/argmax_fp16x16_3D_keepdims_false.cairo (100%) rename tests/{src => }/nodes/argmax_fp16x16_3D_keepdims_false/input_0.cairo (100%) rename tests/{src => }/nodes/argmax_fp16x16_3D_keepdims_false/output_0.cairo (100%) rename tests/{src => }/nodes/argmax_fp16x16_3D_last_index.cairo (100%) rename tests/{src => }/nodes/argmax_fp16x16_3D_last_index/input_0.cairo (100%) rename tests/{src => }/nodes/argmax_fp16x16_3D_last_index/output_0.cairo (100%) rename tests/{src => }/nodes/argmax_fp8x23_1D_default.cairo (100%) rename tests/{src => }/nodes/argmax_fp8x23_1D_default/input_0.cairo (100%) rename tests/{src => }/nodes/argmax_fp8x23_1D_default/output_0.cairo (100%) rename tests/{src => }/nodes/argmax_fp8x23_1D_keepdims_false.cairo (100%) rename tests/{src => }/nodes/argmax_fp8x23_1D_keepdims_false/input_0.cairo (100%) rename tests/{src => }/nodes/argmax_fp8x23_1D_keepdims_false/output_0.cairo (100%) rename tests/{src => }/nodes/argmax_fp8x23_1D_last_index.cairo (100%) rename tests/{src => }/nodes/argmax_fp8x23_1D_last_index/input_0.cairo (100%) rename tests/{src => }/nodes/argmax_fp8x23_1D_last_index/output_0.cairo (100%) rename tests/{src => }/nodes/argmax_fp8x23_2D_default.cairo (100%) rename tests/{src => }/nodes/argmax_fp8x23_2D_default/input_0.cairo (100%) rename tests/{src => }/nodes/argmax_fp8x23_2D_default/output_0.cairo (100%) rename tests/{src => }/nodes/argmax_fp8x23_2D_keepdims_false.cairo (100%) rename tests/{src => }/nodes/argmax_fp8x23_2D_keepdims_false/input_0.cairo (100%) rename tests/{src => }/nodes/argmax_fp8x23_2D_keepdims_false/output_0.cairo (100%) rename tests/{src => }/nodes/argmax_fp8x23_2D_last_index.cairo (100%) rename tests/{src => }/nodes/argmax_fp8x23_2D_last_index/input_0.cairo (100%) rename tests/{src => }/nodes/argmax_fp8x23_2D_last_index/output_0.cairo (100%) rename tests/{src => }/nodes/argmax_fp8x23_3D_default.cairo (100%) rename tests/{src => }/nodes/argmax_fp8x23_3D_default/input_0.cairo (100%) rename tests/{src => }/nodes/argmax_fp8x23_3D_default/output_0.cairo (100%) rename tests/{src => }/nodes/argmax_fp8x23_3D_keepdims_false.cairo (100%) rename tests/{src => }/nodes/argmax_fp8x23_3D_keepdims_false/input_0.cairo (100%) rename tests/{src => }/nodes/argmax_fp8x23_3D_keepdims_false/output_0.cairo (100%) rename tests/{src => }/nodes/argmax_fp8x23_3D_last_index.cairo (100%) rename tests/{src => }/nodes/argmax_fp8x23_3D_last_index/input_0.cairo (100%) rename tests/{src => }/nodes/argmax_fp8x23_3D_last_index/output_0.cairo (100%) rename tests/{src => }/nodes/argmax_i32_1D_default.cairo (100%) rename tests/{src => }/nodes/argmax_i32_1D_default/input_0.cairo (100%) rename tests/{src => }/nodes/argmax_i32_1D_default/output_0.cairo (100%) rename tests/{src => }/nodes/argmax_i32_1D_keepdims_false.cairo (100%) rename tests/{src => }/nodes/argmax_i32_1D_keepdims_false/input_0.cairo (100%) rename tests/{src => }/nodes/argmax_i32_1D_keepdims_false/output_0.cairo (100%) rename tests/{src => }/nodes/argmax_i32_1D_last_index.cairo (100%) rename tests/{src => }/nodes/argmax_i32_1D_last_index/input_0.cairo (100%) rename tests/{src => }/nodes/argmax_i32_1D_last_index/output_0.cairo (100%) rename tests/{src => }/nodes/argmax_i32_2D_default.cairo (100%) rename tests/{src => }/nodes/argmax_i32_2D_default/input_0.cairo (100%) rename tests/{src => }/nodes/argmax_i32_2D_default/output_0.cairo (100%) rename tests/{src => }/nodes/argmax_i32_2D_keepdims_false.cairo (100%) rename tests/{src => }/nodes/argmax_i32_2D_keepdims_false/input_0.cairo (100%) rename tests/{src => }/nodes/argmax_i32_2D_keepdims_false/output_0.cairo (100%) rename tests/{src => }/nodes/argmax_i32_2D_last_index.cairo (100%) rename tests/{src => }/nodes/argmax_i32_2D_last_index/input_0.cairo (100%) rename tests/{src => }/nodes/argmax_i32_2D_last_index/output_0.cairo (100%) rename tests/{src => }/nodes/argmax_i32_3D_default.cairo (100%) rename tests/{src => }/nodes/argmax_i32_3D_default/input_0.cairo (100%) rename tests/{src => }/nodes/argmax_i32_3D_default/output_0.cairo (100%) rename tests/{src => }/nodes/argmax_i32_3D_keepdims_false.cairo (100%) rename tests/{src => }/nodes/argmax_i32_3D_keepdims_false/input_0.cairo (100%) rename tests/{src => }/nodes/argmax_i32_3D_keepdims_false/output_0.cairo (100%) rename tests/{src => }/nodes/argmax_i32_3D_last_index.cairo (100%) rename tests/{src => }/nodes/argmax_i32_3D_last_index/input_0.cairo (100%) rename tests/{src => }/nodes/argmax_i32_3D_last_index/output_0.cairo (100%) rename tests/{src => }/nodes/argmax_i8_1D_default.cairo (100%) rename tests/{src => }/nodes/argmax_i8_1D_default/input_0.cairo (100%) rename tests/{src => }/nodes/argmax_i8_1D_default/output_0.cairo (100%) rename tests/{src => }/nodes/argmax_i8_1D_keepdims_false.cairo (100%) rename tests/{src => }/nodes/argmax_i8_1D_keepdims_false/input_0.cairo (100%) rename tests/{src => }/nodes/argmax_i8_1D_keepdims_false/output_0.cairo (100%) rename tests/{src => }/nodes/argmax_i8_1D_last_index.cairo (100%) rename tests/{src => }/nodes/argmax_i8_1D_last_index/input_0.cairo (100%) rename tests/{src => }/nodes/argmax_i8_1D_last_index/output_0.cairo (100%) rename tests/{src => }/nodes/argmax_i8_2D_default.cairo (100%) rename tests/{src => }/nodes/argmax_i8_2D_default/input_0.cairo (100%) rename tests/{src => }/nodes/argmax_i8_2D_default/output_0.cairo (100%) rename tests/{src => }/nodes/argmax_i8_2D_keepdims_false.cairo (100%) rename tests/{src => }/nodes/argmax_i8_2D_keepdims_false/input_0.cairo (100%) rename tests/{src => }/nodes/argmax_i8_2D_keepdims_false/output_0.cairo (100%) rename tests/{src => }/nodes/argmax_i8_2D_last_index.cairo (100%) rename tests/{src => }/nodes/argmax_i8_2D_last_index/input_0.cairo (100%) rename tests/{src => }/nodes/argmax_i8_2D_last_index/output_0.cairo (100%) rename tests/{src => }/nodes/argmax_i8_3D_default.cairo (100%) rename tests/{src => }/nodes/argmax_i8_3D_default/input_0.cairo (100%) rename tests/{src => }/nodes/argmax_i8_3D_default/output_0.cairo (100%) rename tests/{src => }/nodes/argmax_i8_3D_keepdims_false.cairo (100%) rename tests/{src => }/nodes/argmax_i8_3D_keepdims_false/input_0.cairo (100%) rename tests/{src => }/nodes/argmax_i8_3D_keepdims_false/output_0.cairo (100%) rename tests/{src => }/nodes/argmax_i8_3D_last_index.cairo (100%) rename tests/{src => }/nodes/argmax_i8_3D_last_index/input_0.cairo (100%) rename tests/{src => }/nodes/argmax_i8_3D_last_index/output_0.cairo (100%) rename tests/{src => }/nodes/argmax_u32_1D_default.cairo (100%) rename tests/{src => }/nodes/argmax_u32_1D_default/input_0.cairo (100%) rename tests/{src => }/nodes/argmax_u32_1D_default/output_0.cairo (100%) rename tests/{src => }/nodes/argmax_u32_1D_keepdims_false.cairo (100%) rename tests/{src => }/nodes/argmax_u32_1D_keepdims_false/input_0.cairo (100%) rename tests/{src => }/nodes/argmax_u32_1D_keepdims_false/output_0.cairo (100%) rename tests/{src => }/nodes/argmax_u32_1D_last_index.cairo (100%) rename tests/{src => }/nodes/argmax_u32_1D_last_index/input_0.cairo (100%) rename tests/{src => }/nodes/argmax_u32_1D_last_index/output_0.cairo (100%) rename tests/{src => }/nodes/argmax_u32_2D_default.cairo (100%) rename tests/{src => }/nodes/argmax_u32_2D_default/input_0.cairo (100%) rename tests/{src => }/nodes/argmax_u32_2D_default/output_0.cairo (100%) rename tests/{src => }/nodes/argmax_u32_2D_keepdims_false.cairo (100%) rename tests/{src => }/nodes/argmax_u32_2D_keepdims_false/input_0.cairo (100%) rename tests/{src => }/nodes/argmax_u32_2D_keepdims_false/output_0.cairo (100%) rename tests/{src => }/nodes/argmax_u32_2D_last_index.cairo (100%) rename tests/{src => }/nodes/argmax_u32_2D_last_index/input_0.cairo (100%) rename tests/{src => }/nodes/argmax_u32_2D_last_index/output_0.cairo (100%) rename tests/{src => }/nodes/argmax_u32_3D_default.cairo (100%) rename tests/{src => }/nodes/argmax_u32_3D_default/input_0.cairo (100%) rename tests/{src => }/nodes/argmax_u32_3D_default/output_0.cairo (100%) rename tests/{src => }/nodes/argmax_u32_3D_keepdims_false.cairo (100%) rename tests/{src => }/nodes/argmax_u32_3D_keepdims_false/input_0.cairo (100%) rename tests/{src => }/nodes/argmax_u32_3D_keepdims_false/output_0.cairo (100%) rename tests/{src => }/nodes/argmax_u32_3D_last_index.cairo (100%) rename tests/{src => }/nodes/argmax_u32_3D_last_index/input_0.cairo (100%) rename tests/{src => }/nodes/argmax_u32_3D_last_index/output_0.cairo (100%) rename tests/{src => }/nodes/argmin_fp16x16_1D_default.cairo (100%) rename tests/{src => }/nodes/argmin_fp16x16_1D_default/input_0.cairo (100%) rename tests/{src => }/nodes/argmin_fp16x16_1D_default/output_0.cairo (100%) rename tests/{src => }/nodes/argmin_fp16x16_1D_keepdims_false.cairo (100%) rename tests/{src => }/nodes/argmin_fp16x16_1D_keepdims_false/input_0.cairo (100%) rename tests/{src => }/nodes/argmin_fp16x16_1D_keepdims_false/output_0.cairo (100%) rename tests/{src => }/nodes/argmin_fp16x16_1D_last_index.cairo (100%) rename tests/{src => }/nodes/argmin_fp16x16_1D_last_index/input_0.cairo (100%) rename tests/{src => }/nodes/argmin_fp16x16_1D_last_index/output_0.cairo (100%) rename tests/{src => }/nodes/argmin_fp16x16_2D_default.cairo (100%) rename tests/{src => }/nodes/argmin_fp16x16_2D_default/input_0.cairo (100%) rename tests/{src => }/nodes/argmin_fp16x16_2D_default/output_0.cairo (100%) rename tests/{src => }/nodes/argmin_fp16x16_2D_keepdims_false.cairo (100%) rename tests/{src => }/nodes/argmin_fp16x16_2D_keepdims_false/input_0.cairo (100%) rename tests/{src => }/nodes/argmin_fp16x16_2D_keepdims_false/output_0.cairo (100%) rename tests/{src => }/nodes/argmin_fp16x16_2D_last_index.cairo (100%) rename tests/{src => }/nodes/argmin_fp16x16_2D_last_index/input_0.cairo (100%) rename tests/{src => }/nodes/argmin_fp16x16_2D_last_index/output_0.cairo (100%) rename tests/{src => }/nodes/argmin_fp16x16_3D_default.cairo (100%) rename tests/{src => }/nodes/argmin_fp16x16_3D_default/input_0.cairo (100%) rename tests/{src => }/nodes/argmin_fp16x16_3D_default/output_0.cairo (100%) rename tests/{src => }/nodes/argmin_fp16x16_3D_keepdims_false.cairo (100%) rename tests/{src => }/nodes/argmin_fp16x16_3D_keepdims_false/input_0.cairo (100%) rename tests/{src => }/nodes/argmin_fp16x16_3D_keepdims_false/output_0.cairo (100%) rename tests/{src => }/nodes/argmin_fp16x16_3D_last_index.cairo (100%) rename tests/{src => }/nodes/argmin_fp16x16_3D_last_index/input_0.cairo (100%) rename tests/{src => }/nodes/argmin_fp16x16_3D_last_index/output_0.cairo (100%) rename tests/{src => }/nodes/argmin_fp8x23_1D_default.cairo (100%) rename tests/{src => }/nodes/argmin_fp8x23_1D_default/input_0.cairo (100%) rename tests/{src => }/nodes/argmin_fp8x23_1D_default/output_0.cairo (100%) rename tests/{src => }/nodes/argmin_fp8x23_1D_keepdims_false.cairo (100%) rename tests/{src => }/nodes/argmin_fp8x23_1D_keepdims_false/input_0.cairo (100%) rename tests/{src => }/nodes/argmin_fp8x23_1D_keepdims_false/output_0.cairo (100%) rename tests/{src => }/nodes/argmin_fp8x23_1D_last_index.cairo (100%) rename tests/{src => }/nodes/argmin_fp8x23_1D_last_index/input_0.cairo (100%) rename tests/{src => }/nodes/argmin_fp8x23_1D_last_index/output_0.cairo (100%) rename tests/{src => }/nodes/argmin_fp8x23_2D_default.cairo (100%) rename tests/{src => }/nodes/argmin_fp8x23_2D_default/input_0.cairo (100%) rename tests/{src => }/nodes/argmin_fp8x23_2D_default/output_0.cairo (100%) rename tests/{src => }/nodes/argmin_fp8x23_2D_keepdims_false.cairo (100%) rename tests/{src => }/nodes/argmin_fp8x23_2D_keepdims_false/input_0.cairo (100%) rename tests/{src => }/nodes/argmin_fp8x23_2D_keepdims_false/output_0.cairo (100%) rename tests/{src => }/nodes/argmin_fp8x23_2D_last_index.cairo (100%) rename tests/{src => }/nodes/argmin_fp8x23_2D_last_index/input_0.cairo (100%) rename tests/{src => }/nodes/argmin_fp8x23_2D_last_index/output_0.cairo (100%) rename tests/{src => }/nodes/argmin_fp8x23_3D_default.cairo (100%) rename tests/{src => }/nodes/argmin_fp8x23_3D_default/input_0.cairo (100%) rename tests/{src => }/nodes/argmin_fp8x23_3D_default/output_0.cairo (100%) rename tests/{src => }/nodes/argmin_fp8x23_3D_keepdims_false.cairo (100%) rename tests/{src => }/nodes/argmin_fp8x23_3D_keepdims_false/input_0.cairo (100%) rename tests/{src => }/nodes/argmin_fp8x23_3D_keepdims_false/output_0.cairo (100%) rename tests/{src => }/nodes/argmin_fp8x23_3D_last_index.cairo (100%) rename tests/{src => }/nodes/argmin_fp8x23_3D_last_index/input_0.cairo (100%) rename tests/{src => }/nodes/argmin_fp8x23_3D_last_index/output_0.cairo (100%) rename tests/{src => }/nodes/argmin_i32_1D_default.cairo (100%) rename tests/{src => }/nodes/argmin_i32_1D_default/input_0.cairo (100%) rename tests/{src => }/nodes/argmin_i32_1D_default/output_0.cairo (100%) rename tests/{src => }/nodes/argmin_i32_1D_keepdims_false.cairo (100%) rename tests/{src => }/nodes/argmin_i32_1D_keepdims_false/input_0.cairo (100%) rename tests/{src => }/nodes/argmin_i32_1D_keepdims_false/output_0.cairo (100%) rename tests/{src => }/nodes/argmin_i32_1D_last_index.cairo (100%) rename tests/{src => }/nodes/argmin_i32_1D_last_index/input_0.cairo (100%) rename tests/{src => }/nodes/argmin_i32_1D_last_index/output_0.cairo (100%) rename tests/{src => }/nodes/argmin_i32_2D_default.cairo (100%) rename tests/{src => }/nodes/argmin_i32_2D_default/input_0.cairo (100%) rename tests/{src => }/nodes/argmin_i32_2D_default/output_0.cairo (100%) rename tests/{src => }/nodes/argmin_i32_2D_keepdims_false.cairo (100%) rename tests/{src => }/nodes/argmin_i32_2D_keepdims_false/input_0.cairo (100%) rename tests/{src => }/nodes/argmin_i32_2D_keepdims_false/output_0.cairo (100%) rename tests/{src => }/nodes/argmin_i32_2D_last_index.cairo (100%) rename tests/{src => }/nodes/argmin_i32_2D_last_index/input_0.cairo (100%) rename tests/{src => }/nodes/argmin_i32_2D_last_index/output_0.cairo (100%) rename tests/{src => }/nodes/argmin_i32_3D_default.cairo (100%) rename tests/{src => }/nodes/argmin_i32_3D_default/input_0.cairo (100%) rename tests/{src => }/nodes/argmin_i32_3D_default/output_0.cairo (100%) rename tests/{src => }/nodes/argmin_i32_3D_keepdims_false.cairo (100%) rename tests/{src => }/nodes/argmin_i32_3D_keepdims_false/input_0.cairo (100%) rename tests/{src => }/nodes/argmin_i32_3D_keepdims_false/output_0.cairo (100%) rename tests/{src => }/nodes/argmin_i32_3D_last_index.cairo (100%) rename tests/{src => }/nodes/argmin_i32_3D_last_index/input_0.cairo (100%) rename tests/{src => }/nodes/argmin_i32_3D_last_index/output_0.cairo (100%) rename tests/{src => }/nodes/argmin_i8_1D_default.cairo (100%) rename tests/{src => }/nodes/argmin_i8_1D_default/input_0.cairo (100%) rename tests/{src => }/nodes/argmin_i8_1D_default/output_0.cairo (100%) rename tests/{src => }/nodes/argmin_i8_1D_keepdims_false.cairo (100%) rename tests/{src => }/nodes/argmin_i8_1D_keepdims_false/input_0.cairo (100%) rename tests/{src => }/nodes/argmin_i8_1D_keepdims_false/output_0.cairo (100%) rename tests/{src => }/nodes/argmin_i8_1D_last_index.cairo (100%) rename tests/{src => }/nodes/argmin_i8_1D_last_index/input_0.cairo (100%) rename tests/{src => }/nodes/argmin_i8_1D_last_index/output_0.cairo (100%) rename tests/{src => }/nodes/argmin_i8_2D_default.cairo (100%) rename tests/{src => }/nodes/argmin_i8_2D_default/input_0.cairo (100%) rename tests/{src => }/nodes/argmin_i8_2D_default/output_0.cairo (100%) rename tests/{src => }/nodes/argmin_i8_2D_keepdims_false.cairo (100%) rename tests/{src => }/nodes/argmin_i8_2D_keepdims_false/input_0.cairo (100%) rename tests/{src => }/nodes/argmin_i8_2D_keepdims_false/output_0.cairo (100%) rename tests/{src => }/nodes/argmin_i8_2D_last_index.cairo (100%) rename tests/{src => }/nodes/argmin_i8_2D_last_index/input_0.cairo (100%) rename tests/{src => }/nodes/argmin_i8_2D_last_index/output_0.cairo (100%) rename tests/{src => }/nodes/argmin_i8_3D_default.cairo (100%) rename tests/{src => }/nodes/argmin_i8_3D_default/input_0.cairo (100%) rename tests/{src => }/nodes/argmin_i8_3D_default/output_0.cairo (100%) rename tests/{src => }/nodes/argmin_i8_3D_keepdims_false.cairo (100%) rename tests/{src => }/nodes/argmin_i8_3D_keepdims_false/input_0.cairo (100%) rename tests/{src => }/nodes/argmin_i8_3D_keepdims_false/output_0.cairo (100%) rename tests/{src => }/nodes/argmin_i8_3D_last_index.cairo (100%) rename tests/{src => }/nodes/argmin_i8_3D_last_index/input_0.cairo (100%) rename tests/{src => }/nodes/argmin_i8_3D_last_index/output_0.cairo (100%) rename tests/{src => }/nodes/argmin_u32_1D_default.cairo (100%) rename tests/{src => }/nodes/argmin_u32_1D_default/input_0.cairo (100%) rename tests/{src => }/nodes/argmin_u32_1D_default/output_0.cairo (100%) rename tests/{src => }/nodes/argmin_u32_1D_keepdims_false.cairo (100%) rename tests/{src => }/nodes/argmin_u32_1D_keepdims_false/input_0.cairo (100%) rename tests/{src => }/nodes/argmin_u32_1D_keepdims_false/output_0.cairo (100%) rename tests/{src => }/nodes/argmin_u32_1D_last_index.cairo (100%) rename tests/{src => }/nodes/argmin_u32_1D_last_index/input_0.cairo (100%) rename tests/{src => }/nodes/argmin_u32_1D_last_index/output_0.cairo (100%) rename tests/{src => }/nodes/argmin_u32_2D_default.cairo (100%) rename tests/{src => }/nodes/argmin_u32_2D_default/input_0.cairo (100%) rename tests/{src => }/nodes/argmin_u32_2D_default/output_0.cairo (100%) rename tests/{src => }/nodes/argmin_u32_2D_keepdims_false.cairo (100%) rename tests/{src => }/nodes/argmin_u32_2D_keepdims_false/input_0.cairo (100%) rename tests/{src => }/nodes/argmin_u32_2D_keepdims_false/output_0.cairo (100%) rename tests/{src => }/nodes/argmin_u32_2D_last_index.cairo (100%) rename tests/{src => }/nodes/argmin_u32_2D_last_index/input_0.cairo (100%) rename tests/{src => }/nodes/argmin_u32_2D_last_index/output_0.cairo (100%) rename tests/{src => }/nodes/argmin_u32_3D_default.cairo (100%) rename tests/{src => }/nodes/argmin_u32_3D_default/input_0.cairo (100%) rename tests/{src => }/nodes/argmin_u32_3D_default/output_0.cairo (100%) rename tests/{src => }/nodes/argmin_u32_3D_keepdims_false.cairo (100%) rename tests/{src => }/nodes/argmin_u32_3D_keepdims_false/input_0.cairo (100%) rename tests/{src => }/nodes/argmin_u32_3D_keepdims_false/output_0.cairo (100%) rename tests/{src => }/nodes/argmin_u32_3D_last_index.cairo (100%) rename tests/{src => }/nodes/argmin_u32_3D_last_index/input_0.cairo (100%) rename tests/{src => }/nodes/argmin_u32_3D_last_index/output_0.cairo (100%) rename tests/{src => }/nodes/asin_fp16x16.cairo (100%) rename tests/{src => }/nodes/asin_fp16x16/input_0.cairo (100%) rename tests/{src => }/nodes/asin_fp16x16/output_0.cairo (100%) rename tests/{src => }/nodes/asin_fp8x23.cairo (100%) rename tests/{src => }/nodes/asin_fp8x23/input_0.cairo (100%) rename tests/{src => }/nodes/asin_fp8x23/output_0.cairo (100%) rename tests/{src => }/nodes/asinh_fp16x16.cairo (100%) rename tests/{src => }/nodes/asinh_fp16x16/input_0.cairo (100%) rename tests/{src => }/nodes/asinh_fp16x16/output_0.cairo (100%) rename tests/{src => }/nodes/asinh_fp8x23.cairo (100%) rename tests/{src => }/nodes/asinh_fp8x23/input_0.cairo (100%) rename tests/{src => }/nodes/asinh_fp8x23/output_0.cairo (100%) rename tests/{src => }/nodes/atan_fp16x16.cairo (100%) rename tests/{src => }/nodes/atan_fp16x16/input_0.cairo (100%) rename tests/{src => }/nodes/atan_fp16x16/output_0.cairo (100%) rename tests/{src => }/nodes/atan_fp8x23.cairo (100%) rename tests/{src => }/nodes/atan_fp8x23/input_0.cairo (100%) rename tests/{src => }/nodes/atan_fp8x23/output_0.cairo (100%) rename tests/{src => }/nodes/ceil_fp16x16.cairo (100%) rename tests/{src => }/nodes/ceil_fp16x16/input_0.cairo (100%) rename tests/{src => }/nodes/ceil_fp16x16/output_0.cairo (100%) rename tests/{src => }/nodes/ceil_fp8x23.cairo (100%) rename tests/{src => }/nodes/ceil_fp8x23/input_0.cairo (100%) rename tests/{src => }/nodes/ceil_fp8x23/output_0.cairo (100%) rename tests/{src => }/nodes/clip_fp16x16_2d.cairo (100%) rename tests/{src => }/nodes/clip_fp16x16_2d/input_0.cairo (100%) rename tests/{src => }/nodes/clip_fp16x16_2d/output_0.cairo (100%) rename tests/{src => }/nodes/clip_fp16x16_3d.cairo (100%) rename tests/{src => }/nodes/clip_fp16x16_3d/input_0.cairo (100%) rename tests/{src => }/nodes/clip_fp16x16_3d/output_0.cairo (100%) rename tests/{src => }/nodes/clip_fp8x23_2d.cairo (100%) rename tests/{src => }/nodes/clip_fp8x23_2d/input_0.cairo (100%) rename tests/{src => }/nodes/clip_fp8x23_2d/output_0.cairo (100%) rename tests/{src => }/nodes/clip_fp8x23_3d.cairo (100%) rename tests/{src => }/nodes/clip_fp8x23_3d/input_0.cairo (100%) rename tests/{src => }/nodes/clip_fp8x23_3d/output_0.cairo (100%) rename tests/{src => }/nodes/clip_i32_2d.cairo (100%) rename tests/{src => }/nodes/clip_i32_2d/input_0.cairo (100%) rename tests/{src => }/nodes/clip_i32_2d/output_0.cairo (100%) rename tests/{src => }/nodes/clip_i32_3d.cairo (100%) rename tests/{src => }/nodes/clip_i32_3d/input_0.cairo (100%) rename tests/{src => }/nodes/clip_i32_3d/output_0.cairo (100%) rename tests/{src => }/nodes/clip_i8_2d.cairo (100%) rename tests/{src => }/nodes/clip_i8_2d/input_0.cairo (100%) rename tests/{src => }/nodes/clip_i8_2d/output_0.cairo (100%) rename tests/{src => }/nodes/clip_i8_3d.cairo (100%) rename tests/{src => }/nodes/clip_i8_3d/input_0.cairo (100%) rename tests/{src => }/nodes/clip_i8_3d/output_0.cairo (100%) rename tests/{src => }/nodes/clip_u32_2d.cairo (100%) rename tests/{src => }/nodes/clip_u32_2d/input_0.cairo (100%) rename tests/{src => }/nodes/clip_u32_2d/output_0.cairo (100%) rename tests/{src => }/nodes/clip_u32_3d.cairo (100%) rename tests/{src => }/nodes/clip_u32_3d/input_0.cairo (100%) rename tests/{src => }/nodes/clip_u32_3d/output_0.cairo (100%) rename tests/{src => }/nodes/concat_fp16x16_1d.cairo (100%) rename tests/{src => }/nodes/concat_fp16x16_1d/input_0.cairo (100%) rename tests/{src => }/nodes/concat_fp16x16_1d/input_1.cairo (100%) rename tests/{src => }/nodes/concat_fp16x16_1d/output_0.cairo (100%) rename tests/{src => }/nodes/concat_fp16x16_2d.cairo (100%) rename tests/{src => }/nodes/concat_fp16x16_2d/input_0.cairo (100%) rename tests/{src => }/nodes/concat_fp16x16_2d/input_1.cairo (100%) rename tests/{src => }/nodes/concat_fp16x16_2d/output_0.cairo (100%) rename tests/{src => }/nodes/concat_fp16x16_3d_axis_1.cairo (100%) rename tests/{src => }/nodes/concat_fp16x16_3d_axis_1/input_0.cairo (100%) rename tests/{src => }/nodes/concat_fp16x16_3d_axis_1/input_1.cairo (100%) rename tests/{src => }/nodes/concat_fp16x16_3d_axis_1/output_0.cairo (100%) rename tests/{src => }/nodes/concat_fp16x16_3d_axis_2.cairo (100%) rename tests/{src => }/nodes/concat_fp16x16_3d_axis_2/input_0.cairo (100%) rename tests/{src => }/nodes/concat_fp16x16_3d_axis_2/input_1.cairo (100%) rename tests/{src => }/nodes/concat_fp16x16_3d_axis_2/output_0.cairo (100%) rename tests/{src => }/nodes/concat_fp16x16_3d_default.cairo (100%) rename tests/{src => }/nodes/concat_fp16x16_3d_default/input_0.cairo (100%) rename tests/{src => }/nodes/concat_fp16x16_3d_default/input_1.cairo (100%) rename tests/{src => }/nodes/concat_fp16x16_3d_default/output_0.cairo (100%) rename tests/{src => }/nodes/concat_fp16x16_3d_three_tensors_axis_1.cairo (100%) rename tests/{src => }/nodes/concat_fp16x16_3d_three_tensors_axis_1/input_0.cairo (100%) rename tests/{src => }/nodes/concat_fp16x16_3d_three_tensors_axis_1/input_1.cairo (100%) rename tests/{src => }/nodes/concat_fp16x16_3d_three_tensors_axis_1/input_2.cairo (100%) rename tests/{src => }/nodes/concat_fp16x16_3d_three_tensors_axis_1/output_0.cairo (100%) rename tests/{src => }/nodes/concat_fp16x16_3d_three_tensors_axis_2.cairo (100%) rename tests/{src => }/nodes/concat_fp16x16_3d_three_tensors_axis_2/input_0.cairo (100%) rename tests/{src => }/nodes/concat_fp16x16_3d_three_tensors_axis_2/input_1.cairo (100%) rename tests/{src => }/nodes/concat_fp16x16_3d_three_tensors_axis_2/input_2.cairo (100%) rename tests/{src => }/nodes/concat_fp16x16_3d_three_tensors_axis_2/output_0.cairo (100%) rename tests/{src => }/nodes/concat_fp8x23_1d.cairo (100%) rename tests/{src => }/nodes/concat_fp8x23_1d/input_0.cairo (100%) rename tests/{src => }/nodes/concat_fp8x23_1d/input_1.cairo (100%) rename tests/{src => }/nodes/concat_fp8x23_1d/output_0.cairo (100%) rename tests/{src => }/nodes/concat_fp8x23_2d.cairo (100%) rename tests/{src => }/nodes/concat_fp8x23_2d/input_0.cairo (100%) rename tests/{src => }/nodes/concat_fp8x23_2d/input_1.cairo (100%) rename tests/{src => }/nodes/concat_fp8x23_2d/output_0.cairo (100%) rename tests/{src => }/nodes/concat_fp8x23_3d_axis_1.cairo (100%) rename tests/{src => }/nodes/concat_fp8x23_3d_axis_1/input_0.cairo (100%) rename tests/{src => }/nodes/concat_fp8x23_3d_axis_1/input_1.cairo (100%) rename tests/{src => }/nodes/concat_fp8x23_3d_axis_1/output_0.cairo (100%) rename tests/{src => }/nodes/concat_fp8x23_3d_axis_2.cairo (100%) rename tests/{src => }/nodes/concat_fp8x23_3d_axis_2/input_0.cairo (100%) rename tests/{src => }/nodes/concat_fp8x23_3d_axis_2/input_1.cairo (100%) rename tests/{src => }/nodes/concat_fp8x23_3d_axis_2/output_0.cairo (100%) rename tests/{src => }/nodes/concat_fp8x23_3d_default.cairo (100%) rename tests/{src => }/nodes/concat_fp8x23_3d_default/input_0.cairo (100%) rename tests/{src => }/nodes/concat_fp8x23_3d_default/input_1.cairo (100%) rename tests/{src => }/nodes/concat_fp8x23_3d_default/output_0.cairo (100%) rename tests/{src => }/nodes/concat_fp8x23_3d_three_tensors_axis_1.cairo (100%) rename tests/{src => }/nodes/concat_fp8x23_3d_three_tensors_axis_1/input_0.cairo (100%) rename tests/{src => }/nodes/concat_fp8x23_3d_three_tensors_axis_1/input_1.cairo (100%) rename tests/{src => }/nodes/concat_fp8x23_3d_three_tensors_axis_1/input_2.cairo (100%) rename tests/{src => }/nodes/concat_fp8x23_3d_three_tensors_axis_1/output_0.cairo (100%) rename tests/{src => }/nodes/concat_fp8x23_3d_three_tensors_axis_2.cairo (100%) rename tests/{src => }/nodes/concat_fp8x23_3d_three_tensors_axis_2/input_0.cairo (100%) rename tests/{src => }/nodes/concat_fp8x23_3d_three_tensors_axis_2/input_1.cairo (100%) rename tests/{src => }/nodes/concat_fp8x23_3d_three_tensors_axis_2/input_2.cairo (100%) rename tests/{src => }/nodes/concat_fp8x23_3d_three_tensors_axis_2/output_0.cairo (100%) rename tests/{src => }/nodes/concat_i32_1d.cairo (100%) rename tests/{src => }/nodes/concat_i32_1d/input_0.cairo (100%) rename tests/{src => }/nodes/concat_i32_1d/input_1.cairo (100%) rename tests/{src => }/nodes/concat_i32_1d/output_0.cairo (100%) rename tests/{src => }/nodes/concat_i32_2d.cairo (100%) rename tests/{src => }/nodes/concat_i32_2d/input_0.cairo (100%) rename tests/{src => }/nodes/concat_i32_2d/input_1.cairo (100%) rename tests/{src => }/nodes/concat_i32_2d/output_0.cairo (100%) rename tests/{src => }/nodes/concat_i32_3d_axis_1.cairo (100%) rename tests/{src => }/nodes/concat_i32_3d_axis_1/input_0.cairo (100%) rename tests/{src => }/nodes/concat_i32_3d_axis_1/input_1.cairo (100%) rename tests/{src => }/nodes/concat_i32_3d_axis_1/output_0.cairo (100%) rename tests/{src => }/nodes/concat_i32_3d_axis_2.cairo (100%) rename tests/{src => }/nodes/concat_i32_3d_axis_2/input_0.cairo (100%) rename tests/{src => }/nodes/concat_i32_3d_axis_2/input_1.cairo (100%) rename tests/{src => }/nodes/concat_i32_3d_axis_2/output_0.cairo (100%) rename tests/{src => }/nodes/concat_i32_3d_default.cairo (100%) rename tests/{src => }/nodes/concat_i32_3d_default/input_0.cairo (100%) rename tests/{src => }/nodes/concat_i32_3d_default/input_1.cairo (100%) rename tests/{src => }/nodes/concat_i32_3d_default/output_0.cairo (100%) rename tests/{src => }/nodes/concat_i32_3d_three_tensors_axis_1.cairo (100%) rename tests/{src => }/nodes/concat_i32_3d_three_tensors_axis_1/input_0.cairo (100%) rename tests/{src => }/nodes/concat_i32_3d_three_tensors_axis_1/input_1.cairo (100%) rename tests/{src => }/nodes/concat_i32_3d_three_tensors_axis_1/input_2.cairo (100%) rename tests/{src => }/nodes/concat_i32_3d_three_tensors_axis_1/output_0.cairo (100%) rename tests/{src => }/nodes/concat_i32_3d_three_tensors_axis_2.cairo (100%) rename tests/{src => }/nodes/concat_i32_3d_three_tensors_axis_2/input_0.cairo (100%) rename tests/{src => }/nodes/concat_i32_3d_three_tensors_axis_2/input_1.cairo (100%) rename tests/{src => }/nodes/concat_i32_3d_three_tensors_axis_2/input_2.cairo (100%) rename tests/{src => }/nodes/concat_i32_3d_three_tensors_axis_2/output_0.cairo (100%) rename tests/{src => }/nodes/concat_i8_1d.cairo (100%) rename tests/{src => }/nodes/concat_i8_1d/input_0.cairo (100%) rename tests/{src => }/nodes/concat_i8_1d/input_1.cairo (100%) rename tests/{src => }/nodes/concat_i8_1d/output_0.cairo (100%) rename tests/{src => }/nodes/concat_i8_2d.cairo (100%) rename tests/{src => }/nodes/concat_i8_2d/input_0.cairo (100%) rename tests/{src => }/nodes/concat_i8_2d/input_1.cairo (100%) rename tests/{src => }/nodes/concat_i8_2d/output_0.cairo (100%) rename tests/{src => }/nodes/concat_i8_3d_axis_1.cairo (100%) rename tests/{src => }/nodes/concat_i8_3d_axis_1/input_0.cairo (100%) rename tests/{src => }/nodes/concat_i8_3d_axis_1/input_1.cairo (100%) rename tests/{src => }/nodes/concat_i8_3d_axis_1/output_0.cairo (100%) rename tests/{src => }/nodes/concat_i8_3d_axis_2.cairo (100%) rename tests/{src => }/nodes/concat_i8_3d_axis_2/input_0.cairo (100%) rename tests/{src => }/nodes/concat_i8_3d_axis_2/input_1.cairo (100%) rename tests/{src => }/nodes/concat_i8_3d_axis_2/output_0.cairo (100%) rename tests/{src => }/nodes/concat_i8_3d_default.cairo (100%) rename tests/{src => }/nodes/concat_i8_3d_default/input_0.cairo (100%) rename tests/{src => }/nodes/concat_i8_3d_default/input_1.cairo (100%) rename tests/{src => }/nodes/concat_i8_3d_default/output_0.cairo (100%) rename tests/{src => }/nodes/concat_i8_3d_three_tensors_axis_1.cairo (100%) rename tests/{src => }/nodes/concat_i8_3d_three_tensors_axis_1/input_0.cairo (100%) rename tests/{src => }/nodes/concat_i8_3d_three_tensors_axis_1/input_1.cairo (100%) rename tests/{src => }/nodes/concat_i8_3d_three_tensors_axis_1/input_2.cairo (100%) rename tests/{src => }/nodes/concat_i8_3d_three_tensors_axis_1/output_0.cairo (100%) rename tests/{src => }/nodes/concat_i8_3d_three_tensors_axis_2.cairo (100%) rename tests/{src => }/nodes/concat_i8_3d_three_tensors_axis_2/input_0.cairo (100%) rename tests/{src => }/nodes/concat_i8_3d_three_tensors_axis_2/input_1.cairo (100%) rename tests/{src => }/nodes/concat_i8_3d_three_tensors_axis_2/input_2.cairo (100%) rename tests/{src => }/nodes/concat_i8_3d_three_tensors_axis_2/output_0.cairo (100%) rename tests/{src => }/nodes/concat_u32_1d.cairo (100%) rename tests/{src => }/nodes/concat_u32_1d/input_0.cairo (100%) rename tests/{src => }/nodes/concat_u32_1d/input_1.cairo (100%) rename tests/{src => }/nodes/concat_u32_1d/output_0.cairo (100%) rename tests/{src => }/nodes/concat_u32_2d.cairo (100%) rename tests/{src => }/nodes/concat_u32_2d/input_0.cairo (100%) rename tests/{src => }/nodes/concat_u32_2d/input_1.cairo (100%) rename tests/{src => }/nodes/concat_u32_2d/output_0.cairo (100%) rename tests/{src => }/nodes/concat_u32_3d_axis_1.cairo (100%) rename tests/{src => }/nodes/concat_u32_3d_axis_1/input_0.cairo (100%) rename tests/{src => }/nodes/concat_u32_3d_axis_1/input_1.cairo (100%) rename tests/{src => }/nodes/concat_u32_3d_axis_1/output_0.cairo (100%) rename tests/{src => }/nodes/concat_u32_3d_axis_2.cairo (100%) rename tests/{src => }/nodes/concat_u32_3d_axis_2/input_0.cairo (100%) rename tests/{src => }/nodes/concat_u32_3d_axis_2/input_1.cairo (100%) rename tests/{src => }/nodes/concat_u32_3d_axis_2/output_0.cairo (100%) rename tests/{src => }/nodes/concat_u32_3d_default.cairo (100%) rename tests/{src => }/nodes/concat_u32_3d_default/input_0.cairo (100%) rename tests/{src => }/nodes/concat_u32_3d_default/input_1.cairo (100%) rename tests/{src => }/nodes/concat_u32_3d_default/output_0.cairo (100%) rename tests/{src => }/nodes/concat_u32_3d_three_tensors_axis_1.cairo (100%) rename tests/{src => }/nodes/concat_u32_3d_three_tensors_axis_1/input_0.cairo (100%) rename tests/{src => }/nodes/concat_u32_3d_three_tensors_axis_1/input_1.cairo (100%) rename tests/{src => }/nodes/concat_u32_3d_three_tensors_axis_1/input_2.cairo (100%) rename tests/{src => }/nodes/concat_u32_3d_three_tensors_axis_1/output_0.cairo (100%) rename tests/{src => }/nodes/concat_u32_3d_three_tensors_axis_2.cairo (100%) rename tests/{src => }/nodes/concat_u32_3d_three_tensors_axis_2/input_0.cairo (100%) rename tests/{src => }/nodes/concat_u32_3d_three_tensors_axis_2/input_1.cairo (100%) rename tests/{src => }/nodes/concat_u32_3d_three_tensors_axis_2/input_2.cairo (100%) rename tests/{src => }/nodes/concat_u32_3d_three_tensors_axis_2/output_0.cairo (100%) rename tests/{src => }/nodes/cos_fp16x16.cairo (100%) rename tests/{src => }/nodes/cos_fp16x16/input_0.cairo (100%) rename tests/{src => }/nodes/cos_fp16x16/output_0.cairo (100%) rename tests/{src => }/nodes/cos_fp8x23.cairo (100%) rename tests/{src => }/nodes/cos_fp8x23/input_0.cairo (100%) rename tests/{src => }/nodes/cos_fp8x23/output_0.cairo (100%) rename tests/{src => }/nodes/cosh_fp16x16.cairo (100%) rename tests/{src => }/nodes/cosh_fp16x16/input_0.cairo (100%) rename tests/{src => }/nodes/cosh_fp16x16/output_0.cairo (100%) rename tests/{src => }/nodes/cosh_fp8x23.cairo (100%) rename tests/{src => }/nodes/cosh_fp8x23/input_0.cairo (100%) rename tests/{src => }/nodes/cosh_fp8x23/output_0.cairo (100%) rename tests/{src => }/nodes/cumsum_fp16x16_1d_default.cairo (100%) rename tests/{src => }/nodes/cumsum_fp16x16_1d_default/input_0.cairo (100%) rename tests/{src => }/nodes/cumsum_fp16x16_1d_default/output_0.cairo (100%) rename tests/{src => }/nodes/cumsum_fp16x16_1d_exclusive.cairo (100%) rename tests/{src => }/nodes/cumsum_fp16x16_1d_exclusive/input_0.cairo (100%) rename tests/{src => }/nodes/cumsum_fp16x16_1d_exclusive/output_0.cairo (100%) rename tests/{src => }/nodes/cumsum_fp16x16_1d_reverse.cairo (100%) rename tests/{src => }/nodes/cumsum_fp16x16_1d_reverse/input_0.cairo (100%) rename tests/{src => }/nodes/cumsum_fp16x16_1d_reverse/output_0.cairo (100%) rename tests/{src => }/nodes/cumsum_fp16x16_1d_reverse_exclusive.cairo (100%) rename tests/{src => }/nodes/cumsum_fp16x16_1d_reverse_exclusive/input_0.cairo (100%) rename tests/{src => }/nodes/cumsum_fp16x16_1d_reverse_exclusive/output_0.cairo (100%) rename tests/{src => }/nodes/cumsum_fp16x16_2d_axis_0.cairo (100%) rename tests/{src => }/nodes/cumsum_fp16x16_2d_axis_0/input_0.cairo (100%) rename tests/{src => }/nodes/cumsum_fp16x16_2d_axis_0/output_0.cairo (100%) rename tests/{src => }/nodes/cumsum_fp16x16_2d_axis_1.cairo (100%) rename tests/{src => }/nodes/cumsum_fp16x16_2d_axis_1/input_0.cairo (100%) rename tests/{src => }/nodes/cumsum_fp16x16_2d_axis_1/output_0.cairo (100%) rename tests/{src => }/nodes/cumsum_fp8x23_1d_default.cairo (100%) rename tests/{src => }/nodes/cumsum_fp8x23_1d_default/input_0.cairo (100%) rename tests/{src => }/nodes/cumsum_fp8x23_1d_default/output_0.cairo (100%) rename tests/{src => }/nodes/cumsum_fp8x23_1d_exclusive.cairo (100%) rename tests/{src => }/nodes/cumsum_fp8x23_1d_exclusive/input_0.cairo (100%) rename tests/{src => }/nodes/cumsum_fp8x23_1d_exclusive/output_0.cairo (100%) rename tests/{src => }/nodes/cumsum_fp8x23_1d_reverse.cairo (100%) rename tests/{src => }/nodes/cumsum_fp8x23_1d_reverse/input_0.cairo (100%) rename tests/{src => }/nodes/cumsum_fp8x23_1d_reverse/output_0.cairo (100%) rename tests/{src => }/nodes/cumsum_fp8x23_1d_reverse_exclusive.cairo (100%) rename tests/{src => }/nodes/cumsum_fp8x23_1d_reverse_exclusive/input_0.cairo (100%) rename tests/{src => }/nodes/cumsum_fp8x23_1d_reverse_exclusive/output_0.cairo (100%) rename tests/{src => }/nodes/cumsum_fp8x23_2d_axis_0.cairo (100%) rename tests/{src => }/nodes/cumsum_fp8x23_2d_axis_0/input_0.cairo (100%) rename tests/{src => }/nodes/cumsum_fp8x23_2d_axis_0/output_0.cairo (100%) rename tests/{src => }/nodes/cumsum_fp8x23_2d_axis_1.cairo (100%) rename tests/{src => }/nodes/cumsum_fp8x23_2d_axis_1/input_0.cairo (100%) rename tests/{src => }/nodes/cumsum_fp8x23_2d_axis_1/output_0.cairo (100%) rename tests/{src => }/nodes/cumsum_i32_1d_default.cairo (100%) rename tests/{src => }/nodes/cumsum_i32_1d_default/input_0.cairo (100%) rename tests/{src => }/nodes/cumsum_i32_1d_default/output_0.cairo (100%) rename tests/{src => }/nodes/cumsum_i32_1d_exclusive.cairo (100%) rename tests/{src => }/nodes/cumsum_i32_1d_exclusive/input_0.cairo (100%) rename tests/{src => }/nodes/cumsum_i32_1d_exclusive/output_0.cairo (100%) rename tests/{src => }/nodes/cumsum_i32_1d_reverse.cairo (100%) rename tests/{src => }/nodes/cumsum_i32_1d_reverse/input_0.cairo (100%) rename tests/{src => }/nodes/cumsum_i32_1d_reverse/output_0.cairo (100%) rename tests/{src => }/nodes/cumsum_i32_1d_reverse_exclusive.cairo (100%) rename tests/{src => }/nodes/cumsum_i32_1d_reverse_exclusive/input_0.cairo (100%) rename tests/{src => }/nodes/cumsum_i32_1d_reverse_exclusive/output_0.cairo (100%) rename tests/{src => }/nodes/cumsum_i32_2d_axis_0.cairo (100%) rename tests/{src => }/nodes/cumsum_i32_2d_axis_0/input_0.cairo (100%) rename tests/{src => }/nodes/cumsum_i32_2d_axis_0/output_0.cairo (100%) rename tests/{src => }/nodes/cumsum_i32_2d_axis_1.cairo (100%) rename tests/{src => }/nodes/cumsum_i32_2d_axis_1/input_0.cairo (100%) rename tests/{src => }/nodes/cumsum_i32_2d_axis_1/output_0.cairo (100%) rename tests/{src => }/nodes/cumsum_i8_1d_default.cairo (100%) rename tests/{src => }/nodes/cumsum_i8_1d_default/input_0.cairo (100%) rename tests/{src => }/nodes/cumsum_i8_1d_default/output_0.cairo (100%) rename tests/{src => }/nodes/cumsum_i8_1d_exclusive.cairo (100%) rename tests/{src => }/nodes/cumsum_i8_1d_exclusive/input_0.cairo (100%) rename tests/{src => }/nodes/cumsum_i8_1d_exclusive/output_0.cairo (100%) rename tests/{src => }/nodes/cumsum_i8_1d_reverse.cairo (100%) rename tests/{src => }/nodes/cumsum_i8_1d_reverse/input_0.cairo (100%) rename tests/{src => }/nodes/cumsum_i8_1d_reverse/output_0.cairo (100%) rename tests/{src => }/nodes/cumsum_i8_1d_reverse_exclusive.cairo (100%) rename tests/{src => }/nodes/cumsum_i8_1d_reverse_exclusive/input_0.cairo (100%) rename tests/{src => }/nodes/cumsum_i8_1d_reverse_exclusive/output_0.cairo (100%) rename tests/{src => }/nodes/cumsum_i8_2d_axis_0.cairo (100%) rename tests/{src => }/nodes/cumsum_i8_2d_axis_0/input_0.cairo (100%) rename tests/{src => }/nodes/cumsum_i8_2d_axis_0/output_0.cairo (100%) rename tests/{src => }/nodes/cumsum_i8_2d_axis_1.cairo (100%) rename tests/{src => }/nodes/cumsum_i8_2d_axis_1/input_0.cairo (100%) rename tests/{src => }/nodes/cumsum_i8_2d_axis_1/output_0.cairo (100%) rename tests/{src => }/nodes/cumsum_u32_1d_default.cairo (100%) rename tests/{src => }/nodes/cumsum_u32_1d_default/input_0.cairo (100%) rename tests/{src => }/nodes/cumsum_u32_1d_default/output_0.cairo (100%) rename tests/{src => }/nodes/cumsum_u32_1d_exclusive.cairo (100%) rename tests/{src => }/nodes/cumsum_u32_1d_exclusive/input_0.cairo (100%) rename tests/{src => }/nodes/cumsum_u32_1d_exclusive/output_0.cairo (100%) rename tests/{src => }/nodes/cumsum_u32_1d_reverse.cairo (100%) rename tests/{src => }/nodes/cumsum_u32_1d_reverse/input_0.cairo (100%) rename tests/{src => }/nodes/cumsum_u32_1d_reverse/output_0.cairo (100%) rename tests/{src => }/nodes/cumsum_u32_1d_reverse_exclusive.cairo (100%) rename tests/{src => }/nodes/cumsum_u32_1d_reverse_exclusive/input_0.cairo (100%) rename tests/{src => }/nodes/cumsum_u32_1d_reverse_exclusive/output_0.cairo (100%) rename tests/{src => }/nodes/cumsum_u32_2d_axis_0.cairo (100%) rename tests/{src => }/nodes/cumsum_u32_2d_axis_0/input_0.cairo (100%) rename tests/{src => }/nodes/cumsum_u32_2d_axis_0/output_0.cairo (100%) rename tests/{src => }/nodes/cumsum_u32_2d_axis_1.cairo (100%) rename tests/{src => }/nodes/cumsum_u32_2d_axis_1/input_0.cairo (100%) rename tests/{src => }/nodes/cumsum_u32_2d_axis_1/output_0.cairo (100%) rename tests/{src => }/nodes/div_fp16x16.cairo (100%) rename tests/{src => }/nodes/div_fp16x16/input_0.cairo (100%) rename tests/{src => }/nodes/div_fp16x16/input_1.cairo (100%) rename tests/{src => }/nodes/div_fp16x16/output_0.cairo (100%) rename tests/{src => }/nodes/div_fp16x16_broadcast.cairo (100%) rename tests/{src => }/nodes/div_fp16x16_broadcast/input_0.cairo (100%) rename tests/{src => }/nodes/div_fp16x16_broadcast/input_1.cairo (100%) rename tests/{src => }/nodes/div_fp16x16_broadcast/output_0.cairo (100%) rename tests/{src => }/nodes/div_fp8x23.cairo (100%) rename tests/{src => }/nodes/div_fp8x23/input_0.cairo (100%) rename tests/{src => }/nodes/div_fp8x23/input_1.cairo (100%) rename tests/{src => }/nodes/div_fp8x23/output_0.cairo (100%) rename tests/{src => }/nodes/div_fp8x23_broadcast.cairo (100%) rename tests/{src => }/nodes/div_fp8x23_broadcast/input_0.cairo (100%) rename tests/{src => }/nodes/div_fp8x23_broadcast/input_1.cairo (100%) rename tests/{src => }/nodes/div_fp8x23_broadcast/output_0.cairo (100%) rename tests/{src => }/nodes/div_i32.cairo (100%) rename tests/{src => }/nodes/div_i32/input_0.cairo (100%) rename tests/{src => }/nodes/div_i32/input_1.cairo (100%) rename tests/{src => }/nodes/div_i32/output_0.cairo (100%) rename tests/{src => }/nodes/div_i32_broadcast.cairo (100%) rename tests/{src => }/nodes/div_i32_broadcast/input_0.cairo (100%) rename tests/{src => }/nodes/div_i32_broadcast/input_1.cairo (100%) rename tests/{src => }/nodes/div_i32_broadcast/output_0.cairo (100%) rename tests/{src => }/nodes/div_i8.cairo (100%) rename tests/{src => }/nodes/div_i8/input_0.cairo (100%) rename tests/{src => }/nodes/div_i8/input_1.cairo (100%) rename tests/{src => }/nodes/div_i8/output_0.cairo (100%) rename tests/{src => }/nodes/div_i8_broadcast.cairo (100%) rename tests/{src => }/nodes/div_i8_broadcast/input_0.cairo (100%) rename tests/{src => }/nodes/div_i8_broadcast/input_1.cairo (100%) rename tests/{src => }/nodes/div_i8_broadcast/output_0.cairo (100%) rename tests/{src => }/nodes/div_u32.cairo (100%) rename tests/{src => }/nodes/div_u32/input_0.cairo (100%) rename tests/{src => }/nodes/div_u32/input_1.cairo (100%) rename tests/{src => }/nodes/div_u32/output_0.cairo (100%) rename tests/{src => }/nodes/div_u32_broadcast.cairo (100%) rename tests/{src => }/nodes/div_u32_broadcast/input_0.cairo (100%) rename tests/{src => }/nodes/div_u32_broadcast/input_1.cairo (100%) rename tests/{src => }/nodes/div_u32_broadcast/output_0.cairo (100%) rename tests/{src => }/nodes/equal_fp16x16.cairo (100%) rename tests/{src => }/nodes/equal_fp16x16/input_0.cairo (100%) rename tests/{src => }/nodes/equal_fp16x16/input_1.cairo (100%) rename tests/{src => }/nodes/equal_fp16x16/output_0.cairo (100%) rename tests/{src => }/nodes/equal_fp16x16_broadcast.cairo (100%) rename tests/{src => }/nodes/equal_fp16x16_broadcast/input_0.cairo (100%) rename tests/{src => }/nodes/equal_fp16x16_broadcast/input_1.cairo (100%) rename tests/{src => }/nodes/equal_fp16x16_broadcast/output_0.cairo (100%) rename tests/{src => }/nodes/equal_fp8x23.cairo (100%) rename tests/{src => }/nodes/equal_fp8x23/input_0.cairo (100%) rename tests/{src => }/nodes/equal_fp8x23/input_1.cairo (100%) rename tests/{src => }/nodes/equal_fp8x23/output_0.cairo (100%) rename tests/{src => }/nodes/equal_fp8x23_broadcast.cairo (100%) rename tests/{src => }/nodes/equal_fp8x23_broadcast/input_0.cairo (100%) rename tests/{src => }/nodes/equal_fp8x23_broadcast/input_1.cairo (100%) rename tests/{src => }/nodes/equal_fp8x23_broadcast/output_0.cairo (100%) rename tests/{src => }/nodes/equal_i32.cairo (100%) rename tests/{src => }/nodes/equal_i32/input_0.cairo (100%) rename tests/{src => }/nodes/equal_i32/input_1.cairo (100%) rename tests/{src => }/nodes/equal_i32/output_0.cairo (100%) rename tests/{src => }/nodes/equal_i32_broadcast.cairo (100%) rename tests/{src => }/nodes/equal_i32_broadcast/input_0.cairo (100%) rename tests/{src => }/nodes/equal_i32_broadcast/input_1.cairo (100%) rename tests/{src => }/nodes/equal_i32_broadcast/output_0.cairo (100%) rename tests/{src => }/nodes/equal_i8.cairo (100%) rename tests/{src => }/nodes/equal_i8/input_0.cairo (100%) rename tests/{src => }/nodes/equal_i8/input_1.cairo (100%) rename tests/{src => }/nodes/equal_i8/output_0.cairo (100%) rename tests/{src => }/nodes/equal_i8_broadcast.cairo (100%) rename tests/{src => }/nodes/equal_i8_broadcast/input_0.cairo (100%) rename tests/{src => }/nodes/equal_i8_broadcast/input_1.cairo (100%) rename tests/{src => }/nodes/equal_i8_broadcast/output_0.cairo (100%) rename tests/{src => }/nodes/equal_u32.cairo (100%) rename tests/{src => }/nodes/equal_u32/input_0.cairo (100%) rename tests/{src => }/nodes/equal_u32/input_1.cairo (100%) rename tests/{src => }/nodes/equal_u32/output_0.cairo (100%) rename tests/{src => }/nodes/equal_u32_broadcast.cairo (100%) rename tests/{src => }/nodes/equal_u32_broadcast/input_0.cairo (100%) rename tests/{src => }/nodes/equal_u32_broadcast/input_1.cairo (100%) rename tests/{src => }/nodes/equal_u32_broadcast/output_0.cairo (100%) rename tests/{src => }/nodes/exp_fp16x16.cairo (100%) rename tests/{src => }/nodes/exp_fp16x16/input_0.cairo (100%) rename tests/{src => }/nodes/exp_fp16x16/output_0.cairo (100%) rename tests/{src => }/nodes/exp_fp8x23.cairo (100%) rename tests/{src => }/nodes/exp_fp8x23/input_0.cairo (100%) rename tests/{src => }/nodes/exp_fp8x23/output_0.cairo (100%) rename tests/{src => }/nodes/gather_fp16x16_3d_axis1.cairo (100%) rename tests/{src => }/nodes/gather_fp16x16_3d_axis1/input_0.cairo (100%) rename tests/{src => }/nodes/gather_fp16x16_3d_axis1/input_1.cairo (100%) rename tests/{src => }/nodes/gather_fp16x16_3d_axis1/output_0.cairo (100%) rename tests/{src => }/nodes/gather_fp16x16_3d_axis2.cairo (100%) rename tests/{src => }/nodes/gather_fp16x16_3d_axis2/input_0.cairo (100%) rename tests/{src => }/nodes/gather_fp16x16_3d_axis2/input_1.cairo (100%) rename tests/{src => }/nodes/gather_fp16x16_3d_axis2/output_0.cairo (100%) rename tests/{src => }/nodes/gather_fp16x16_3d_default.cairo (100%) rename tests/{src => }/nodes/gather_fp16x16_3d_default/input_0.cairo (100%) rename tests/{src => }/nodes/gather_fp16x16_3d_default/input_1.cairo (100%) rename tests/{src => }/nodes/gather_fp16x16_3d_default/output_0.cairo (100%) rename tests/{src => }/nodes/gather_fp8x23_3d_axis1.cairo (100%) rename tests/{src => }/nodes/gather_fp8x23_3d_axis1/input_0.cairo (100%) rename tests/{src => }/nodes/gather_fp8x23_3d_axis1/input_1.cairo (100%) rename tests/{src => }/nodes/gather_fp8x23_3d_axis1/output_0.cairo (100%) rename tests/{src => }/nodes/gather_fp8x23_3d_axis2.cairo (100%) rename tests/{src => }/nodes/gather_fp8x23_3d_axis2/input_0.cairo (100%) rename tests/{src => }/nodes/gather_fp8x23_3d_axis2/input_1.cairo (100%) rename tests/{src => }/nodes/gather_fp8x23_3d_axis2/output_0.cairo (100%) rename tests/{src => }/nodes/gather_fp8x23_3d_default.cairo (100%) rename tests/{src => }/nodes/gather_fp8x23_3d_default/input_0.cairo (100%) rename tests/{src => }/nodes/gather_fp8x23_3d_default/input_1.cairo (100%) rename tests/{src => }/nodes/gather_fp8x23_3d_default/output_0.cairo (100%) rename tests/{src => }/nodes/gather_i32_3d_axis1.cairo (100%) rename tests/{src => }/nodes/gather_i32_3d_axis1/input_0.cairo (100%) rename tests/{src => }/nodes/gather_i32_3d_axis1/input_1.cairo (100%) rename tests/{src => }/nodes/gather_i32_3d_axis1/output_0.cairo (100%) rename tests/{src => }/nodes/gather_i32_3d_axis2.cairo (100%) rename tests/{src => }/nodes/gather_i32_3d_axis2/input_0.cairo (100%) rename tests/{src => }/nodes/gather_i32_3d_axis2/input_1.cairo (100%) rename tests/{src => }/nodes/gather_i32_3d_axis2/output_0.cairo (100%) rename tests/{src => }/nodes/gather_i32_3d_default.cairo (100%) rename tests/{src => }/nodes/gather_i32_3d_default/input_0.cairo (100%) rename tests/{src => }/nodes/gather_i32_3d_default/input_1.cairo (100%) rename tests/{src => }/nodes/gather_i32_3d_default/output_0.cairo (100%) rename tests/{src => }/nodes/gather_i8_3d_axis1.cairo (100%) rename tests/{src => }/nodes/gather_i8_3d_axis1/input_0.cairo (100%) rename tests/{src => }/nodes/gather_i8_3d_axis1/input_1.cairo (100%) rename tests/{src => }/nodes/gather_i8_3d_axis1/output_0.cairo (100%) rename tests/{src => }/nodes/gather_i8_3d_axis2.cairo (100%) rename tests/{src => }/nodes/gather_i8_3d_axis2/input_0.cairo (100%) rename tests/{src => }/nodes/gather_i8_3d_axis2/input_1.cairo (100%) rename tests/{src => }/nodes/gather_i8_3d_axis2/output_0.cairo (100%) rename tests/{src => }/nodes/gather_i8_3d_default.cairo (100%) rename tests/{src => }/nodes/gather_i8_3d_default/input_0.cairo (100%) rename tests/{src => }/nodes/gather_i8_3d_default/input_1.cairo (100%) rename tests/{src => }/nodes/gather_i8_3d_default/output_0.cairo (100%) rename tests/{src => }/nodes/gather_u32_3d_axis1.cairo (100%) rename tests/{src => }/nodes/gather_u32_3d_axis1/input_0.cairo (100%) rename tests/{src => }/nodes/gather_u32_3d_axis1/input_1.cairo (100%) rename tests/{src => }/nodes/gather_u32_3d_axis1/output_0.cairo (100%) rename tests/{src => }/nodes/gather_u32_3d_axis2.cairo (100%) rename tests/{src => }/nodes/gather_u32_3d_axis2/input_0.cairo (100%) rename tests/{src => }/nodes/gather_u32_3d_axis2/input_1.cairo (100%) rename tests/{src => }/nodes/gather_u32_3d_axis2/output_0.cairo (100%) rename tests/{src => }/nodes/gather_u32_3d_default.cairo (100%) rename tests/{src => }/nodes/gather_u32_3d_default/input_0.cairo (100%) rename tests/{src => }/nodes/gather_u32_3d_default/input_1.cairo (100%) rename tests/{src => }/nodes/gather_u32_3d_default/output_0.cairo (100%) rename tests/{src => }/nodes/gemm_all_attributes.cairo (100%) rename tests/{src => }/nodes/gemm_all_attributes/input_0.cairo (100%) rename tests/{src => }/nodes/gemm_all_attributes/input_1.cairo (100%) rename tests/{src => }/nodes/gemm_all_attributes/input_2.cairo (100%) rename tests/{src => }/nodes/gemm_all_attributes/output_0.cairo (100%) rename tests/{src => }/nodes/gemm_alpha.cairo (100%) rename tests/{src => }/nodes/gemm_alpha/input_0.cairo (100%) rename tests/{src => }/nodes/gemm_alpha/input_1.cairo (100%) rename tests/{src => }/nodes/gemm_alpha/output_0.cairo (100%) rename tests/{src => }/nodes/gemm_beta.cairo (100%) rename tests/{src => }/nodes/gemm_beta/input_0.cairo (100%) rename tests/{src => }/nodes/gemm_beta/input_1.cairo (100%) rename tests/{src => }/nodes/gemm_beta/input_2.cairo (100%) rename tests/{src => }/nodes/gemm_beta/output_0.cairo (100%) rename tests/{src => }/nodes/gemm_default_matrix_bias.cairo (100%) rename tests/{src => }/nodes/gemm_default_matrix_bias/input_0.cairo (100%) rename tests/{src => }/nodes/gemm_default_matrix_bias/input_1.cairo (100%) rename tests/{src => }/nodes/gemm_default_matrix_bias/input_2.cairo (100%) rename tests/{src => }/nodes/gemm_default_matrix_bias/output_0.cairo (100%) rename tests/{src => }/nodes/gemm_default_no_bias.cairo (100%) rename tests/{src => }/nodes/gemm_default_no_bias/input_0.cairo (100%) rename tests/{src => }/nodes/gemm_default_no_bias/input_1.cairo (100%) rename tests/{src => }/nodes/gemm_default_no_bias/output_0.cairo (100%) rename tests/{src => }/nodes/gemm_default_vector_bias.cairo (100%) rename tests/{src => }/nodes/gemm_default_vector_bias/input_0.cairo (100%) rename tests/{src => }/nodes/gemm_default_vector_bias/input_1.cairo (100%) rename tests/{src => }/nodes/gemm_default_vector_bias/input_2.cairo (100%) rename tests/{src => }/nodes/gemm_default_vector_bias/output_0.cairo (100%) rename tests/{src => }/nodes/gemm_transposeA.cairo (100%) rename tests/{src => }/nodes/gemm_transposeA/input_0.cairo (100%) rename tests/{src => }/nodes/gemm_transposeA/input_1.cairo (100%) rename tests/{src => }/nodes/gemm_transposeA/output_0.cairo (100%) rename tests/{src => }/nodes/gemm_transposeB.cairo (100%) rename tests/{src => }/nodes/gemm_transposeB/input_0.cairo (100%) rename tests/{src => }/nodes/gemm_transposeB/input_1.cairo (100%) rename tests/{src => }/nodes/gemm_transposeB/output_0.cairo (100%) rename tests/{src => }/nodes/greater_equal_fp16x16.cairo (100%) rename tests/{src => }/nodes/greater_equal_fp16x16/input_0.cairo (100%) rename tests/{src => }/nodes/greater_equal_fp16x16/input_1.cairo (100%) rename tests/{src => }/nodes/greater_equal_fp16x16/output_0.cairo (100%) rename tests/{src => }/nodes/greater_equal_fp16x16_broadcast.cairo (100%) rename tests/{src => }/nodes/greater_equal_fp16x16_broadcast/input_0.cairo (100%) rename tests/{src => }/nodes/greater_equal_fp16x16_broadcast/input_1.cairo (100%) rename tests/{src => }/nodes/greater_equal_fp16x16_broadcast/output_0.cairo (100%) rename tests/{src => }/nodes/greater_equal_fp8x23.cairo (100%) rename tests/{src => }/nodes/greater_equal_fp8x23/input_0.cairo (100%) rename tests/{src => }/nodes/greater_equal_fp8x23/input_1.cairo (100%) rename tests/{src => }/nodes/greater_equal_fp8x23/output_0.cairo (100%) rename tests/{src => }/nodes/greater_equal_fp8x23_broadcast.cairo (100%) rename tests/{src => }/nodes/greater_equal_fp8x23_broadcast/input_0.cairo (100%) rename tests/{src => }/nodes/greater_equal_fp8x23_broadcast/input_1.cairo (100%) rename tests/{src => }/nodes/greater_equal_fp8x23_broadcast/output_0.cairo (100%) rename tests/{src => }/nodes/greater_equal_i32.cairo (100%) rename tests/{src => }/nodes/greater_equal_i32/input_0.cairo (100%) rename tests/{src => }/nodes/greater_equal_i32/input_1.cairo (100%) rename tests/{src => }/nodes/greater_equal_i32/output_0.cairo (100%) rename tests/{src => }/nodes/greater_equal_i32_broadcast.cairo (100%) rename tests/{src => }/nodes/greater_equal_i32_broadcast/input_0.cairo (100%) rename tests/{src => }/nodes/greater_equal_i32_broadcast/input_1.cairo (100%) rename tests/{src => }/nodes/greater_equal_i32_broadcast/output_0.cairo (100%) rename tests/{src => }/nodes/greater_equal_i8.cairo (100%) rename tests/{src => }/nodes/greater_equal_i8/input_0.cairo (100%) rename tests/{src => }/nodes/greater_equal_i8/input_1.cairo (100%) rename tests/{src => }/nodes/greater_equal_i8/output_0.cairo (100%) rename tests/{src => }/nodes/greater_equal_i8_broadcast.cairo (100%) rename tests/{src => }/nodes/greater_equal_i8_broadcast/input_0.cairo (100%) rename tests/{src => }/nodes/greater_equal_i8_broadcast/input_1.cairo (100%) rename tests/{src => }/nodes/greater_equal_i8_broadcast/output_0.cairo (100%) rename tests/{src => }/nodes/greater_equal_u32.cairo (100%) rename tests/{src => }/nodes/greater_equal_u32/input_0.cairo (100%) rename tests/{src => }/nodes/greater_equal_u32/input_1.cairo (100%) rename tests/{src => }/nodes/greater_equal_u32/output_0.cairo (100%) rename tests/{src => }/nodes/greater_equal_u32_broadcast.cairo (100%) rename tests/{src => }/nodes/greater_equal_u32_broadcast/input_0.cairo (100%) rename tests/{src => }/nodes/greater_equal_u32_broadcast/input_1.cairo (100%) rename tests/{src => }/nodes/greater_equal_u32_broadcast/output_0.cairo (100%) rename tests/{src => }/nodes/greater_fp16x16.cairo (100%) rename tests/{src => }/nodes/greater_fp16x16/input_0.cairo (100%) rename tests/{src => }/nodes/greater_fp16x16/input_1.cairo (100%) rename tests/{src => }/nodes/greater_fp16x16/output_0.cairo (100%) rename tests/{src => }/nodes/greater_fp16x16_broadcast.cairo (100%) rename tests/{src => }/nodes/greater_fp16x16_broadcast/input_0.cairo (100%) rename tests/{src => }/nodes/greater_fp16x16_broadcast/input_1.cairo (100%) rename tests/{src => }/nodes/greater_fp16x16_broadcast/output_0.cairo (100%) rename tests/{src => }/nodes/greater_fp8x23.cairo (100%) rename tests/{src => }/nodes/greater_fp8x23/input_0.cairo (100%) rename tests/{src => }/nodes/greater_fp8x23/input_1.cairo (100%) rename tests/{src => }/nodes/greater_fp8x23/output_0.cairo (100%) rename tests/{src => }/nodes/greater_fp8x23_broadcast.cairo (100%) rename tests/{src => }/nodes/greater_fp8x23_broadcast/input_0.cairo (100%) rename tests/{src => }/nodes/greater_fp8x23_broadcast/input_1.cairo (100%) rename tests/{src => }/nodes/greater_fp8x23_broadcast/output_0.cairo (100%) rename tests/{src => }/nodes/greater_i32.cairo (100%) rename tests/{src => }/nodes/greater_i32/input_0.cairo (100%) rename tests/{src => }/nodes/greater_i32/input_1.cairo (100%) rename tests/{src => }/nodes/greater_i32/output_0.cairo (100%) rename tests/{src => }/nodes/greater_i32_broadcast.cairo (100%) rename tests/{src => }/nodes/greater_i32_broadcast/input_0.cairo (100%) rename tests/{src => }/nodes/greater_i32_broadcast/input_1.cairo (100%) rename tests/{src => }/nodes/greater_i32_broadcast/output_0.cairo (100%) rename tests/{src => }/nodes/greater_i8.cairo (100%) rename tests/{src => }/nodes/greater_i8/input_0.cairo (100%) rename tests/{src => }/nodes/greater_i8/input_1.cairo (100%) rename tests/{src => }/nodes/greater_i8/output_0.cairo (100%) rename tests/{src => }/nodes/greater_i8_broadcast.cairo (100%) rename tests/{src => }/nodes/greater_i8_broadcast/input_0.cairo (100%) rename tests/{src => }/nodes/greater_i8_broadcast/input_1.cairo (100%) rename tests/{src => }/nodes/greater_i8_broadcast/output_0.cairo (100%) rename tests/{src => }/nodes/greater_u32.cairo (100%) rename tests/{src => }/nodes/greater_u32/input_0.cairo (100%) rename tests/{src => }/nodes/greater_u32/input_1.cairo (100%) rename tests/{src => }/nodes/greater_u32/output_0.cairo (100%) rename tests/{src => }/nodes/greater_u32_broadcast.cairo (100%) rename tests/{src => }/nodes/greater_u32_broadcast/input_0.cairo (100%) rename tests/{src => }/nodes/greater_u32_broadcast/input_1.cairo (100%) rename tests/{src => }/nodes/greater_u32_broadcast/output_0.cairo (100%) rename tests/{src => }/nodes/hard_sigmoid_fp16x16.cairo (100%) rename tests/{src => }/nodes/hard_sigmoid_fp16x16/input_0.cairo (100%) rename tests/{src => }/nodes/hard_sigmoid_fp16x16/output_0.cairo (100%) rename tests/{src => }/nodes/hard_sigmoid_fp8x23.cairo (100%) rename tests/{src => }/nodes/hard_sigmoid_fp8x23/input_0.cairo (100%) rename tests/{src => }/nodes/hard_sigmoid_fp8x23/output_0.cairo (100%) rename tests/{src => }/nodes/identity_fP16x16.cairo (100%) rename tests/{src => }/nodes/identity_fP16x16/input_0.cairo (100%) rename tests/{src => }/nodes/identity_fP16x16/output_0.cairo (100%) rename tests/{src => }/nodes/identity_fP8x23.cairo (100%) rename tests/{src => }/nodes/identity_fP8x23/input_0.cairo (100%) rename tests/{src => }/nodes/identity_fP8x23/output_0.cairo (100%) rename tests/{src => }/nodes/identity_i32.cairo (100%) rename tests/{src => }/nodes/identity_i32/input_0.cairo (100%) rename tests/{src => }/nodes/identity_i32/output_0.cairo (100%) rename tests/{src => }/nodes/identity_i8.cairo (100%) rename tests/{src => }/nodes/identity_i8/input_0.cairo (100%) rename tests/{src => }/nodes/identity_i8/output_0.cairo (100%) rename tests/{src => }/nodes/identity_u32.cairo (100%) rename tests/{src => }/nodes/identity_u32/input_0.cairo (100%) rename tests/{src => }/nodes/identity_u32/output_0.cairo (100%) rename tests/{src => }/nodes/leaky_relu_fp16x16.cairo (100%) rename tests/{src => }/nodes/leaky_relu_fp16x16/input_0.cairo (100%) rename tests/{src => }/nodes/leaky_relu_fp16x16/output_0.cairo (100%) rename tests/{src => }/nodes/leaky_relu_fp8x23.cairo (100%) rename tests/{src => }/nodes/leaky_relu_fp8x23/input_0.cairo (100%) rename tests/{src => }/nodes/leaky_relu_fp8x23/output_0.cairo (100%) rename tests/{src => }/nodes/less_equal_fp16x16.cairo (100%) rename tests/{src => }/nodes/less_equal_fp16x16/input_0.cairo (100%) rename tests/{src => }/nodes/less_equal_fp16x16/input_1.cairo (100%) rename tests/{src => }/nodes/less_equal_fp16x16/output_0.cairo (100%) rename tests/{src => }/nodes/less_equal_fp16x16_broadcast.cairo (100%) rename tests/{src => }/nodes/less_equal_fp16x16_broadcast/input_0.cairo (100%) rename tests/{src => }/nodes/less_equal_fp16x16_broadcast/input_1.cairo (100%) rename tests/{src => }/nodes/less_equal_fp16x16_broadcast/output_0.cairo (100%) rename tests/{src => }/nodes/less_equal_fp8x23.cairo (100%) rename tests/{src => }/nodes/less_equal_fp8x23/input_0.cairo (100%) rename tests/{src => }/nodes/less_equal_fp8x23/input_1.cairo (100%) rename tests/{src => }/nodes/less_equal_fp8x23/output_0.cairo (100%) rename tests/{src => }/nodes/less_equal_fp8x23_broadcast.cairo (100%) rename tests/{src => }/nodes/less_equal_fp8x23_broadcast/input_0.cairo (100%) rename tests/{src => }/nodes/less_equal_fp8x23_broadcast/input_1.cairo (100%) rename tests/{src => }/nodes/less_equal_fp8x23_broadcast/output_0.cairo (100%) rename tests/{src => }/nodes/less_equal_i32.cairo (100%) rename tests/{src => }/nodes/less_equal_i32/input_0.cairo (100%) rename tests/{src => }/nodes/less_equal_i32/input_1.cairo (100%) rename tests/{src => }/nodes/less_equal_i32/output_0.cairo (100%) rename tests/{src => }/nodes/less_equal_i32_broadcast.cairo (100%) rename tests/{src => }/nodes/less_equal_i32_broadcast/input_0.cairo (100%) rename tests/{src => }/nodes/less_equal_i32_broadcast/input_1.cairo (100%) rename tests/{src => }/nodes/less_equal_i32_broadcast/output_0.cairo (100%) rename tests/{src => }/nodes/less_equal_i8.cairo (100%) rename tests/{src => }/nodes/less_equal_i8/input_0.cairo (100%) rename tests/{src => }/nodes/less_equal_i8/input_1.cairo (100%) rename tests/{src => }/nodes/less_equal_i8/output_0.cairo (100%) rename tests/{src => }/nodes/less_equal_i8_broadcast.cairo (100%) rename tests/{src => }/nodes/less_equal_i8_broadcast/input_0.cairo (100%) rename tests/{src => }/nodes/less_equal_i8_broadcast/input_1.cairo (100%) rename tests/{src => }/nodes/less_equal_i8_broadcast/output_0.cairo (100%) rename tests/{src => }/nodes/less_equal_u32.cairo (100%) rename tests/{src => }/nodes/less_equal_u32/input_0.cairo (100%) rename tests/{src => }/nodes/less_equal_u32/input_1.cairo (100%) rename tests/{src => }/nodes/less_equal_u32/output_0.cairo (100%) rename tests/{src => }/nodes/less_equal_u32_broadcast.cairo (100%) rename tests/{src => }/nodes/less_equal_u32_broadcast/input_0.cairo (100%) rename tests/{src => }/nodes/less_equal_u32_broadcast/input_1.cairo (100%) rename tests/{src => }/nodes/less_equal_u32_broadcast/output_0.cairo (100%) rename tests/{src => }/nodes/less_fp16x16.cairo (100%) rename tests/{src => }/nodes/less_fp16x16/input_0.cairo (100%) rename tests/{src => }/nodes/less_fp16x16/input_1.cairo (100%) rename tests/{src => }/nodes/less_fp16x16/output_0.cairo (100%) rename tests/{src => }/nodes/less_fp16x16_broadcast.cairo (100%) rename tests/{src => }/nodes/less_fp16x16_broadcast/input_0.cairo (100%) rename tests/{src => }/nodes/less_fp16x16_broadcast/input_1.cairo (100%) rename tests/{src => }/nodes/less_fp16x16_broadcast/output_0.cairo (100%) rename tests/{src => }/nodes/less_fp8x23.cairo (100%) rename tests/{src => }/nodes/less_fp8x23/input_0.cairo (100%) rename tests/{src => }/nodes/less_fp8x23/input_1.cairo (100%) rename tests/{src => }/nodes/less_fp8x23/output_0.cairo (100%) rename tests/{src => }/nodes/less_fp8x23_broadcast.cairo (100%) rename tests/{src => }/nodes/less_fp8x23_broadcast/input_0.cairo (100%) rename tests/{src => }/nodes/less_fp8x23_broadcast/input_1.cairo (100%) rename tests/{src => }/nodes/less_fp8x23_broadcast/output_0.cairo (100%) rename tests/{src => }/nodes/less_i32.cairo (100%) rename tests/{src => }/nodes/less_i32/input_0.cairo (100%) rename tests/{src => }/nodes/less_i32/input_1.cairo (100%) rename tests/{src => }/nodes/less_i32/output_0.cairo (100%) rename tests/{src => }/nodes/less_i32_broadcast.cairo (100%) rename tests/{src => }/nodes/less_i32_broadcast/input_0.cairo (100%) rename tests/{src => }/nodes/less_i32_broadcast/input_1.cairo (100%) rename tests/{src => }/nodes/less_i32_broadcast/output_0.cairo (100%) rename tests/{src => }/nodes/less_i8.cairo (100%) rename tests/{src => }/nodes/less_i8/input_0.cairo (100%) rename tests/{src => }/nodes/less_i8/input_1.cairo (100%) rename tests/{src => }/nodes/less_i8/output_0.cairo (100%) rename tests/{src => }/nodes/less_i8_broadcast.cairo (100%) rename tests/{src => }/nodes/less_i8_broadcast/input_0.cairo (100%) rename tests/{src => }/nodes/less_i8_broadcast/input_1.cairo (100%) rename tests/{src => }/nodes/less_i8_broadcast/output_0.cairo (100%) rename tests/{src => }/nodes/less_u32.cairo (100%) rename tests/{src => }/nodes/less_u32/input_0.cairo (100%) rename tests/{src => }/nodes/less_u32/input_1.cairo (100%) rename tests/{src => }/nodes/less_u32/output_0.cairo (100%) rename tests/{src => }/nodes/less_u32_broadcast.cairo (100%) rename tests/{src => }/nodes/less_u32_broadcast/input_0.cairo (100%) rename tests/{src => }/nodes/less_u32_broadcast/input_1.cairo (100%) rename tests/{src => }/nodes/less_u32_broadcast/output_0.cairo (100%) rename tests/{src => }/nodes/linear_fp16x16.cairo (100%) rename tests/{src => }/nodes/linear_fp16x16/input_0.cairo (100%) rename tests/{src => }/nodes/linear_fp16x16/input_1.cairo (100%) rename tests/{src => }/nodes/linear_fp16x16/input_2.cairo (100%) rename tests/{src => }/nodes/linear_fp16x16/output_0.cairo (100%) rename tests/{src => }/nodes/linear_fp8x23.cairo (100%) rename tests/{src => }/nodes/linear_fp8x23/input_0.cairo (100%) rename tests/{src => }/nodes/linear_fp8x23/input_1.cairo (100%) rename tests/{src => }/nodes/linear_fp8x23/input_2.cairo (100%) rename tests/{src => }/nodes/linear_fp8x23/output_0.cairo (100%) rename tests/{src => }/nodes/linear_i32.cairo (100%) rename tests/{src => }/nodes/linear_i32/input_0.cairo (100%) rename tests/{src => }/nodes/linear_i32/input_1.cairo (100%) rename tests/{src => }/nodes/linear_i32/input_2.cairo (100%) rename tests/{src => }/nodes/linear_i32/output_0.cairo (100%) rename tests/{src => }/nodes/linear_i8.cairo (100%) rename tests/{src => }/nodes/linear_i8/input_0.cairo (100%) rename tests/{src => }/nodes/linear_i8/input_1.cairo (100%) rename tests/{src => }/nodes/linear_i8/input_2.cairo (100%) rename tests/{src => }/nodes/linear_i8/output_0.cairo (100%) rename tests/{src => }/nodes/linear_u32.cairo (100%) rename tests/{src => }/nodes/linear_u32/input_0.cairo (100%) rename tests/{src => }/nodes/linear_u32/input_1.cairo (100%) rename tests/{src => }/nodes/linear_u32/input_2.cairo (100%) rename tests/{src => }/nodes/linear_u32/output_0.cairo (100%) rename tests/{src => }/nodes/log_fp16x16.cairo (100%) rename tests/{src => }/nodes/log_fp16x16/input_0.cairo (100%) rename tests/{src => }/nodes/log_fp16x16/output_0.cairo (100%) rename tests/{src => }/nodes/log_fp8x23.cairo (100%) rename tests/{src => }/nodes/log_fp8x23/input_0.cairo (100%) rename tests/{src => }/nodes/log_fp8x23/output_0.cairo (100%) rename tests/{src => }/nodes/logsoftmax_fp16x16_axis_0.cairo (100%) rename tests/{src => }/nodes/logsoftmax_fp16x16_axis_0/input_0.cairo (100%) rename tests/{src => }/nodes/logsoftmax_fp16x16_axis_0/output_0.cairo (100%) rename tests/{src => }/nodes/logsoftmax_fp16x16_axis_1.cairo (100%) rename tests/{src => }/nodes/logsoftmax_fp16x16_axis_1/input_0.cairo (100%) rename tests/{src => }/nodes/logsoftmax_fp16x16_axis_1/output_0.cairo (100%) rename tests/{src => }/nodes/logsoftmax_fp8x23_axis_0.cairo (100%) rename tests/{src => }/nodes/logsoftmax_fp8x23_axis_0/input_0.cairo (100%) rename tests/{src => }/nodes/logsoftmax_fp8x23_axis_0/output_0.cairo (100%) rename tests/{src => }/nodes/logsoftmax_fp8x23_axis_1.cairo (100%) rename tests/{src => }/nodes/logsoftmax_fp8x23_axis_1/input_0.cairo (100%) rename tests/{src => }/nodes/logsoftmax_fp8x23_axis_1/output_0.cairo (100%) rename tests/{src => }/nodes/matmul_fp16x16_1d.cairo (100%) rename tests/{src => }/nodes/matmul_fp16x16_1d/input_0.cairo (100%) rename tests/{src => }/nodes/matmul_fp16x16_1d/input_1.cairo (100%) rename tests/{src => }/nodes/matmul_fp16x16_1d/output_0.cairo (100%) rename tests/{src => }/nodes/matmul_fp16x16_1x2.cairo (100%) rename tests/{src => }/nodes/matmul_fp16x16_1x2/input_0.cairo (100%) rename tests/{src => }/nodes/matmul_fp16x16_1x2/input_1.cairo (100%) rename tests/{src => }/nodes/matmul_fp16x16_1x2/output_0.cairo (100%) rename tests/{src => }/nodes/matmul_fp16x16_2x1.cairo (100%) rename tests/{src => }/nodes/matmul_fp16x16_2x1/input_0.cairo (100%) rename tests/{src => }/nodes/matmul_fp16x16_2x1/input_1.cairo (100%) rename tests/{src => }/nodes/matmul_fp16x16_2x1/output_0.cairo (100%) rename tests/{src => }/nodes/matmul_fp16x16_2x2.cairo (100%) rename tests/{src => }/nodes/matmul_fp16x16_2x2/input_0.cairo (100%) rename tests/{src => }/nodes/matmul_fp16x16_2x2/input_1.cairo (100%) rename tests/{src => }/nodes/matmul_fp16x16_2x2/output_0.cairo (100%) rename tests/{src => }/nodes/matmul_fp8x23_1d.cairo (100%) rename tests/{src => }/nodes/matmul_fp8x23_1d/input_0.cairo (100%) rename tests/{src => }/nodes/matmul_fp8x23_1d/input_1.cairo (100%) rename tests/{src => }/nodes/matmul_fp8x23_1d/output_0.cairo (100%) rename tests/{src => }/nodes/matmul_fp8x23_1x2.cairo (100%) rename tests/{src => }/nodes/matmul_fp8x23_1x2/input_0.cairo (100%) rename tests/{src => }/nodes/matmul_fp8x23_1x2/input_1.cairo (100%) rename tests/{src => }/nodes/matmul_fp8x23_1x2/output_0.cairo (100%) rename tests/{src => }/nodes/matmul_fp8x23_2x1.cairo (100%) rename tests/{src => }/nodes/matmul_fp8x23_2x1/input_0.cairo (100%) rename tests/{src => }/nodes/matmul_fp8x23_2x1/input_1.cairo (100%) rename tests/{src => }/nodes/matmul_fp8x23_2x1/output_0.cairo (100%) rename tests/{src => }/nodes/matmul_fp8x23_2x2.cairo (100%) rename tests/{src => }/nodes/matmul_fp8x23_2x2/input_0.cairo (100%) rename tests/{src => }/nodes/matmul_fp8x23_2x2/input_1.cairo (100%) rename tests/{src => }/nodes/matmul_fp8x23_2x2/output_0.cairo (100%) rename tests/{src => }/nodes/matmul_i32_1d.cairo (100%) rename tests/{src => }/nodes/matmul_i32_1d/input_0.cairo (100%) rename tests/{src => }/nodes/matmul_i32_1d/input_1.cairo (100%) rename tests/{src => }/nodes/matmul_i32_1d/output_0.cairo (100%) rename tests/{src => }/nodes/matmul_i32_1x2.cairo (100%) rename tests/{src => }/nodes/matmul_i32_1x2/input_0.cairo (100%) rename tests/{src => }/nodes/matmul_i32_1x2/input_1.cairo (100%) rename tests/{src => }/nodes/matmul_i32_1x2/output_0.cairo (100%) rename tests/{src => }/nodes/matmul_i32_2x1.cairo (100%) rename tests/{src => }/nodes/matmul_i32_2x1/input_0.cairo (100%) rename tests/{src => }/nodes/matmul_i32_2x1/input_1.cairo (100%) rename tests/{src => }/nodes/matmul_i32_2x1/output_0.cairo (100%) rename tests/{src => }/nodes/matmul_i32_2x2.cairo (100%) rename tests/{src => }/nodes/matmul_i32_2x2/input_0.cairo (100%) rename tests/{src => }/nodes/matmul_i32_2x2/input_1.cairo (100%) rename tests/{src => }/nodes/matmul_i32_2x2/output_0.cairo (100%) rename tests/{src => }/nodes/matmul_i8_1d.cairo (100%) rename tests/{src => }/nodes/matmul_i8_1d/input_0.cairo (100%) rename tests/{src => }/nodes/matmul_i8_1d/input_1.cairo (100%) rename tests/{src => }/nodes/matmul_i8_1d/output_0.cairo (100%) rename tests/{src => }/nodes/matmul_i8_1x2.cairo (100%) rename tests/{src => }/nodes/matmul_i8_1x2/input_0.cairo (100%) rename tests/{src => }/nodes/matmul_i8_1x2/input_1.cairo (100%) rename tests/{src => }/nodes/matmul_i8_1x2/output_0.cairo (100%) rename tests/{src => }/nodes/matmul_i8_2x1.cairo (100%) rename tests/{src => }/nodes/matmul_i8_2x1/input_0.cairo (100%) rename tests/{src => }/nodes/matmul_i8_2x1/input_1.cairo (100%) rename tests/{src => }/nodes/matmul_i8_2x1/output_0.cairo (100%) rename tests/{src => }/nodes/matmul_i8_2x2.cairo (100%) rename tests/{src => }/nodes/matmul_i8_2x2/input_0.cairo (100%) rename tests/{src => }/nodes/matmul_i8_2x2/input_1.cairo (100%) rename tests/{src => }/nodes/matmul_i8_2x2/output_0.cairo (100%) rename tests/{src => }/nodes/matmul_u32_1d.cairo (100%) rename tests/{src => }/nodes/matmul_u32_1d/input_0.cairo (100%) rename tests/{src => }/nodes/matmul_u32_1d/input_1.cairo (100%) rename tests/{src => }/nodes/matmul_u32_1d/output_0.cairo (100%) rename tests/{src => }/nodes/matmul_u32_1x2.cairo (100%) rename tests/{src => }/nodes/matmul_u32_1x2/input_0.cairo (100%) rename tests/{src => }/nodes/matmul_u32_1x2/input_1.cairo (100%) rename tests/{src => }/nodes/matmul_u32_1x2/output_0.cairo (100%) rename tests/{src => }/nodes/matmul_u32_2x1.cairo (100%) rename tests/{src => }/nodes/matmul_u32_2x1/input_0.cairo (100%) rename tests/{src => }/nodes/matmul_u32_2x1/input_1.cairo (100%) rename tests/{src => }/nodes/matmul_u32_2x1/output_0.cairo (100%) rename tests/{src => }/nodes/matmul_u32_2x2.cairo (100%) rename tests/{src => }/nodes/matmul_u32_2x2/input_0.cairo (100%) rename tests/{src => }/nodes/matmul_u32_2x2/input_1.cairo (100%) rename tests/{src => }/nodes/matmul_u32_2x2/output_0.cairo (100%) rename tests/{src => }/nodes/mul_fp16x16.cairo (100%) rename tests/{src => }/nodes/mul_fp16x16/input_0.cairo (100%) rename tests/{src => }/nodes/mul_fp16x16/input_1.cairo (100%) rename tests/{src => }/nodes/mul_fp16x16/output_0.cairo (100%) rename tests/{src => }/nodes/mul_fp16x16_broadcast.cairo (100%) rename tests/{src => }/nodes/mul_fp16x16_broadcast/input_0.cairo (100%) rename tests/{src => }/nodes/mul_fp16x16_broadcast/input_1.cairo (100%) rename tests/{src => }/nodes/mul_fp16x16_broadcast/output_0.cairo (100%) rename tests/{src => }/nodes/mul_fp8x23.cairo (100%) rename tests/{src => }/nodes/mul_fp8x23/input_0.cairo (100%) rename tests/{src => }/nodes/mul_fp8x23/input_1.cairo (100%) rename tests/{src => }/nodes/mul_fp8x23/output_0.cairo (100%) rename tests/{src => }/nodes/mul_fp8x23_broadcast.cairo (100%) rename tests/{src => }/nodes/mul_fp8x23_broadcast/input_0.cairo (100%) rename tests/{src => }/nodes/mul_fp8x23_broadcast/input_1.cairo (100%) rename tests/{src => }/nodes/mul_fp8x23_broadcast/output_0.cairo (100%) rename tests/{src => }/nodes/mul_i32.cairo (100%) rename tests/{src => }/nodes/mul_i32/input_0.cairo (100%) rename tests/{src => }/nodes/mul_i32/input_1.cairo (100%) rename tests/{src => }/nodes/mul_i32/output_0.cairo (100%) rename tests/{src => }/nodes/mul_i32_broadcast.cairo (100%) rename tests/{src => }/nodes/mul_i32_broadcast/input_0.cairo (100%) rename tests/{src => }/nodes/mul_i32_broadcast/input_1.cairo (100%) rename tests/{src => }/nodes/mul_i32_broadcast/output_0.cairo (100%) rename tests/{src => }/nodes/mul_i8.cairo (100%) rename tests/{src => }/nodes/mul_i8/input_0.cairo (100%) rename tests/{src => }/nodes/mul_i8/input_1.cairo (100%) rename tests/{src => }/nodes/mul_i8/output_0.cairo (100%) rename tests/{src => }/nodes/mul_i8_broadcast.cairo (100%) rename tests/{src => }/nodes/mul_i8_broadcast/input_0.cairo (100%) rename tests/{src => }/nodes/mul_i8_broadcast/input_1.cairo (100%) rename tests/{src => }/nodes/mul_i8_broadcast/output_0.cairo (100%) rename tests/{src => }/nodes/mul_u32.cairo (100%) rename tests/{src => }/nodes/mul_u32/input_0.cairo (100%) rename tests/{src => }/nodes/mul_u32/input_1.cairo (100%) rename tests/{src => }/nodes/mul_u32/output_0.cairo (100%) rename tests/{src => }/nodes/mul_u32_broadcast.cairo (100%) rename tests/{src => }/nodes/mul_u32_broadcast/input_0.cairo (100%) rename tests/{src => }/nodes/mul_u32_broadcast/input_1.cairo (100%) rename tests/{src => }/nodes/mul_u32_broadcast/output_0.cairo (100%) rename tests/{src => }/nodes/neg_fp16x16.cairo (100%) rename tests/{src => }/nodes/neg_fp16x16/input_0.cairo (100%) rename tests/{src => }/nodes/neg_fp16x16/output_0.cairo (100%) rename tests/{src => }/nodes/neg_fp8x23.cairo (100%) rename tests/{src => }/nodes/neg_fp8x23/input_0.cairo (100%) rename tests/{src => }/nodes/neg_fp8x23/output_0.cairo (100%) rename tests/{src => }/nodes/neg_i32.cairo (100%) rename tests/{src => }/nodes/neg_i32/input_0.cairo (100%) rename tests/{src => }/nodes/neg_i32/output_0.cairo (100%) rename tests/{src => }/nodes/neg_i8.cairo (100%) rename tests/{src => }/nodes/neg_i8/input_0.cairo (100%) rename tests/{src => }/nodes/neg_i8/output_0.cairo (100%) rename tests/{src => }/nodes/nonzero_fp16x16_2d.cairo (100%) rename tests/{src => }/nodes/nonzero_fp16x16_2d/input_0.cairo (100%) rename tests/{src => }/nodes/nonzero_fp16x16_2d/output_0.cairo (100%) rename tests/{src => }/nodes/nonzero_fp16x16_3d.cairo (100%) rename tests/{src => }/nodes/nonzero_fp16x16_3d/input_0.cairo (100%) rename tests/{src => }/nodes/nonzero_fp16x16_3d/output_0.cairo (100%) rename tests/{src => }/nodes/nonzero_fp8x23_2d.cairo (100%) rename tests/{src => }/nodes/nonzero_fp8x23_2d/input_0.cairo (100%) rename tests/{src => }/nodes/nonzero_fp8x23_2d/output_0.cairo (100%) rename tests/{src => }/nodes/nonzero_fp8x23_3d.cairo (100%) rename tests/{src => }/nodes/nonzero_fp8x23_3d/input_0.cairo (100%) rename tests/{src => }/nodes/nonzero_fp8x23_3d/output_0.cairo (100%) rename tests/{src => }/nodes/nonzero_i32_2d.cairo (100%) rename tests/{src => }/nodes/nonzero_i32_2d/input_0.cairo (100%) rename tests/{src => }/nodes/nonzero_i32_2d/output_0.cairo (100%) rename tests/{src => }/nodes/nonzero_i32_3d.cairo (100%) rename tests/{src => }/nodes/nonzero_i32_3d/input_0.cairo (100%) rename tests/{src => }/nodes/nonzero_i32_3d/output_0.cairo (100%) rename tests/{src => }/nodes/nonzero_i8_2d.cairo (100%) rename tests/{src => }/nodes/nonzero_i8_2d/input_0.cairo (100%) rename tests/{src => }/nodes/nonzero_i8_2d/output_0.cairo (100%) rename tests/{src => }/nodes/nonzero_i8_3d.cairo (100%) rename tests/{src => }/nodes/nonzero_i8_3d/input_0.cairo (100%) rename tests/{src => }/nodes/nonzero_i8_3d/output_0.cairo (100%) rename tests/{src => }/nodes/nonzero_u32_2d.cairo (100%) rename tests/{src => }/nodes/nonzero_u32_2d/input_0.cairo (100%) rename tests/{src => }/nodes/nonzero_u32_2d/output_0.cairo (100%) rename tests/{src => }/nodes/nonzero_u32_3d.cairo (100%) rename tests/{src => }/nodes/nonzero_u32_3d/input_0.cairo (100%) rename tests/{src => }/nodes/nonzero_u32_3d/output_0.cairo (100%) rename tests/{src => }/nodes/or_fp16x16.cairo (100%) rename tests/{src => }/nodes/or_fp16x16/input_0.cairo (100%) rename tests/{src => }/nodes/or_fp16x16/input_1.cairo (100%) rename tests/{src => }/nodes/or_fp16x16/output_0.cairo (100%) rename tests/{src => }/nodes/or_fp16x16_broadcast.cairo (100%) rename tests/{src => }/nodes/or_fp16x16_broadcast/input_0.cairo (100%) rename tests/{src => }/nodes/or_fp16x16_broadcast/input_1.cairo (100%) rename tests/{src => }/nodes/or_fp16x16_broadcast/output_0.cairo (100%) rename tests/{src => }/nodes/or_fp8x23.cairo (100%) rename tests/{src => }/nodes/or_fp8x23/input_0.cairo (100%) rename tests/{src => }/nodes/or_fp8x23/input_1.cairo (100%) rename tests/{src => }/nodes/or_fp8x23/output_0.cairo (100%) rename tests/{src => }/nodes/or_fp8x23_broadcast.cairo (100%) rename tests/{src => }/nodes/or_fp8x23_broadcast/input_0.cairo (100%) rename tests/{src => }/nodes/or_fp8x23_broadcast/input_1.cairo (100%) rename tests/{src => }/nodes/or_fp8x23_broadcast/output_0.cairo (100%) rename tests/{src => }/nodes/or_i32.cairo (100%) rename tests/{src => }/nodes/or_i32/input_0.cairo (100%) rename tests/{src => }/nodes/or_i32/input_1.cairo (100%) rename tests/{src => }/nodes/or_i32/output_0.cairo (100%) rename tests/{src => }/nodes/or_i32_broadcast.cairo (100%) rename tests/{src => }/nodes/or_i32_broadcast/input_0.cairo (100%) rename tests/{src => }/nodes/or_i32_broadcast/input_1.cairo (100%) rename tests/{src => }/nodes/or_i32_broadcast/output_0.cairo (100%) rename tests/{src => }/nodes/or_i8.cairo (100%) rename tests/{src => }/nodes/or_i8/input_0.cairo (100%) rename tests/{src => }/nodes/or_i8/input_1.cairo (100%) rename tests/{src => }/nodes/or_i8/output_0.cairo (100%) rename tests/{src => }/nodes/or_i8_broadcast.cairo (100%) rename tests/{src => }/nodes/or_i8_broadcast/input_0.cairo (100%) rename tests/{src => }/nodes/or_i8_broadcast/input_1.cairo (100%) rename tests/{src => }/nodes/or_i8_broadcast/output_0.cairo (100%) rename tests/{src => }/nodes/or_u32.cairo (100%) rename tests/{src => }/nodes/or_u32/input_0.cairo (100%) rename tests/{src => }/nodes/or_u32/input_1.cairo (100%) rename tests/{src => }/nodes/or_u32/output_0.cairo (100%) rename tests/{src => }/nodes/or_u32_broadcast.cairo (100%) rename tests/{src => }/nodes/or_u32_broadcast/input_0.cairo (100%) rename tests/{src => }/nodes/or_u32_broadcast/input_1.cairo (100%) rename tests/{src => }/nodes/or_u32_broadcast/output_0.cairo (100%) rename tests/{src => }/nodes/reduce_sum_fp16x16_1D.cairo (100%) rename tests/{src => }/nodes/reduce_sum_fp16x16_1D/input_0.cairo (100%) rename tests/{src => }/nodes/reduce_sum_fp16x16_1D/output_0.cairo (100%) rename tests/{src => }/nodes/reduce_sum_fp16x16_2D_axis_1.cairo (100%) rename tests/{src => }/nodes/reduce_sum_fp16x16_2D_axis_1/input_0.cairo (100%) rename tests/{src => }/nodes/reduce_sum_fp16x16_2D_axis_1/output_0.cairo (100%) rename tests/{src => }/nodes/reduce_sum_fp16x16_2D_default.cairo (100%) rename tests/{src => }/nodes/reduce_sum_fp16x16_2D_default/input_0.cairo (100%) rename tests/{src => }/nodes/reduce_sum_fp16x16_2D_default/output_0.cairo (100%) rename tests/{src => }/nodes/reduce_sum_fp16x16_2D_keepdims.cairo (100%) rename tests/{src => }/nodes/reduce_sum_fp16x16_2D_keepdims/input_0.cairo (100%) rename tests/{src => }/nodes/reduce_sum_fp16x16_2D_keepdims/output_0.cairo (100%) rename tests/{src => }/nodes/reduce_sum_fp8x23_1D.cairo (100%) rename tests/{src => }/nodes/reduce_sum_fp8x23_1D/input_0.cairo (100%) rename tests/{src => }/nodes/reduce_sum_fp8x23_1D/output_0.cairo (100%) rename tests/{src => }/nodes/reduce_sum_fp8x23_2D_axis_1.cairo (100%) rename tests/{src => }/nodes/reduce_sum_fp8x23_2D_axis_1/input_0.cairo (100%) rename tests/{src => }/nodes/reduce_sum_fp8x23_2D_axis_1/output_0.cairo (100%) rename tests/{src => }/nodes/reduce_sum_fp8x23_2D_default.cairo (100%) rename tests/{src => }/nodes/reduce_sum_fp8x23_2D_default/input_0.cairo (100%) rename tests/{src => }/nodes/reduce_sum_fp8x23_2D_default/output_0.cairo (100%) rename tests/{src => }/nodes/reduce_sum_fp8x23_2D_keepdims.cairo (100%) rename tests/{src => }/nodes/reduce_sum_fp8x23_2D_keepdims/input_0.cairo (100%) rename tests/{src => }/nodes/reduce_sum_fp8x23_2D_keepdims/output_0.cairo (100%) rename tests/{src => }/nodes/reduce_sum_i32_1D.cairo (100%) rename tests/{src => }/nodes/reduce_sum_i32_1D/input_0.cairo (100%) rename tests/{src => }/nodes/reduce_sum_i32_1D/output_0.cairo (100%) rename tests/{src => }/nodes/reduce_sum_i32_2D_axis_1.cairo (100%) rename tests/{src => }/nodes/reduce_sum_i32_2D_axis_1/input_0.cairo (100%) rename tests/{src => }/nodes/reduce_sum_i32_2D_axis_1/output_0.cairo (100%) rename tests/{src => }/nodes/reduce_sum_i32_2D_default.cairo (100%) rename tests/{src => }/nodes/reduce_sum_i32_2D_default/input_0.cairo (100%) rename tests/{src => }/nodes/reduce_sum_i32_2D_default/output_0.cairo (100%) rename tests/{src => }/nodes/reduce_sum_i32_2D_keepdims.cairo (100%) rename tests/{src => }/nodes/reduce_sum_i32_2D_keepdims/input_0.cairo (100%) rename tests/{src => }/nodes/reduce_sum_i32_2D_keepdims/output_0.cairo (100%) rename tests/{src => }/nodes/reduce_sum_i8_1D.cairo (100%) rename tests/{src => }/nodes/reduce_sum_i8_1D/input_0.cairo (100%) rename tests/{src => }/nodes/reduce_sum_i8_1D/output_0.cairo (100%) rename tests/{src => }/nodes/reduce_sum_i8_2D_axis_1.cairo (100%) rename tests/{src => }/nodes/reduce_sum_i8_2D_axis_1/input_0.cairo (100%) rename tests/{src => }/nodes/reduce_sum_i8_2D_axis_1/output_0.cairo (100%) rename tests/{src => }/nodes/reduce_sum_i8_2D_default.cairo (100%) rename tests/{src => }/nodes/reduce_sum_i8_2D_default/input_0.cairo (100%) rename tests/{src => }/nodes/reduce_sum_i8_2D_default/output_0.cairo (100%) rename tests/{src => }/nodes/reduce_sum_i8_2D_keepdims.cairo (100%) rename tests/{src => }/nodes/reduce_sum_i8_2D_keepdims/input_0.cairo (100%) rename tests/{src => }/nodes/reduce_sum_i8_2D_keepdims/output_0.cairo (100%) rename tests/{src => }/nodes/reduce_sum_u32_1D.cairo (100%) rename tests/{src => }/nodes/reduce_sum_u32_1D/input_0.cairo (100%) rename tests/{src => }/nodes/reduce_sum_u32_1D/output_0.cairo (100%) rename tests/{src => }/nodes/reduce_sum_u32_2D_axis_1.cairo (100%) rename tests/{src => }/nodes/reduce_sum_u32_2D_axis_1/input_0.cairo (100%) rename tests/{src => }/nodes/reduce_sum_u32_2D_axis_1/output_0.cairo (100%) rename tests/{src => }/nodes/reduce_sum_u32_2D_default.cairo (100%) rename tests/{src => }/nodes/reduce_sum_u32_2D_default/input_0.cairo (100%) rename tests/{src => }/nodes/reduce_sum_u32_2D_default/output_0.cairo (100%) rename tests/{src => }/nodes/reduce_sum_u32_2D_keepdims.cairo (100%) rename tests/{src => }/nodes/reduce_sum_u32_2D_keepdims/input_0.cairo (100%) rename tests/{src => }/nodes/reduce_sum_u32_2D_keepdims/output_0.cairo (100%) rename tests/{src => }/nodes/relu_fp16x16.cairo (100%) rename tests/{src => }/nodes/relu_fp16x16/input_0.cairo (100%) rename tests/{src => }/nodes/relu_fp16x16/output_0.cairo (100%) rename tests/{src => }/nodes/relu_fp8x23.cairo (100%) rename tests/{src => }/nodes/relu_fp8x23/input_0.cairo (100%) rename tests/{src => }/nodes/relu_fp8x23/output_0.cairo (100%) rename tests/{src => }/nodes/relu_i32.cairo (100%) rename tests/{src => }/nodes/relu_i32/input_0.cairo (100%) rename tests/{src => }/nodes/relu_i32/output_0.cairo (100%) rename tests/{src => }/nodes/relu_i8.cairo (100%) rename tests/{src => }/nodes/relu_i8/input_0.cairo (100%) rename tests/{src => }/nodes/relu_i8/output_0.cairo (100%) rename tests/{src => }/nodes/sigmoid_fp16x16.cairo (100%) rename tests/{src => }/nodes/sigmoid_fp16x16/input_0.cairo (100%) rename tests/{src => }/nodes/sigmoid_fp16x16/output_0.cairo (100%) rename tests/{src => }/nodes/sigmoid_fp8x23.cairo (100%) rename tests/{src => }/nodes/sigmoid_fp8x23/input_0.cairo (100%) rename tests/{src => }/nodes/sigmoid_fp8x23/output_0.cairo (100%) rename tests/{src => }/nodes/sign_fP16x16.cairo (100%) rename tests/{src => }/nodes/sign_fP16x16/input_0.cairo (100%) rename tests/{src => }/nodes/sign_fP16x16/output_0.cairo (100%) rename tests/{src => }/nodes/sign_fP8x23.cairo (100%) rename tests/{src => }/nodes/sign_fP8x23/input_0.cairo (100%) rename tests/{src => }/nodes/sign_fP8x23/output_0.cairo (100%) rename tests/{src => }/nodes/sign_fail.cairo (100%) rename tests/{src => }/nodes/sign_fail/input_0.cairo (100%) rename tests/{src => }/nodes/sign_fail/output_0.cairo (100%) rename tests/{src => }/nodes/sign_i32.cairo (100%) rename tests/{src => }/nodes/sign_i32/input_0.cairo (100%) rename tests/{src => }/nodes/sign_i32/output_0.cairo (100%) rename tests/{src => }/nodes/sign_i8.cairo (100%) rename tests/{src => }/nodes/sign_i8/input_0.cairo (100%) rename tests/{src => }/nodes/sign_i8/output_0.cairo (100%) rename tests/{src => }/nodes/sin_fp16x16.cairo (100%) rename tests/{src => }/nodes/sin_fp16x16/input_0.cairo (100%) rename tests/{src => }/nodes/sin_fp16x16/output_0.cairo (100%) rename tests/{src => }/nodes/sin_fp8x23.cairo (100%) rename tests/{src => }/nodes/sin_fp8x23/input_0.cairo (100%) rename tests/{src => }/nodes/sin_fp8x23/output_0.cairo (100%) rename tests/{src => }/nodes/sinh_fp16x16.cairo (100%) rename tests/{src => }/nodes/sinh_fp16x16/input_0.cairo (100%) rename tests/{src => }/nodes/sinh_fp16x16/output_0.cairo (100%) rename tests/{src => }/nodes/sinh_fp8x23.cairo (100%) rename tests/{src => }/nodes/sinh_fp8x23/input_0.cairo (100%) rename tests/{src => }/nodes/sinh_fp8x23/output_0.cairo (100%) rename tests/{src => }/nodes/slice_fp16x16_2d.cairo (100%) rename tests/{src => }/nodes/slice_fp16x16_2d/input_0.cairo (100%) rename tests/{src => }/nodes/slice_fp16x16_2d/output_0.cairo (100%) rename tests/{src => }/nodes/slice_fp16x16_3d.cairo (100%) rename tests/{src => }/nodes/slice_fp16x16_3d/input_0.cairo (100%) rename tests/{src => }/nodes/slice_fp16x16_3d/output_0.cairo (100%) rename tests/{src => }/nodes/slice_fp8x23_2d.cairo (100%) rename tests/{src => }/nodes/slice_fp8x23_2d/input_0.cairo (100%) rename tests/{src => }/nodes/slice_fp8x23_2d/output_0.cairo (100%) rename tests/{src => }/nodes/slice_fp8x23_3d.cairo (100%) rename tests/{src => }/nodes/slice_fp8x23_3d/input_0.cairo (100%) rename tests/{src => }/nodes/slice_fp8x23_3d/output_0.cairo (100%) rename tests/{src => }/nodes/slice_i32_2d.cairo (100%) rename tests/{src => }/nodes/slice_i32_2d/input_0.cairo (100%) rename tests/{src => }/nodes/slice_i32_2d/output_0.cairo (100%) rename tests/{src => }/nodes/slice_i32_3d.cairo (100%) rename tests/{src => }/nodes/slice_i32_3d/input_0.cairo (100%) rename tests/{src => }/nodes/slice_i32_3d/output_0.cairo (100%) rename tests/{src => }/nodes/slice_i8_2d.cairo (100%) rename tests/{src => }/nodes/slice_i8_2d/input_0.cairo (100%) rename tests/{src => }/nodes/slice_i8_2d/output_0.cairo (100%) rename tests/{src => }/nodes/slice_i8_3d.cairo (100%) rename tests/{src => }/nodes/slice_i8_3d/input_0.cairo (100%) rename tests/{src => }/nodes/slice_i8_3d/output_0.cairo (100%) rename tests/{src => }/nodes/slice_u32_2d.cairo (100%) rename tests/{src => }/nodes/slice_u32_2d/input_0.cairo (100%) rename tests/{src => }/nodes/slice_u32_2d/output_0.cairo (100%) rename tests/{src => }/nodes/slice_u32_3d.cairo (100%) rename tests/{src => }/nodes/slice_u32_3d/input_0.cairo (100%) rename tests/{src => }/nodes/slice_u32_3d/output_0.cairo (100%) rename tests/{src => }/nodes/softmax_fp16x16.cairo (100%) rename tests/{src => }/nodes/softmax_fp16x16/input_0.cairo (100%) rename tests/{src => }/nodes/softmax_fp16x16/output_0.cairo (100%) rename tests/{src => }/nodes/softmax_fp8x23.cairo (100%) rename tests/{src => }/nodes/softmax_fp8x23/input_0.cairo (100%) rename tests/{src => }/nodes/softmax_fp8x23/output_0.cairo (100%) rename tests/{src => }/nodes/softplus_fp16x16.cairo (100%) rename tests/{src => }/nodes/softplus_fp16x16/input_0.cairo (100%) rename tests/{src => }/nodes/softplus_fp16x16/output_0.cairo (100%) rename tests/{src => }/nodes/softplus_fp8x23.cairo (100%) rename tests/{src => }/nodes/softplus_fp8x23/input_0.cairo (100%) rename tests/{src => }/nodes/softplus_fp8x23/output_0.cairo (100%) rename tests/{src => }/nodes/softsign_fp16x16.cairo (100%) rename tests/{src => }/nodes/softsign_fp16x16/input_0.cairo (100%) rename tests/{src => }/nodes/softsign_fp16x16/output_0.cairo (100%) rename tests/{src => }/nodes/softsign_fp8x23.cairo (100%) rename tests/{src => }/nodes/softsign_fp8x23/input_0.cairo (100%) rename tests/{src => }/nodes/softsign_fp8x23/output_0.cairo (100%) rename tests/{src => }/nodes/sqrt_fp16x16.cairo (100%) rename tests/{src => }/nodes/sqrt_fp16x16/input_0.cairo (100%) rename tests/{src => }/nodes/sqrt_fp16x16/output_0.cairo (100%) rename tests/{src => }/nodes/sqrt_fp8x23.cairo (100%) rename tests/{src => }/nodes/sqrt_fp8x23/input_0.cairo (100%) rename tests/{src => }/nodes/sqrt_fp8x23/output_0.cairo (100%) rename tests/{src => }/nodes/squeeze_fP16x16.cairo (100%) rename tests/{src => }/nodes/squeeze_fP16x16/input_0.cairo (100%) rename tests/{src => }/nodes/squeeze_fP16x16/output_0.cairo (100%) rename tests/{src => }/nodes/squeeze_fP8x23.cairo (100%) rename tests/{src => }/nodes/squeeze_fP8x23/input_0.cairo (100%) rename tests/{src => }/nodes/squeeze_fP8x23/output_0.cairo (100%) rename tests/{src => }/nodes/squeeze_i32.cairo (100%) rename tests/{src => }/nodes/squeeze_i32/input_0.cairo (100%) rename tests/{src => }/nodes/squeeze_i32/output_0.cairo (100%) rename tests/{src => }/nodes/squeeze_i8.cairo (100%) rename tests/{src => }/nodes/squeeze_i8/input_0.cairo (100%) rename tests/{src => }/nodes/squeeze_i8/output_0.cairo (100%) rename tests/{src => }/nodes/squeeze_u32.cairo (100%) rename tests/{src => }/nodes/squeeze_u32/input_0.cairo (100%) rename tests/{src => }/nodes/squeeze_u32/output_0.cairo (100%) rename tests/{src => }/nodes/squeeze_u32/output_negatives.cairo (100%) rename tests/{src => }/nodes/squeeze_u32/output_non_axes.cairo (100%) rename tests/{src => }/nodes/sub_fp16x16.cairo (100%) rename tests/{src => }/nodes/sub_fp16x16/input_0.cairo (100%) rename tests/{src => }/nodes/sub_fp16x16/input_1.cairo (100%) rename tests/{src => }/nodes/sub_fp16x16/output_0.cairo (100%) rename tests/{src => }/nodes/sub_fp16x16_broadcast.cairo (100%) rename tests/{src => }/nodes/sub_fp16x16_broadcast/input_0.cairo (100%) rename tests/{src => }/nodes/sub_fp16x16_broadcast/input_1.cairo (100%) rename tests/{src => }/nodes/sub_fp16x16_broadcast/output_0.cairo (100%) rename tests/{src => }/nodes/sub_fp8x23.cairo (100%) rename tests/{src => }/nodes/sub_fp8x23/input_0.cairo (100%) rename tests/{src => }/nodes/sub_fp8x23/input_1.cairo (100%) rename tests/{src => }/nodes/sub_fp8x23/output_0.cairo (100%) rename tests/{src => }/nodes/sub_fp8x23_broadcast.cairo (100%) rename tests/{src => }/nodes/sub_fp8x23_broadcast/input_0.cairo (100%) rename tests/{src => }/nodes/sub_fp8x23_broadcast/input_1.cairo (100%) rename tests/{src => }/nodes/sub_fp8x23_broadcast/output_0.cairo (100%) rename tests/{src => }/nodes/sub_i32.cairo (100%) rename tests/{src => }/nodes/sub_i32/input_0.cairo (100%) rename tests/{src => }/nodes/sub_i32/input_1.cairo (100%) rename tests/{src => }/nodes/sub_i32/output_0.cairo (100%) rename tests/{src => }/nodes/sub_i32_broadcast.cairo (100%) rename tests/{src => }/nodes/sub_i32_broadcast/input_0.cairo (100%) rename tests/{src => }/nodes/sub_i32_broadcast/input_1.cairo (100%) rename tests/{src => }/nodes/sub_i32_broadcast/output_0.cairo (100%) rename tests/{src => }/nodes/sub_i8.cairo (100%) rename tests/{src => }/nodes/sub_i8/input_0.cairo (100%) rename tests/{src => }/nodes/sub_i8/input_1.cairo (100%) rename tests/{src => }/nodes/sub_i8/output_0.cairo (100%) rename tests/{src => }/nodes/sub_i8_broadcast.cairo (100%) rename tests/{src => }/nodes/sub_i8_broadcast/input_0.cairo (100%) rename tests/{src => }/nodes/sub_i8_broadcast/input_1.cairo (100%) rename tests/{src => }/nodes/sub_i8_broadcast/output_0.cairo (100%) rename tests/{src => }/nodes/sub_u32.cairo (100%) rename tests/{src => }/nodes/sub_u32/input_0.cairo (100%) rename tests/{src => }/nodes/sub_u32/input_1.cairo (100%) rename tests/{src => }/nodes/sub_u32/output_0.cairo (100%) rename tests/{src => }/nodes/sub_u32_broadcast.cairo (100%) rename tests/{src => }/nodes/sub_u32_broadcast/input_0.cairo (100%) rename tests/{src => }/nodes/sub_u32_broadcast/input_1.cairo (100%) rename tests/{src => }/nodes/sub_u32_broadcast/output_0.cairo (100%) rename tests/{src => }/nodes/tanh_fp16x16.cairo (100%) rename tests/{src => }/nodes/tanh_fp16x16/input_0.cairo (100%) rename tests/{src => }/nodes/tanh_fp16x16/output_0.cairo (100%) rename tests/{src => }/nodes/tanh_fp8x23.cairo (100%) rename tests/{src => }/nodes/tanh_fp8x23/input_0.cairo (100%) rename tests/{src => }/nodes/tanh_fp8x23/output_0.cairo (100%) rename tests/{src => }/nodes/thresholded_relu_fp16x16.cairo (100%) rename tests/{src => }/nodes/thresholded_relu_fp16x16/input_0.cairo (100%) rename tests/{src => }/nodes/thresholded_relu_fp16x16/output_0.cairo (100%) rename tests/{src => }/nodes/thresholded_relu_fp8x23.cairo (100%) rename tests/{src => }/nodes/thresholded_relu_fp8x23/input_0.cairo (100%) rename tests/{src => }/nodes/thresholded_relu_fp8x23/output_0.cairo (100%) rename tests/{src => }/nodes/transpose_fp16x16_2d.cairo (100%) rename tests/{src => }/nodes/transpose_fp16x16_2d/input_0.cairo (100%) rename tests/{src => }/nodes/transpose_fp16x16_2d/output_0.cairo (100%) rename tests/{src => }/nodes/transpose_fp16x16_3d.cairo (100%) rename tests/{src => }/nodes/transpose_fp16x16_3d/input_0.cairo (100%) rename tests/{src => }/nodes/transpose_fp16x16_3d/output_0.cairo (100%) rename tests/{src => }/nodes/transpose_fp8x23_2d.cairo (100%) rename tests/{src => }/nodes/transpose_fp8x23_2d/input_0.cairo (100%) rename tests/{src => }/nodes/transpose_fp8x23_2d/output_0.cairo (100%) rename tests/{src => }/nodes/transpose_fp8x23_3d.cairo (100%) rename tests/{src => }/nodes/transpose_fp8x23_3d/input_0.cairo (100%) rename tests/{src => }/nodes/transpose_fp8x23_3d/output_0.cairo (100%) rename tests/{src => }/nodes/transpose_i32_2d.cairo (100%) rename tests/{src => }/nodes/transpose_i32_2d/input_0.cairo (100%) rename tests/{src => }/nodes/transpose_i32_2d/output_0.cairo (100%) rename tests/{src => }/nodes/transpose_i32_3d.cairo (100%) rename tests/{src => }/nodes/transpose_i32_3d/input_0.cairo (100%) rename tests/{src => }/nodes/transpose_i32_3d/output_0.cairo (100%) rename tests/{src => }/nodes/transpose_i8_2d.cairo (100%) rename tests/{src => }/nodes/transpose_i8_2d/input_0.cairo (100%) rename tests/{src => }/nodes/transpose_i8_2d/output_0.cairo (100%) rename tests/{src => }/nodes/transpose_i8_3d.cairo (100%) rename tests/{src => }/nodes/transpose_i8_3d/input_0.cairo (100%) rename tests/{src => }/nodes/transpose_i8_3d/output_0.cairo (100%) rename tests/{src => }/nodes/transpose_u32_2d.cairo (100%) rename tests/{src => }/nodes/transpose_u32_2d/input_0.cairo (100%) rename tests/{src => }/nodes/transpose_u32_2d/output_0.cairo (100%) rename tests/{src => }/nodes/transpose_u32_3d.cairo (100%) rename tests/{src => }/nodes/transpose_u32_3d/input_0.cairo (100%) rename tests/{src => }/nodes/transpose_u32_3d/output_0.cairo (100%) rename tests/{src => }/nodes/unsqueeze_fp16x16_2d.cairo (100%) rename tests/{src => }/nodes/unsqueeze_fp16x16_2d/input_0.cairo (100%) rename tests/{src => }/nodes/unsqueeze_fp16x16_2d/output_0.cairo (100%) rename tests/{src => }/nodes/unsqueeze_fp16x16_3d.cairo (100%) rename tests/{src => }/nodes/unsqueeze_fp16x16_3d/input_0.cairo (100%) rename tests/{src => }/nodes/unsqueeze_fp16x16_3d/output_0.cairo (100%) rename tests/{src => }/nodes/unsqueeze_fp8x23_2d.cairo (100%) rename tests/{src => }/nodes/unsqueeze_fp8x23_2d/input_0.cairo (100%) rename tests/{src => }/nodes/unsqueeze_fp8x23_2d/output_0.cairo (100%) rename tests/{src => }/nodes/unsqueeze_fp8x23_3d.cairo (100%) rename tests/{src => }/nodes/unsqueeze_fp8x23_3d/input_0.cairo (100%) rename tests/{src => }/nodes/unsqueeze_fp8x23_3d/output_0.cairo (100%) rename tests/{src => }/nodes/unsqueeze_i32_2d.cairo (100%) rename tests/{src => }/nodes/unsqueeze_i32_2d/input_0.cairo (100%) rename tests/{src => }/nodes/unsqueeze_i32_2d/output_0.cairo (100%) rename tests/{src => }/nodes/unsqueeze_i32_3d.cairo (100%) rename tests/{src => }/nodes/unsqueeze_i32_3d/input_0.cairo (100%) rename tests/{src => }/nodes/unsqueeze_i32_3d/output_0.cairo (100%) rename tests/{src => }/nodes/unsqueeze_i8_2d.cairo (100%) rename tests/{src => }/nodes/unsqueeze_i8_2d/input_0.cairo (100%) rename tests/{src => }/nodes/unsqueeze_i8_2d/output_0.cairo (100%) rename tests/{src => }/nodes/unsqueeze_i8_3d.cairo (100%) rename tests/{src => }/nodes/unsqueeze_i8_3d/input_0.cairo (100%) rename tests/{src => }/nodes/unsqueeze_i8_3d/output_0.cairo (100%) rename tests/{src => }/nodes/unsqueeze_u32_2d.cairo (100%) rename tests/{src => }/nodes/unsqueeze_u32_2d/input_0.cairo (100%) rename tests/{src => }/nodes/unsqueeze_u32_2d/output_0.cairo (100%) rename tests/{src => }/nodes/unsqueeze_u32_3d.cairo (100%) rename tests/{src => }/nodes/unsqueeze_u32_3d/input_0.cairo (100%) rename tests/{src => }/nodes/unsqueeze_u32_3d/output_0.cairo (100%) rename tests/{src => }/nodes/xor_fp16x16.cairo (100%) rename tests/{src => }/nodes/xor_fp16x16/input_0.cairo (100%) rename tests/{src => }/nodes/xor_fp16x16/input_1.cairo (100%) rename tests/{src => }/nodes/xor_fp16x16/output_0.cairo (100%) rename tests/{src => }/nodes/xor_fp16x16_broadcast.cairo (100%) rename tests/{src => }/nodes/xor_fp16x16_broadcast/input_0.cairo (100%) rename tests/{src => }/nodes/xor_fp16x16_broadcast/input_1.cairo (100%) rename tests/{src => }/nodes/xor_fp16x16_broadcast/output_0.cairo (100%) rename tests/{src => }/nodes/xor_fp8x23.cairo (100%) rename tests/{src => }/nodes/xor_fp8x23/input_0.cairo (100%) rename tests/{src => }/nodes/xor_fp8x23/input_1.cairo (100%) rename tests/{src => }/nodes/xor_fp8x23/output_0.cairo (100%) rename tests/{src => }/nodes/xor_fp8x23_broadcast.cairo (100%) rename tests/{src => }/nodes/xor_fp8x23_broadcast/input_0.cairo (100%) rename tests/{src => }/nodes/xor_fp8x23_broadcast/input_1.cairo (100%) rename tests/{src => }/nodes/xor_fp8x23_broadcast/output_0.cairo (100%) rename tests/{src => }/nodes/xor_i32.cairo (100%) rename tests/{src => }/nodes/xor_i32/input_0.cairo (100%) rename tests/{src => }/nodes/xor_i32/input_1.cairo (100%) rename tests/{src => }/nodes/xor_i32/output_0.cairo (100%) rename tests/{src => }/nodes/xor_i32_broadcast.cairo (100%) rename tests/{src => }/nodes/xor_i32_broadcast/input_0.cairo (100%) rename tests/{src => }/nodes/xor_i32_broadcast/input_1.cairo (100%) rename tests/{src => }/nodes/xor_i32_broadcast/output_0.cairo (100%) rename tests/{src => }/nodes/xor_i8.cairo (100%) rename tests/{src => }/nodes/xor_i8/input_0.cairo (100%) rename tests/{src => }/nodes/xor_i8/input_1.cairo (100%) rename tests/{src => }/nodes/xor_i8/output_0.cairo (100%) rename tests/{src => }/nodes/xor_i8_broadcast.cairo (100%) rename tests/{src => }/nodes/xor_i8_broadcast/input_0.cairo (100%) rename tests/{src => }/nodes/xor_i8_broadcast/input_1.cairo (100%) rename tests/{src => }/nodes/xor_i8_broadcast/output_0.cairo (100%) rename tests/{src => }/nodes/xor_u32.cairo (100%) rename tests/{src => }/nodes/xor_u32/input_0.cairo (100%) rename tests/{src => }/nodes/xor_u32/input_1.cairo (100%) rename tests/{src => }/nodes/xor_u32/output_0.cairo (100%) rename tests/{src => }/nodes/xor_u32_broadcast.cairo (100%) rename tests/{src => }/nodes/xor_u32_broadcast/input_0.cairo (100%) rename tests/{src => }/nodes/xor_u32_broadcast/input_1.cairo (100%) rename tests/{src => }/nodes/xor_u32_broadcast/output_0.cairo (100%) rename tests/{src => }/numbers.cairo (100%) rename tests/{src => }/numbers/signed_integer_test.cairo (100%) rename tests/{src => }/operators.cairo (100%) rename tests/{src => }/operators/tensor/math.cairo (100%) rename tests/{src => }/operators/transpose_test.cairo (100%) rename tests/{src => }/performance.cairo (100%) rename tests/{src => }/performance/dequantize_linear_test.cairo (100%) rename tests/{src => }/performance/dequantize_linear_test/dequantize_linear_fp_test.cairo (100%) rename tests/{src => }/performance/dequantize_linear_test/dequantize_linear_fp_test/fp_i8_test.cairo (100%) rename tests/{src => }/performance/dequantize_linear_test/dequantize_linear_i32_test.cairo (100%) rename tests/{src => }/performance/quantize_linear_test.cairo (100%) rename tests/{src => }/performance/quantize_linear_test/quantize_linear_fp_test.cairo (100%) rename tests/{src => }/performance/quantize_linear_test/quantize_linear_fp_test/fp_i8_test.cairo (100%) rename tests/{src => }/performance/quantize_linear_test/quantize_linear_i32_test.cairo (100%) delete mode 100644 tests/src/lib.cairo rename tests/{src => }/tensor_core.cairo (100%) rename tests/{src => }/tensor_core/at.cairo (100%) rename tests/{src => }/tensor_core/at/at_fp_test.cairo (100%) rename tests/{src => }/tensor_core/at/at_fp_test/at_fp16x16_test.cairo (89%) rename tests/{src => }/tensor_core/at/at_fp_test/at_fp8x23_test.cairo (89%) rename tests/{src => }/tensor_core/at/at_i32_test.cairo (88%) rename tests/{src => }/tensor_core/at/at_u32_test.cairo (88%) rename tests/{src => }/tensor_core/flatten.cairo (100%) rename tests/{src => }/tensor_core/flatten/flatten_fp_test.cairo (100%) rename tests/{src => }/tensor_core/flatten/flatten_fp_test/flatten_fp16x16_test.cairo (90%) rename tests/{src => }/tensor_core/flatten/flatten_fp_test/flatten_fp8x23_test.cairo (90%) rename tests/{src => }/tensor_core/flatten/flatten_i32_test.cairo (92%) rename tests/{src => }/tensor_core/flatten/flatten_u32_test.cairo (92%) rename tests/{src => }/tensor_core/max.cairo (100%) rename tests/{src => }/tensor_core/max/max_fp_test.cairo (100%) rename tests/{src => }/tensor_core/max/max_fp_test/max_fp16x16_test.cairo (87%) rename tests/{src => }/tensor_core/max/max_fp_test/max_fp8x23_test.cairo (87%) rename tests/{src => }/tensor_core/max/max_i32_test.cairo (84%) rename tests/{src => }/tensor_core/max/max_u32_test.cairo (84%) rename tests/{src => }/tensor_core/min.cairo (100%) rename tests/{src => }/tensor_core/min/min_fp_test.cairo (100%) rename tests/{src => }/tensor_core/min/min_fp_test/min_fp16x16_test.cairo (86%) rename tests/{src => }/tensor_core/min/min_fp_test/min_fp8x23_test.cairo (86%) rename tests/{src => }/tensor_core/min/min_i32_test.cairo (84%) rename tests/{src => }/tensor_core/min/min_u32_test.cairo (84%) rename tests/{src => }/tensor_core/onehot.cairo (100%) rename tests/{src => }/tensor_core/onehot/onehot_fp_test.cairo (100%) rename tests/{src => }/tensor_core/onehot/onehot_fp_test/onehot_fp16x16_test.cairo (99%) rename tests/{src => }/tensor_core/onehot/onehot_fp_test/onehot_fp8x23_test.cairo (99%) rename tests/{src => }/tensor_core/ravel_index.cairo (100%) rename tests/{src => }/tensor_core/stride.cairo (100%) rename tests/{src => }/tensor_core/stride/stride_fp_test.cairo (100%) rename tests/{src => }/tensor_core/stride/stride_fp_test/stride_fp16x16_test.cairo (86%) rename tests/{src => }/tensor_core/stride/stride_fp_test/stride_fp8x23_test.cairo (86%) rename tests/{src => }/tensor_core/stride/stride_i32_test.cairo (88%) rename tests/{src => }/tensor_core/stride/stride_u32_test.cairo (88%) rename tests/{src => }/tensor_core/unravel_index.cairo (100%) diff --git a/Scarb.lock b/Scarb.lock new file mode 100644 index 000000000..85e5484e6 --- /dev/null +++ b/Scarb.lock @@ -0,0 +1,20 @@ +# Code generated by scarb DO NOT EDIT. +version = 1 + +[[package]] +name = "alexandria_data_structures" +version = "0.1.0" +source = "git+https://github.com/keep-starknet-strange/alexandria.git?rev=f37d73d#f37d73d8a8248e4d8dc65de3949333e30bda022f" + +[[package]] +name = "cubit" +version = "1.2.0" +source = "git+https://github.com/raphaelDkhn/cubit.git#e6331ebf98c5d5f442a0e5edefe0b367c8e270d9" + +[[package]] +name = "orion" +version = "0.1.2" +dependencies = [ + "alexandria_data_structures", + "cubit", +] diff --git a/Scarb.toml b/Scarb.toml index cacdc292b..771239a2f 100644 --- a/Scarb.toml +++ b/Scarb.toml @@ -6,12 +6,12 @@ homepage = "https://github.com/gizatechxyz/orion" [dependencies] alexandria_data_structures = { git = "https://github.com/keep-starknet-strange/alexandria.git", rev = "f37d73d" } -cubit = { git = "https://github.com/influenceth/cubit.git" } +cubit = { git = "https://github.com/raphaelDkhn/cubit.git" } [scripts] sierra = "cairo-compile . -r" docgen = "cd docgen && cargo run" nodegen = "python3 nodegen/node/__init__.py" -[workspace] -members = ["tests/"] +# [workspace] +# members = ["tests/"] diff --git a/src/lib.cairo b/src/lib.cairo index cedde8a40..b5fe416e7 100644 --- a/src/lib.cairo +++ b/src/lib.cairo @@ -1,4 +1,3 @@ mod operators; mod numbers; mod utils; - diff --git a/src/numbers/fixed_point/implementations/fp16x16/math/comp.cairo b/src/numbers/fixed_point/implementations/fp16x16/math/comp.cairo index cf1e6ec08..25fb26fde 100644 --- a/src/numbers/fixed_point/implementations/fp16x16/math/comp.cairo +++ b/src/numbers/fixed_point/implementations/fp16x16/math/comp.cairo @@ -46,40 +46,46 @@ fn and(a: FP16x16, b: FP16x16) -> bool { // Tests -------------------------------------------------------------------------------------------------------------- -#[test] -fn test_max() { - let a = FixedTrait::new_unscaled(1, false); - let b = FixedTrait::new_unscaled(0, false); - let c = FixedTrait::new_unscaled(1, true); - - assert(max(a, a) == a, 'max(a, a)'); - assert(max(a, b) == a, 'max(a, b)'); - assert(max(a, c) == a, 'max(a, c)'); - - assert(max(b, a) == a, 'max(b, a)'); - assert(max(b, b) == b, 'max(b, b)'); - assert(max(b, c) == b, 'max(b, c)'); - - assert(max(c, a) == a, 'max(c, a)'); - assert(max(c, b) == b, 'max(c, b)'); - assert(max(c, c) == c, 'max(c, c)'); -} +#[cfg(test)] +mod tests { + use super::{FixedTrait, max, min}; + + + #[test] + fn test_max() { + let a = FixedTrait::new_unscaled(1, false); + let b = FixedTrait::new_unscaled(0, false); + let c = FixedTrait::new_unscaled(1, true); + + assert(max(a, a) == a, 'max(a, a)'); + assert(max(a, b) == a, 'max(a, b)'); + assert(max(a, c) == a, 'max(a, c)'); -#[test] -fn test_min() { - let a = FixedTrait::new_unscaled(1, false); - let b = FixedTrait::new_unscaled(0, false); - let c = FixedTrait::new_unscaled(1, true); + assert(max(b, a) == a, 'max(b, a)'); + assert(max(b, b) == b, 'max(b, b)'); + assert(max(b, c) == b, 'max(b, c)'); - assert(min(a, a) == a, 'min(a, a)'); - assert(min(a, b) == b, 'min(a, b)'); - assert(min(a, c) == c, 'min(a, c)'); + assert(max(c, a) == a, 'max(c, a)'); + assert(max(c, b) == b, 'max(c, b)'); + assert(max(c, c) == c, 'max(c, c)'); + } + + #[test] + fn test_min() { + let a = FixedTrait::new_unscaled(1, false); + let b = FixedTrait::new_unscaled(0, false); + let c = FixedTrait::new_unscaled(1, true); - assert(min(b, a) == b, 'min(b, a)'); - assert(min(b, b) == b, 'min(b, b)'); - assert(min(b, c) == c, 'min(b, c)'); + assert(min(a, a) == a, 'min(a, a)'); + assert(min(a, b) == b, 'min(a, b)'); + assert(min(a, c) == c, 'min(a, c)'); - assert(min(c, a) == c, 'min(c, a)'); - assert(min(c, b) == c, 'min(c, b)'); - assert(min(c, c) == c, 'min(c, c)'); + assert(min(b, a) == b, 'min(b, a)'); + assert(min(b, b) == b, 'min(b, b)'); + assert(min(b, c) == c, 'min(b, c)'); + + assert(min(c, a) == c, 'min(c, a)'); + assert(min(c, b) == c, 'min(c, b)'); + assert(min(c, c) == c, 'min(c, c)'); + } } diff --git a/src/numbers/fixed_point/implementations/fp16x16/math/core.cairo b/src/numbers/fixed_point/implementations/fp16x16/math/core.cairo index e113b97c7..1f35354aa 100644 --- a/src/numbers/fixed_point/implementations/fp16x16/math/core.cairo +++ b/src/numbers/fixed_point/implementations/fp16x16/math/core.cairo @@ -292,368 +292,376 @@ fn sign(a: FP16x16) -> FP16x16 { // Tests -------------------------------------------------------------------------------------------------------------- -use orion::numbers::fixed_point::implementations::fp16x16::helpers::{ - assert_precise, assert_relative -}; -use orion::numbers::fixed_point::implementations::fp16x16::math::trig::{PI, HALF_PI}; +#[cfg(test)] +mod tests { + use orion::numbers::fixed_point::implementations::fp16x16::helpers::{ + assert_precise, assert_relative + }; + use orion::numbers::fixed_point::implementations::fp16x16::math::trig::{PI, HALF_PI}; -#[test] -fn test_into() { - let a = FixedTrait::::new_unscaled(5, false); - assert(a.mag == 5 * ONE, 'invalid result'); -} + use super::{ + FixedTrait, ONE, FP16x16, ceil, floor, sqrt, round, lut, pow, exp, exp2, exp2_int, ln, log2, + log10, eq, add, ne, HALF + }; -#[test] -fn test_try_into_u128() { - // Positive unscaled - let a = FixedTrait::::new_unscaled(5, false); - assert(a.try_into().unwrap() == 5_u128, 'invalid result'); + #[test] + fn test_into() { + let a = FixedTrait::::new_unscaled(5, false); + assert(a.mag == 5 * ONE, 'invalid result'); + } - // Positive scaled - let b = FixedTrait::::new(5 * ONE, false); - assert(b.try_into().unwrap() == 5_u128, 'invalid result'); + #[test] + fn test_try_into_u128() { + // Positive unscaled + let a = FixedTrait::::new_unscaled(5, false); + assert(a.try_into().unwrap() == 5_u128, 'invalid result'); - // Zero - let d = FixedTrait::::new_unscaled(0, false); - assert(d.try_into().unwrap() == 0_u128, 'invalid result'); -} + // Positive scaled + let b = FixedTrait::::new(5 * ONE, false); + assert(b.try_into().unwrap() == 5_u128, 'invalid result'); -#[test] -#[should_panic] -fn test_negative_try_into_u128() { - let a = FixedTrait::::new_unscaled(1, true); - let a: u128 = a.try_into().unwrap(); -} + // Zero + let d = FixedTrait::::new_unscaled(0, false); + assert(d.try_into().unwrap() == 0_u128, 'invalid result'); + } -#[test] -#[available_gas(1000000)] -fn test_acos() { - let a = FixedTrait::::ONE(); - assert(a.acos().into() == 0, 'invalid one'); -} + #[test] + #[should_panic] + fn test_negative_try_into_u128() { + let a = FixedTrait::::new_unscaled(1, true); + let a: u128 = a.try_into().unwrap(); + } -#[test] -#[available_gas(1000000)] -fn test_asin() { - let a = FixedTrait::ONE(); - assert_precise(a.asin(), HALF_PI.into(), 'invalid one', Option::None(())); // PI / 2 -} + #[test] + #[available_gas(1000000)] + fn test_acos() { + let a = FixedTrait::::ONE(); + assert(a.acos().into() == 0, 'invalid one'); + } -#[test] -#[available_gas(2000000)] -fn test_atan() { - let a = FixedTrait::new(2 * ONE, false); - assert_relative(a.atan(), 72558, 'invalid two', Option::None(())); -} + #[test] + #[available_gas(1000000)] + fn test_asin() { + let a = FixedTrait::ONE(); + assert_precise(a.asin(), HALF_PI.into(), 'invalid one', Option::None(())); // PI / 2 + } -#[test] -fn test_ceil() { - let a = FixedTrait::new(190054, false); // 2.9 - assert(ceil(a).mag == 3 * ONE, 'invalid pos decimal'); -} + #[test] + #[available_gas(2000000)] + fn test_atan() { + let a = FixedTrait::new(2 * ONE, false); + assert_relative(a.atan(), 72558, 'invalid two', Option::None(())); + } -#[test] -fn test_floor() { - let a = FixedTrait::new(190054, false); // 2.9 - assert(floor(a).mag == 2 * ONE, 'invalid pos decimal'); -} + #[test] + fn test_ceil() { + let a = FixedTrait::new(190054, false); // 2.9 + assert(ceil(a).mag == 3 * ONE, 'invalid pos decimal'); + } -#[test] -fn test_round() { - let a = FixedTrait::new(190054, false); // 2.9 - assert(round(a).mag == 3 * ONE, 'invalid pos decimal'); -} + #[test] + fn test_floor() { + let a = FixedTrait::new(190054, false); // 2.9 + assert(floor(a).mag == 2 * ONE, 'invalid pos decimal'); + } -#[test] -#[should_panic] -fn test_sqrt_fail() { - let a = FixedTrait::new_unscaled(25, true); - sqrt(a); -} + #[test] + fn test_round() { + let a = FixedTrait::new(190054, false); // 2.9 + assert(round(a).mag == 3 * ONE, 'invalid pos decimal'); + } -#[test] -fn test_sqrt() { - let mut a = FixedTrait::new_unscaled(0, false); - assert(sqrt(a).mag == 0, 'invalid zero root'); - a = FixedTrait::new_unscaled(25, false); - assert(sqrt(a).mag == 5 * ONE, 'invalid pos root'); -} + #[test] + #[should_panic] + fn test_sqrt_fail() { + let a = FixedTrait::new_unscaled(25, true); + sqrt(a); + } + #[test] + fn test_sqrt() { + let mut a = FixedTrait::new_unscaled(0, false); + assert(sqrt(a).mag == 0, 'invalid zero root'); + a = FixedTrait::new_unscaled(25, false); + assert(sqrt(a).mag == 5 * ONE, 'invalid pos root'); + } -#[test] -#[available_gas(100000)] -fn test_msb() { - let a = FixedTrait::::new_unscaled(100, false); - let (msb, div) = lut::msb(a.mag / ONE); - assert(msb == 6, 'invalid msb'); - assert(div == 64, 'invalid msb ceil'); -} -#[test] -#[available_gas(600000)] -fn test_pow() { - let a = FixedTrait::new_unscaled(3, false); - let b = FixedTrait::new_unscaled(4, false); - assert(pow(a, b).mag == 81 * ONE, 'invalid pos base power'); -} + #[test] + #[available_gas(100000)] + fn test_msb() { + let a = FixedTrait::::new_unscaled(100, false); + let (msb, div) = lut::msb(a.mag / ONE); + assert(msb == 6, 'invalid msb'); + assert(div == 64, 'invalid msb ceil'); + } -#[test] -#[available_gas(900000)] -fn test_pow_frac() { - let a = FixedTrait::new_unscaled(3, false); - let b = FixedTrait::new(32768, false); // 0.5 - assert_relative( - pow(a, b), 113512, 'invalid pos base power', Option::None(()) - ); // 1.7320508075688772 -} + #[test] + #[available_gas(600000)] + fn test_pow() { + let a = FixedTrait::new_unscaled(3, false); + let b = FixedTrait::new_unscaled(4, false); + assert(pow(a, b).mag == 81 * ONE, 'invalid pos base power'); + } -#[test] -#[available_gas(1000000)] -fn test_exp() { - let a = FixedTrait::new_unscaled(2, false); - assert_relative(exp(a), 484249, 'invalid exp of 2', Option::None(())); // 7.389056098793725 -} + #[test] + #[available_gas(900000)] + fn test_pow_frac() { + let a = FixedTrait::new_unscaled(3, false); + let b = FixedTrait::new(32768, false); // 0.5 + assert_relative( + pow(a, b), 113512, 'invalid pos base power', Option::None(()) + ); // 1.7320508075688772 + } -#[test] -#[available_gas(400000)] -fn test_exp2() { - let a = FixedTrait::new_unscaled(5, false); - assert(exp2(a).mag == 2097152, 'invalid exp2 of 2'); -} + #[test] + #[available_gas(1000000)] + fn test_exp() { + let a = FixedTrait::new_unscaled(2, false); + assert_relative(exp(a), 484249, 'invalid exp of 2', Option::None(())); // 7.389056098793725 + } -#[test] -#[available_gas(20000)] -fn test_exp2_int() { - assert(exp2_int(5).into() == 2097152, 'invalid exp2 of 2'); -} + #[test] + #[available_gas(400000)] + fn test_exp2() { + let a = FixedTrait::new_unscaled(5, false); + assert(exp2(a).mag == 2097152, 'invalid exp2 of 2'); + } -#[test] -#[available_gas(1000000)] -fn test_ln() { - let mut a = FixedTrait::new_unscaled(1, false); - assert(ln(a).mag == 0, 'invalid ln of 1'); + #[test] + #[available_gas(20000)] + fn test_exp2_int() { + assert(exp2_int(5).into() == 2097152, 'invalid exp2 of 2'); + } - a = FixedTrait::new(178145, false); - assert_relative(ln(a), ONE.into(), 'invalid ln of 2.7...', Option::None(())); -} + #[test] + #[available_gas(1000000)] + fn test_ln() { + let mut a = FixedTrait::new_unscaled(1, false); + assert(ln(a).mag == 0, 'invalid ln of 1'); -#[test] -#[available_gas(1000000)] -fn test_log2() { - let mut a = FixedTrait::new_unscaled(32, false); - assert(log2(a) == FixedTrait::new_unscaled(5, false), 'invalid log2 32'); + a = FixedTrait::new(178145, false); + assert_relative(ln(a), ONE.into(), 'invalid ln of 2.7...', Option::None(())); + } - a = FixedTrait::new_unscaled(10, false); - assert_relative(log2(a), 217706, 'invalid log2 10', Option::None(())); // 3.321928094887362 -} + #[test] + #[available_gas(1000000)] + fn test_log2() { + let mut a = FixedTrait::new_unscaled(32, false); + assert(log2(a) == FixedTrait::new_unscaled(5, false), 'invalid log2 32'); -#[test] -#[available_gas(1000000)] -fn test_log10() { - let a = FixedTrait::new_unscaled(100, false); - assert_relative(log10(a), 2 * ONE.into(), 'invalid log10', Option::None(())); -} + a = FixedTrait::new_unscaled(10, false); + assert_relative(log2(a), 217706, 'invalid log2 10', Option::None(())); // 3.321928094887362 + } -#[test] -fn test_eq() { - let a = FixedTrait::new_unscaled(42, false); - let b = FixedTrait::new_unscaled(42, false); - let c = eq(@a, @b); - assert(c == true, 'invalid result'); -} + #[test] + #[available_gas(1000000)] + fn test_log10() { + let a = FixedTrait::new_unscaled(100, false); + assert_relative(log10(a), 2 * ONE.into(), 'invalid log10', Option::None(())); + } -#[test] -fn test_ne() { - let a = FixedTrait::new_unscaled(42, false); - let b = FixedTrait::new_unscaled(42, false); - let c = ne(@a, @b); - assert(c == false, 'invalid result'); -} + #[test] + fn test_eq() { + let a = FixedTrait::new_unscaled(42, false); + let b = FixedTrait::new_unscaled(42, false); + let c = eq(@a, @b); + assert(c == true, 'invalid result'); + } -#[test] -fn test_add() { - let a = FixedTrait::new_unscaled(1, false); - let b = FixedTrait::new_unscaled(2, false); - assert(add(a, b) == FixedTrait::new_unscaled(3, false), 'invalid result'); -} + #[test] + fn test_ne() { + let a = FixedTrait::new_unscaled(42, false); + let b = FixedTrait::new_unscaled(42, false); + let c = ne(@a, @b); + assert(c == false, 'invalid result'); + } -#[test] -fn test_add_eq() { - let mut a = FixedTrait::new_unscaled(1, false); - let b = FixedTrait::new_unscaled(2, false); - a += b; - assert(a == FixedTrait::::new_unscaled(3, false), 'invalid result'); -} + #[test] + fn test_add() { + let a = FixedTrait::new_unscaled(1, false); + let b = FixedTrait::new_unscaled(2, false); + assert(add(a, b) == FixedTrait::new_unscaled(3, false), 'invalid result'); + } -#[test] -fn test_sub() { - let a = FixedTrait::new_unscaled(5, false); - let b = FixedTrait::new_unscaled(2, false); - let c = a - b; - assert(c == FixedTrait::::new_unscaled(3, false), 'false result invalid'); -} + #[test] + fn test_add_eq() { + let mut a = FixedTrait::new_unscaled(1, false); + let b = FixedTrait::new_unscaled(2, false); + a += b; + assert(a == FixedTrait::::new_unscaled(3, false), 'invalid result'); + } -#[test] -fn test_sub_eq() { - let mut a = FixedTrait::new_unscaled(5, false); - let b = FixedTrait::new_unscaled(2, false); - a -= b; - assert(a == FixedTrait::::new_unscaled(3, false), 'invalid result'); -} + #[test] + fn test_sub() { + let a = FixedTrait::new_unscaled(5, false); + let b = FixedTrait::new_unscaled(2, false); + let c = a - b; + assert(c == FixedTrait::::new_unscaled(3, false), 'false result invalid'); + } -#[test] -#[available_gas(100000)] -fn test_mul_pos() { - let a = FP16x16 { mag: 190054, sign: false }; - let b = FP16x16 { mag: 190054, sign: false }; - let c = a * b; - assert(c.mag == 551155, 'invalid result'); -} + #[test] + fn test_sub_eq() { + let mut a = FixedTrait::new_unscaled(5, false); + let b = FixedTrait::new_unscaled(2, false); + a -= b; + assert(a == FixedTrait::::new_unscaled(3, false), 'invalid result'); + } -#[test] -fn test_mul_neg() { - let a = FixedTrait::new_unscaled(5, false); - let b = FixedTrait::new_unscaled(2, true); - let c = a * b; - assert(c == FixedTrait::::new_unscaled(10, true), 'invalid result'); -} + #[test] + #[available_gas(100000)] + fn test_mul_pos() { + let a = FP16x16 { mag: 190054, sign: false }; + let b = FP16x16 { mag: 190054, sign: false }; + let c = a * b; + assert(c.mag == 551155, 'invalid result'); + } -#[test] -fn test_mul_eq() { - let mut a = FixedTrait::new_unscaled(5, false); - let b = FixedTrait::new_unscaled(2, true); - a *= b; - assert(a == FixedTrait::::new_unscaled(10, true), 'invalid result'); -} + #[test] + fn test_mul_neg() { + let a = FixedTrait::new_unscaled(5, false); + let b = FixedTrait::new_unscaled(2, true); + let c = a * b; + assert(c == FixedTrait::::new_unscaled(10, true), 'invalid result'); + } -#[test] -fn test_div() { - let a = FixedTrait::new_unscaled(10, false); - let b = FixedTrait::::new(190054, false); // 2.9 - let c = a / b; - assert(c.mag == 225986, 'invalid pos decimal'); // 3.4482758620689653 -} + #[test] + fn test_mul_eq() { + let mut a = FixedTrait::new_unscaled(5, false); + let b = FixedTrait::new_unscaled(2, true); + a *= b; + assert(a == FixedTrait::::new_unscaled(10, true), 'invalid result'); + } -#[test] -fn test_le() { - let a = FixedTrait::new_unscaled(1, false); - let b = FixedTrait::new_unscaled(0, false); - let c = FixedTrait::::new_unscaled(1, true); + #[test] + fn test_div() { + let a = FixedTrait::new_unscaled(10, false); + let b = FixedTrait::::new(190054, false); // 2.9 + let c = a / b; + assert(c.mag == 225986, 'invalid pos decimal'); // 3.4482758620689653 + } - assert(a <= a, 'a <= a'); - assert(a <= b == false, 'a <= b'); - assert(a <= c == false, 'a <= c'); + #[test] + fn test_le() { + let a = FixedTrait::new_unscaled(1, false); + let b = FixedTrait::new_unscaled(0, false); + let c = FixedTrait::::new_unscaled(1, true); - assert(b <= a, 'b <= a'); - assert(b <= b, 'b <= b'); - assert(b <= c == false, 'b <= c'); + assert(a <= a, 'a <= a'); + assert(a <= b == false, 'a <= b'); + assert(a <= c == false, 'a <= c'); - assert(c <= a, 'c <= a'); - assert(c <= b, 'c <= b'); - assert(c <= c, 'c <= c'); -} + assert(b <= a, 'b <= a'); + assert(b <= b, 'b <= b'); + assert(b <= c == false, 'b <= c'); -#[test] -fn test_lt() { - let a = FixedTrait::new_unscaled(1, false); - let b = FixedTrait::new_unscaled(0, false); - let c = FixedTrait::::new_unscaled(1, true); + assert(c <= a, 'c <= a'); + assert(c <= b, 'c <= b'); + assert(c <= c, 'c <= c'); + } - assert(a < a == false, 'a < a'); - assert(a < b == false, 'a < b'); - assert(a < c == false, 'a < c'); + #[test] + fn test_lt() { + let a = FixedTrait::new_unscaled(1, false); + let b = FixedTrait::new_unscaled(0, false); + let c = FixedTrait::::new_unscaled(1, true); - assert(b < a, 'b < a'); - assert(b < b == false, 'b < b'); - assert(b < c == false, 'b < c'); + assert(a < a == false, 'a < a'); + assert(a < b == false, 'a < b'); + assert(a < c == false, 'a < c'); - assert(c < a, 'c < a'); - assert(c < b, 'c < b'); - assert(c < c == false, 'c < c'); -} + assert(b < a, 'b < a'); + assert(b < b == false, 'b < b'); + assert(b < c == false, 'b < c'); -#[test] -fn test_ge() { - let a = FixedTrait::new_unscaled(1, false); - let b = FixedTrait::new_unscaled(0, false); - let c = FixedTrait::::new_unscaled(1, true); + assert(c < a, 'c < a'); + assert(c < b, 'c < b'); + assert(c < c == false, 'c < c'); + } - assert(a >= a, 'a >= a'); - assert(a >= b, 'a >= b'); - assert(a >= c, 'a >= c'); + #[test] + fn test_ge() { + let a = FixedTrait::new_unscaled(1, false); + let b = FixedTrait::new_unscaled(0, false); + let c = FixedTrait::::new_unscaled(1, true); - assert(b >= a == false, 'b >= a'); - assert(b >= b, 'b >= b'); - assert(b >= c, 'b >= c'); + assert(a >= a, 'a >= a'); + assert(a >= b, 'a >= b'); + assert(a >= c, 'a >= c'); - assert(c >= a == false, 'c >= a'); - assert(c >= b == false, 'c >= b'); - assert(c >= c, 'c >= c'); -} + assert(b >= a == false, 'b >= a'); + assert(b >= b, 'b >= b'); + assert(b >= c, 'b >= c'); -#[test] -fn test_gt() { - let a = FixedTrait::new_unscaled(1, false); - let b = FixedTrait::new_unscaled(0, false); - let c = FixedTrait::::new_unscaled(1, true); + assert(c >= a == false, 'c >= a'); + assert(c >= b == false, 'c >= b'); + assert(c >= c, 'c >= c'); + } - assert(a > a == false, 'a > a'); - assert(a > b, 'a > b'); - assert(a > c, 'a > c'); + #[test] + fn test_gt() { + let a = FixedTrait::new_unscaled(1, false); + let b = FixedTrait::new_unscaled(0, false); + let c = FixedTrait::::new_unscaled(1, true); - assert(b > a == false, 'b > a'); - assert(b > b == false, 'b > b'); - assert(b > c, 'b > c'); + assert(a > a == false, 'a > a'); + assert(a > b, 'a > b'); + assert(a > c, 'a > c'); - assert(c > a == false, 'c > a'); - assert(c > b == false, 'c > b'); - assert(c > c == false, 'c > c'); -} + assert(b > a == false, 'b > a'); + assert(b > b == false, 'b > b'); + assert(b > c, 'b > c'); -#[test] -#[available_gas(1000000)] -fn test_cos() { - let a = FixedTrait::::new(HALF_PI, false); - assert(a.cos().into() == 0, 'invalid half pi'); -} + assert(c > a == false, 'c > a'); + assert(c > b == false, 'c > b'); + assert(c > c == false, 'c > c'); + } -#[test] -#[available_gas(1000000)] -fn test_sin() { - let a = FixedTrait::new(HALF_PI, false); - assert_precise(a.sin(), ONE.into(), 'invalid half pi', Option::None(())); -} + #[test] + #[available_gas(1000000)] + fn test_cos() { + let a = FixedTrait::::new(HALF_PI, false); + assert(a.cos().into() == 0, 'invalid half pi'); + } -#[test] -#[available_gas(2000000)] -fn test_tan() { - let a = FixedTrait::::new(HALF_PI / 2, false); - assert(a.tan().mag == 65536, 'invalid quarter pi'); -} + #[test] + #[available_gas(1000000)] + fn test_sin() { + let a = FixedTrait::new(HALF_PI, false); + assert_precise(a.sin(), ONE.into(), 'invalid half pi', Option::None(())); + } -#[test] -#[available_gas(2000000)] -fn test_sign() { - let a = FixedTrait::::new(0, false); - assert(a.sign().mag == 0 && !a.sign().sign, 'invalid sign (0, true)'); + #[test] + #[available_gas(2000000)] + fn test_tan() { + let a = FixedTrait::::new(HALF_PI / 2, false); + assert(a.tan().mag == 65536, 'invalid quarter pi'); + } - let a = FixedTrait::::new(HALF, true); - assert(a.sign().mag == ONE && a.sign().sign, 'invalid sign (HALF, true)'); + #[test] + #[available_gas(2000000)] + fn test_sign() { + let a = FixedTrait::::new(0, false); + assert(a.sign().mag == 0 && !a.sign().sign, 'invalid sign (0, true)'); - let a = FixedTrait::::new(HALF, false); - assert(a.sign().mag == ONE && !a.sign().sign, 'invalid sign (HALF, false)'); + let a = FixedTrait::::new(HALF, true); + assert(a.sign().mag == ONE && a.sign().sign, 'invalid sign (HALF, true)'); - let a = FixedTrait::::new(ONE, true); - assert(a.sign().mag == ONE && a.sign().sign, 'invalid sign (ONE, true)'); + let a = FixedTrait::::new(HALF, false); + assert(a.sign().mag == ONE && !a.sign().sign, 'invalid sign (HALF, false)'); - let a = FixedTrait::::new(ONE, false); - assert(a.sign().mag == ONE && !a.sign().sign, 'invalid sign (ONE, false)'); -} + let a = FixedTrait::::new(ONE, true); + assert(a.sign().mag == ONE && a.sign().sign, 'invalid sign (ONE, true)'); -#[test] -#[should_panic] -#[available_gas(2000000)] -fn test_sign_fail() { - let a = FixedTrait::::new(HALF, true); - assert(a.sign().mag != ONE && !a.sign().sign, 'invalid sign (HALF, true)'); + let a = FixedTrait::::new(ONE, false); + assert(a.sign().mag == ONE && !a.sign().sign, 'invalid sign (ONE, false)'); + } + + #[test] + #[should_panic] + #[available_gas(2000000)] + fn test_sign_fail() { + let a = FixedTrait::::new(HALF, true); + assert(a.sign().mag != ONE && !a.sign().sign, 'invalid sign (HALF, true)'); + } } diff --git a/src/numbers/fixed_point/implementations/fp16x16/math/hyp.cairo b/src/numbers/fixed_point/implementations/fp16x16/math/hyp.cairo index c411c3879..adee2421f 100644 --- a/src/numbers/fixed_point/implementations/fp16x16/math/hyp.cairo +++ b/src/numbers/fixed_point/implementations/fp16x16/math/hyp.cairo @@ -45,115 +45,121 @@ fn atanh(a: FP16x16) -> FP16x16 { // Tests -------------------------------------------------------------------------------------------------------------- -use option::OptionTrait; -use traits::Into; +#[cfg(test)] +mod tests { + use option::OptionTrait; + use traits::Into; -use orion::numbers::fixed_point::implementations::fp16x16::helpers::assert_precise; + use orion::numbers::fixed_point::implementations::fp16x16::helpers::assert_precise; -#[test] -#[available_gas(10000000)] -fn test_cosh() { - let a = FixedTrait::new(TWO, false); - assert_precise(cosh(a), 246550, 'invalid two', Option::None(())); // 3.5954653836066 + use super::{FixedTrait, TWO, cosh, ONE, sinh, tanh, acosh, asinh, atanh, HALF}; - let a = FixedTrait::ONE(); - assert_precise(cosh(a), 101127, 'invalid one', Option::None(())); // 1.42428174592510 - let a = FixedTrait::ZERO(); - assert_precise(cosh(a), ONE.into(), 'invalid zero', Option::None(())); + #[test] + #[available_gas(10000000)] + fn test_cosh() { + let a = FixedTrait::new(TWO, false); + assert_precise(cosh(a), 246550, 'invalid two', Option::None(())); // 3.5954653836066 - let a = FixedTrait::ONE(); - assert_precise(cosh(a), 101127, 'invalid neg one', Option::None(())); // 1.42428174592510 + let a = FixedTrait::ONE(); + assert_precise(cosh(a), 101127, 'invalid one', Option::None(())); // 1.42428174592510 - let a = FixedTrait::new(TWO, true); - assert_precise(cosh(a), 246568, 'invalid neg two', Option::None(())); // 3.5954653836066 -} + let a = FixedTrait::ZERO(); + assert_precise(cosh(a), ONE.into(), 'invalid zero', Option::None(())); -#[test] -#[available_gas(10000000)] -fn test_sinh() { - let a = FixedTrait::new(TWO, false); - assert_precise(sinh(a), 237681, 'invalid two', Option::None(())); // 3.48973469357602 + let a = FixedTrait::ONE(); + assert_precise(cosh(a), 101127, 'invalid neg one', Option::None(())); // 1.42428174592510 - let a = FixedTrait::ONE(); - assert_precise(sinh(a), 77018, 'invalid one', Option::None(())); // 1.13687593250230 + let a = FixedTrait::new(TWO, true); + assert_precise(cosh(a), 246568, 'invalid neg two', Option::None(())); // 3.5954653836066 + } - let a = FixedTrait::ZERO(); - assert(sinh(a).into() == 0, 'invalid zero'); + #[test] + #[available_gas(10000000)] + fn test_sinh() { + let a = FixedTrait::new(TWO, false); + assert_precise(sinh(a), 237681, 'invalid two', Option::None(())); // 3.48973469357602 - let a = FixedTrait::new(ONE, true); - assert_precise(sinh(a), -77018, 'invalid neg one', Option::None(())); // -1.13687593250230 + let a = FixedTrait::ONE(); + assert_precise(sinh(a), 77018, 'invalid one', Option::None(())); // 1.13687593250230 - let a = FixedTrait::new(TWO, true); - assert_precise(sinh(a), -237699, 'invalid neg two', Option::None(())); // -3.48973469357602 -} + let a = FixedTrait::ZERO(); + assert(sinh(a).into() == 0, 'invalid zero'); -#[test] -#[available_gas(10000000)] -fn test_tanh() { - let a = FixedTrait::new(TWO, false); - assert_precise(tanh(a), 63179, 'invalid two', Option::None(())); // 0.75314654693321 + let a = FixedTrait::new(ONE, true); + assert_precise(sinh(a), -77018, 'invalid neg one', Option::None(())); // -1.13687593250230 - let a = FixedTrait::ONE(); - assert_precise(tanh(a), 49912, 'invalid one', Option::None(())); // 0.59499543433175 + let a = FixedTrait::new(TWO, true); + assert_precise(sinh(a), -237699, 'invalid neg two', Option::None(())); // -3.48973469357602 + } - let a = FixedTrait::ZERO(); - assert(tanh(a).into() == 0, 'invalid zero'); + #[test] + #[available_gas(10000000)] + fn test_tanh() { + let a = FixedTrait::new(TWO, false); + assert_precise(tanh(a), 63179, 'invalid two', Option::None(())); // 0.75314654693321 - let a = FixedTrait::new(ONE, true); - assert_precise(tanh(a), -49912, 'invalid neg one', Option::None(())); // -0.59499543433175 + let a = FixedTrait::ONE(); + assert_precise(tanh(a), 49912, 'invalid one', Option::None(())); // 0.59499543433175 - let a = FixedTrait::new(TWO, true); - assert_precise(tanh(a), -63179, 'invalid neg two', Option::None(())); // 0.75314654693321 -} + let a = FixedTrait::ZERO(); + assert(tanh(a).into() == 0, 'invalid zero'); -#[test] -#[available_gas(10000000)] -fn test_acosh() { - let a = FixedTrait::new(246559, false); // 3.5954653836066 - assert_precise(acosh(a), 131072, 'invalid two', Option::None(())); + let a = FixedTrait::new(ONE, true); + assert_precise(tanh(a), -49912, 'invalid neg one', Option::None(())); // -0.59499543433175 - let a = FixedTrait::new(101127, false); // 1.42428174592510 - assert_precise(acosh(a), ONE.into(), 'invalid one', Option::None(())); + let a = FixedTrait::new(TWO, true); + assert_precise(tanh(a), -63179, 'invalid neg two', Option::None(())); // 0.75314654693321 + } - let a = FixedTrait::ONE(); // 1 - assert(acosh(a).into() == 0, 'invalid zero'); -} + #[test] + #[available_gas(10000000)] + fn test_acosh() { + let a = FixedTrait::new(246559, false); // 3.5954653836066 + assert_precise(acosh(a), 131072, 'invalid two', Option::None(())); -#[test] -#[available_gas(10000000)] -fn test_asinh() { - let a = FixedTrait::new(237690, false); // 3.48973469357602 - assert_precise(asinh(a), 131072, 'invalid two', Option::None(())); + let a = FixedTrait::new(101127, false); // 1.42428174592510 + assert_precise(acosh(a), ONE.into(), 'invalid one', Option::None(())); - let a = FixedTrait::new(77018, false); // 1.13687593250230 - assert_precise(asinh(a), ONE.into(), 'invalid one', Option::None(())); + let a = FixedTrait::ONE(); // 1 + assert(acosh(a).into() == 0, 'invalid zero'); + } - let a = FixedTrait::ZERO(); - assert(asinh(a).into() == 0, 'invalid zero'); + #[test] + #[available_gas(10000000)] + fn test_asinh() { + let a = FixedTrait::new(237690, false); // 3.48973469357602 + assert_precise(asinh(a), 131072, 'invalid two', Option::None(())); - let a = FixedTrait::new(77018, true); // -1.13687593250230 - assert_precise(asinh(a), -ONE.into(), 'invalid neg one', Option::None(())); + let a = FixedTrait::new(77018, false); // 1.13687593250230 + assert_precise(asinh(a), ONE.into(), 'invalid one', Option::None(())); - let a = FixedTrait::new(237690, true); // -3.48973469357602 - assert_precise(asinh(a), -131017, 'invalid neg two', Option::None(())); -} + let a = FixedTrait::ZERO(); + assert(asinh(a).into() == 0, 'invalid zero'); + + let a = FixedTrait::new(77018, true); // -1.13687593250230 + assert_precise(asinh(a), -ONE.into(), 'invalid neg one', Option::None(())); + + let a = FixedTrait::new(237690, true); // -3.48973469357602 + assert_precise(asinh(a), -131017, 'invalid neg two', Option::None(())); + } -#[test] -#[available_gas(10000000)] -fn test_atanh() { - let a = FixedTrait::new(58982, false); // 0.9 - assert_precise(atanh(a), 96483, 'invalid 0.9', Option::None(())); // 1.36892147623689 + #[test] + #[available_gas(10000000)] + fn test_atanh() { + let a = FixedTrait::new(58982, false); // 0.9 + assert_precise(atanh(a), 96483, 'invalid 0.9', Option::None(())); // 1.36892147623689 - let a = FixedTrait::new(HALF, false); // 0.5 - assert_precise(atanh(a), 35999, 'invalid half', Option::None(())); // 0.42914542526098 + let a = FixedTrait::new(HALF, false); // 0.5 + assert_precise(atanh(a), 35999, 'invalid half', Option::None(())); // 0.42914542526098 - let a = FixedTrait::ZERO(); - assert(atanh(a).into() == 0, 'invalid zero'); + let a = FixedTrait::ZERO(); + assert(atanh(a).into() == 0, 'invalid zero'); - let a = FixedTrait::new(HALF, true); // 0.5 - assert_precise(atanh(a), -35999, 'invalid neg half', Option::None(())); // 0.42914542526098 + let a = FixedTrait::new(HALF, true); // 0.5 + assert_precise(atanh(a), -35999, 'invalid neg half', Option::None(())); // 0.42914542526098 - let a = FixedTrait::new(58982, true); // 0.9 - assert_precise(atanh(a), -96483, 'invalid -0.9', Option::None(())); // 1.36892147623689 + let a = FixedTrait::new(58982, true); // 0.9 + assert_precise(atanh(a), -96483, 'invalid -0.9', Option::None(())); // 1.36892147623689 + } } diff --git a/src/numbers/fixed_point/implementations/fp16x16/math/trig.cairo b/src/numbers/fixed_point/implementations/fp16x16/math/trig.cairo index 00e81db24..52394686f 100644 --- a/src/numbers/fixed_point/implementations/fp16x16/math/trig.cairo +++ b/src/numbers/fixed_point/implementations/fp16x16/math/trig.cairo @@ -204,247 +204,257 @@ fn _sin_loop(a: FP16x16, i: u32, acc: FP16x16) -> FP16x16 { // Tests -------------------------------------------------------------------------------------------------------------- -use traits::Into; +#[cfg(test)] +mod tests { + use traits::Into; -use orion::numbers::fixed_point::implementations::fp16x16::helpers::{ - assert_precise, assert_relative -}; -use orion::numbers::fixed_point::implementations::fp16x16::core::{FP16x16PartialEq, FP16x16Print}; + use orion::numbers::fixed_point::implementations::fp16x16::helpers::{ + assert_precise, assert_relative + }; + use orion::numbers::fixed_point::implementations::fp16x16::core::{ + FP16x16PartialEq, FP16x16Print + }; -#[test] -#[available_gas(8000000)] -fn test_acos() { - let error = Option::Some(84); // 1e-5 + use super::{ + FixedTrait, acos, HALF_PI, ONE, acos_fast, PI, atan_fast, atan, asin, cos, cos_fast, sin, + sin_fast, tan + }; - let a = FixedTrait::ONE(); - assert(acos(a).into() == 0, 'invalid one'); + #[test] + #[available_gas(8000000)] + fn test_acos() { + let error = Option::Some(84); // 1e-5 - let a = FixedTrait::new(ONE / 2, false); - assert_relative(acos(a), 68629, 'invalid half', error); // 1.3687308642680 + let a = FixedTrait::ONE(); + assert(acos(a).into() == 0, 'invalid one'); - let a = FixedTrait::ZERO(); - assert_relative(acos(a), HALF_PI.into(), 'invalid zero', Option::None(())); // PI / 2 + let a = FixedTrait::new(ONE / 2, false); + assert_relative(acos(a), 68629, 'invalid half', error); // 1.3687308642680 - let a = FixedTrait::new(ONE / 2, true); - assert_relative(acos(a), 137258, 'invalid neg half', error); // 2.737461741902 + let a = FixedTrait::ZERO(); + assert_relative(acos(a), HALF_PI.into(), 'invalid zero', Option::None(())); // PI / 2 - let a = FixedTrait::new(ONE, true); - assert_relative(acos(a), PI.into(), 'invalid neg one', Option::None(())); // PI -} + let a = FixedTrait::new(ONE / 2, true); + assert_relative(acos(a), 137258, 'invalid neg half', error); // 2.737461741902 -#[test] -#[available_gas(8000000)] -fn test_acos_fast() { - let error = Option::Some(84); // 1e-5 + let a = FixedTrait::new(ONE, true); + assert_relative(acos(a), PI.into(), 'invalid neg one', Option::None(())); // PI + } - let a = FixedTrait::ONE(); - assert(acos_fast(a).into() == 0, 'invalid one'); + #[test] + #[available_gas(8000000)] + fn test_acos_fast() { + let error = Option::Some(84); // 1e-5 - let a = FixedTrait::new(ONE / 2, false); - assert_relative(acos_fast(a), 68629, 'invalid half', error); // 1.3687308642680 + let a = FixedTrait::ONE(); + assert(acos_fast(a).into() == 0, 'invalid one'); - let a = FixedTrait::ZERO(); - assert_relative(acos_fast(a), HALF_PI.into(), 'invalid zero', Option::None(())); // PI / 2 + let a = FixedTrait::new(ONE / 2, false); + assert_relative(acos_fast(a), 68629, 'invalid half', error); // 1.3687308642680 - let a = FixedTrait::new(ONE / 2, true); - assert_relative(acos_fast(a), 137258, 'invalid neg half', error); // 2.737461741902 + let a = FixedTrait::ZERO(); + assert_relative(acos_fast(a), HALF_PI.into(), 'invalid zero', Option::None(())); // PI / 2 - let a = FixedTrait::new(ONE, true); - assert_relative(acos_fast(a), PI.into(), 'invalid neg one', Option::None(())); // PI -} + let a = FixedTrait::new(ONE / 2, true); + assert_relative(acos_fast(a), 137258, 'invalid neg half', error); // 2.737461741902 -#[test] -#[should_panic] -#[available_gas(8000000)] -fn test_acos_fail() { - let a = FixedTrait::new(2 * ONE, true); - acos(a); -} + let a = FixedTrait::new(ONE, true); + assert_relative(acos_fast(a), PI.into(), 'invalid neg one', Option::None(())); // PI + } -#[test] -#[available_gas(8000000)] -fn test_atan_fast() { - let error = Option::Some(84); // 1e-5 + #[test] + #[should_panic] + #[available_gas(8000000)] + fn test_acos_fail() { + let a = FixedTrait::new(2 * ONE, true); + acos(a); + } - let a = FixedTrait::new(2 * ONE, false); - assert_relative(atan_fast(a), 72558, 'invalid two', error); + #[test] + #[available_gas(8000000)] + fn test_atan_fast() { + let error = Option::Some(84); // 1e-5 - let a = FixedTrait::ONE(); - assert_relative(atan_fast(a), 51472, 'invalid one', error); + let a = FixedTrait::new(2 * ONE, false); + assert_relative(atan_fast(a), 72558, 'invalid two', error); - let a = FixedTrait::new(ONE / 2, false); - assert_relative(atan_fast(a), 30386, 'invalid half', error); + let a = FixedTrait::ONE(); + assert_relative(atan_fast(a), 51472, 'invalid one', error); - let a = FixedTrait::ZERO(); - assert(atan_fast(a).into() == 0, 'invalid zero'); + let a = FixedTrait::new(ONE / 2, false); + assert_relative(atan_fast(a), 30386, 'invalid half', error); - let a = FixedTrait::new(ONE / 2, true); - assert_relative(atan_fast(a), -30386, 'invalid neg half', error); + let a = FixedTrait::ZERO(); + assert(atan_fast(a).into() == 0, 'invalid zero'); - let a = FixedTrait::new(ONE, true); - assert_relative(atan_fast(a), -51472, 'invalid neg one', error); + let a = FixedTrait::new(ONE / 2, true); + assert_relative(atan_fast(a), -30386, 'invalid neg half', error); - let a = FixedTrait::new(2 * ONE, true); - assert_relative(atan_fast(a), -72558, 'invalid neg two', error); -} + let a = FixedTrait::new(ONE, true); + assert_relative(atan_fast(a), -51472, 'invalid neg one', error); -#[test] -#[available_gas(8000000)] -fn test_atan() { - let a = FixedTrait::new(2 * ONE, false); - assert_relative(atan(a), 72558, 'invalid two', Option::None(())); + let a = FixedTrait::new(2 * ONE, true); + assert_relative(atan_fast(a), -72558, 'invalid neg two', error); + } - let a = FixedTrait::ONE(); - assert_relative(atan(a), 51472, 'invalid one', Option::None(())); + #[test] + #[available_gas(8000000)] + fn test_atan() { + let a = FixedTrait::new(2 * ONE, false); + assert_relative(atan(a), 72558, 'invalid two', Option::None(())); - let a = FixedTrait::new(ONE / 2, false); - assert_relative(atan(a), 30386, 'invalid half', Option::None(())); + let a = FixedTrait::ONE(); + assert_relative(atan(a), 51472, 'invalid one', Option::None(())); - let a = FixedTrait::ZERO(); - assert(atan(a).into() == 0, 'invalid zero'); + let a = FixedTrait::new(ONE / 2, false); + assert_relative(atan(a), 30386, 'invalid half', Option::None(())); - let a = FixedTrait::new(ONE / 2, true); - assert_relative(atan(a), -30386, 'invalid neg half', Option::None(())); + let a = FixedTrait::ZERO(); + assert(atan(a).into() == 0, 'invalid zero'); - let a = FixedTrait::new(ONE, true); - assert_relative(atan(a), -51472, 'invalid neg one', Option::None(())); + let a = FixedTrait::new(ONE / 2, true); + assert_relative(atan(a), -30386, 'invalid neg half', Option::None(())); - let a = FixedTrait::new(2 * ONE, true); - assert_relative(atan(a), -72558, 'invalid neg two', Option::None(())); -} + let a = FixedTrait::new(ONE, true); + assert_relative(atan(a), -51472, 'invalid neg one', Option::None(())); -#[test] -#[available_gas(8000000)] -fn test_asin() { - let error = Option::Some(84); // 1e-5 + let a = FixedTrait::new(2 * ONE, true); + assert_relative(atan(a), -72558, 'invalid neg two', Option::None(())); + } - let a = FixedTrait::ONE(); - assert_relative(asin(a), HALF_PI.into(), 'invalid one', Option::None(())); // PI / 2 + #[test] + #[available_gas(8000000)] + fn test_asin() { + let error = Option::Some(84); // 1e-5 - let a = FixedTrait::new(ONE / 2, false); - assert_relative(asin(a), 34315, 'invalid half', error); + let a = FixedTrait::ONE(); + assert_relative(asin(a), HALF_PI.into(), 'invalid one', Option::None(())); // PI / 2 - let a = FixedTrait::ZERO(); - assert_precise(asin(a), 0, 'invalid zero', Option::None(())); + let a = FixedTrait::new(ONE / 2, false); + assert_relative(asin(a), 34315, 'invalid half', error); - let a = FixedTrait::new(ONE / 2, true); - assert_relative(asin(a), -34315, 'invalid neg half', error); + let a = FixedTrait::ZERO(); + assert_precise(asin(a), 0, 'invalid zero', Option::None(())); - let a = FixedTrait::new(ONE, true); - assert_relative(asin(a), -HALF_PI.into(), 'invalid neg one', Option::None(())); // -PI / 2 -} + let a = FixedTrait::new(ONE / 2, true); + assert_relative(asin(a), -34315, 'invalid neg half', error); -#[test] -#[should_panic] -#[available_gas(8000000)] -fn test_asin_fail() { - let a = FixedTrait::new(2 * ONE, false); - asin(a); -} + let a = FixedTrait::new(ONE, true); + assert_relative(asin(a), -HALF_PI.into(), 'invalid neg one', Option::None(())); // -PI / 2 + } -#[test] -#[available_gas(8000000)] -fn test_cos() { - let a = FixedTrait::new(HALF_PI, false); - assert(cos(a).into() == 0, 'invalid half pi'); + #[test] + #[should_panic] + #[available_gas(8000000)] + fn test_asin_fail() { + let a = FixedTrait::new(2 * ONE, false); + asin(a); + } - let a = FixedTrait::new(HALF_PI / 2, false); - assert_relative(cos(a), 46341, 'invalid quarter pi', Option::None(())); // 0.55242717280199 + #[test] + #[available_gas(8000000)] + fn test_cos() { + let a = FixedTrait::new(HALF_PI, false); + assert(cos(a).into() == 0, 'invalid half pi'); - let a = FixedTrait::new(PI, false); - assert_relative(cos(a), -1 * ONE.into(), 'invalid pi', Option::None(())); + let a = FixedTrait::new(HALF_PI / 2, false); + assert_relative(cos(a), 46341, 'invalid quarter pi', Option::None(())); // 0.55242717280199 - let a = FixedTrait::new(HALF_PI, true); - assert_precise(cos(a), 0, 'invalid neg half pi', Option::None(())); + let a = FixedTrait::new(PI, false); + assert_relative(cos(a), -1 * ONE.into(), 'invalid pi', Option::None(())); - let a = FixedTrait::new_unscaled(17, false); - assert_relative(cos(a), -18033, 'invalid 17', Option::None(())); // -0.21497123284870 + let a = FixedTrait::new(HALF_PI, true); + assert_precise(cos(a), 0, 'invalid neg half pi', Option::None(())); - let a = FixedTrait::new_unscaled(17, true); - assert_relative(cos(a), -18033, 'invalid -17', Option::None(())); // -0.21497123284870 -} + let a = FixedTrait::new_unscaled(17, false); + assert_relative(cos(a), -18033, 'invalid 17', Option::None(())); // -0.21497123284870 -#[test] -#[available_gas(8000000)] -fn test_cos_fast() { - let error = Option::Some(84); // 1e-5 + let a = FixedTrait::new_unscaled(17, true); + assert_relative(cos(a), -18033, 'invalid -17', Option::None(())); // -0.21497123284870 + } - let a = FixedTrait::new(HALF_PI, false); - assert(cos_fast(a).into() == 0, 'invalid half pi'); + #[test] + #[available_gas(8000000)] + fn test_cos_fast() { + let error = Option::Some(84); // 1e-5 - let a = FixedTrait::new(HALF_PI / 2, false); - assert_precise(cos_fast(a), 46341, 'invalid quarter pi', error); // 0.55242717280199 + let a = FixedTrait::new(HALF_PI, false); + assert(cos_fast(a).into() == 0, 'invalid half pi'); - let a = FixedTrait::new(PI, false); - assert_precise(cos_fast(a), -1 * ONE.into(), 'invalid pi', error); + let a = FixedTrait::new(HALF_PI / 2, false); + assert_precise(cos_fast(a), 46341, 'invalid quarter pi', error); // 0.55242717280199 - let a = FixedTrait::new(HALF_PI, true); - assert_precise(cos(a), 0, 'invalid neg half pi', Option::None(())); + let a = FixedTrait::new(PI, false); + assert_precise(cos_fast(a), -1 * ONE.into(), 'invalid pi', error); - let a = FixedTrait::new_unscaled(17, false); - assert_precise(cos_fast(a), -18033, 'invalid 17', error); // -0.21497123284870 -} + let a = FixedTrait::new(HALF_PI, true); + assert_precise(cos(a), 0, 'invalid neg half pi', Option::None(())); + + let a = FixedTrait::new_unscaled(17, false); + assert_precise(cos_fast(a), -18033, 'invalid 17', error); // -0.21497123284870 + } -#[test] -#[available_gas(8000000)] -fn test_sin() { - let a = FixedTrait::new(HALF_PI, false); - assert_precise(sin(a), ONE.into(), 'invalid half pi', Option::None(())); + #[test] + #[available_gas(8000000)] + fn test_sin() { + let a = FixedTrait::new(HALF_PI, false); + assert_precise(sin(a), ONE.into(), 'invalid half pi', Option::None(())); - let a = FixedTrait::new(HALF_PI / 2, false); - assert_precise(sin(a), 46341, 'invalid quarter pi', Option::None(())); // 0.55242717280199 + let a = FixedTrait::new(HALF_PI / 2, false); + assert_precise(sin(a), 46341, 'invalid quarter pi', Option::None(())); // 0.55242717280199 - let a = FixedTrait::new(PI, false); - assert(sin(a).into() == 0, 'invalid pi'); + let a = FixedTrait::new(PI, false); + assert(sin(a).into() == 0, 'invalid pi'); - let a = FixedTrait::new(HALF_PI, true); - assert_precise( - sin(a), -ONE.into(), 'invalid neg half pi', Option::None(()) - ); // 0.78124999999529 + let a = FixedTrait::new(HALF_PI, true); + assert_precise( + sin(a), -ONE.into(), 'invalid neg half pi', Option::None(()) + ); // 0.78124999999529 - let a = FixedTrait::new_unscaled(17, false); - assert_precise(sin(a), -63006, 'invalid 17', Option::None(())); // -0.75109179053073 + let a = FixedTrait::new_unscaled(17, false); + assert_precise(sin(a), -63006, 'invalid 17', Option::None(())); // -0.75109179053073 - let a = FixedTrait::new_unscaled(17, true); - assert_precise(sin(a), 63006, 'invalid -17', Option::None(())); // 0.75109179053073 -} + let a = FixedTrait::new_unscaled(17, true); + assert_precise(sin(a), 63006, 'invalid -17', Option::None(())); // 0.75109179053073 + } -#[test] -#[available_gas(8000000)] -fn test_sin_fast() { - let error = Option::Some(84); // 1e-5 + #[test] + #[available_gas(8000000)] + fn test_sin_fast() { + let error = Option::Some(84); // 1e-5 - let a = FixedTrait::new(HALF_PI, false); - assert_precise(sin_fast(a), ONE.into(), 'invalid half pi', error); + let a = FixedTrait::new(HALF_PI, false); + assert_precise(sin_fast(a), ONE.into(), 'invalid half pi', error); - let a = FixedTrait::new(HALF_PI / 2, false); - assert_precise(sin_fast(a), 46341, 'invalid quarter pi', error); // 0.55242717280199 + let a = FixedTrait::new(HALF_PI / 2, false); + assert_precise(sin_fast(a), 46341, 'invalid quarter pi', error); // 0.55242717280199 - let a = FixedTrait::new(PI, false); - assert(sin_fast(a).into() == 0, 'invalid pi'); + let a = FixedTrait::new(PI, false); + assert(sin_fast(a).into() == 0, 'invalid pi'); - let a = FixedTrait::new(HALF_PI, true); - assert_precise(sin_fast(a), -ONE.into(), 'invalid neg half pi', error); // 0.78124999999529 + let a = FixedTrait::new(HALF_PI, true); + assert_precise(sin_fast(a), -ONE.into(), 'invalid neg half pi', error); // 0.78124999999529 - let a = FixedTrait::new_unscaled(17, false); - assert_precise(sin_fast(a), -63006, 'invalid 17', error); // -0.75109179053073 + let a = FixedTrait::new_unscaled(17, false); + assert_precise(sin_fast(a), -63006, 'invalid 17', error); // -0.75109179053073 - let a = FixedTrait::new_unscaled(17, true); - assert_precise(sin_fast(a), 63006, 'invalid -17', error); // 0.75109179053073 -} + let a = FixedTrait::new_unscaled(17, true); + assert_precise(sin_fast(a), 63006, 'invalid -17', error); // 0.75109179053073 + } -#[test] -#[available_gas(8000000)] -fn test_tan() { - let a = FixedTrait::new(HALF_PI / 2, false); - assert_precise(tan(a), ONE.into(), 'invalid quarter pi', Option::None(())); + #[test] + #[available_gas(8000000)] + fn test_tan() { + let a = FixedTrait::new(HALF_PI / 2, false); + assert_precise(tan(a), ONE.into(), 'invalid quarter pi', Option::None(())); - let a = FixedTrait::new(PI, false); - assert_precise(tan(a), 0, 'invalid pi', Option::None(())); + let a = FixedTrait::new(PI, false); + assert_precise(tan(a), 0, 'invalid pi', Option::None(())); - let a = FixedTrait::new_unscaled(17, false); - assert_precise(tan(a), 228990, 'invalid 17', Option::None(())); // 3.3858731852805 + let a = FixedTrait::new_unscaled(17, false); + assert_precise(tan(a), 228990, 'invalid 17', Option::None(())); // 3.3858731852805 - let a = FixedTrait::new_unscaled(17, true); - assert_precise(tan(a), -228952, 'invalid -17', Option::None(())); // -3.3858731852805 + let a = FixedTrait::new_unscaled(17, true); + assert_precise(tan(a), -228952, 'invalid -17', Option::None(())); // -3.3858731852805 + } } diff --git a/src/numbers/fixed_point/implementations/fp16x16wide/math/comp.cairo b/src/numbers/fixed_point/implementations/fp16x16wide/math/comp.cairo index 4f815a124..e3978e454 100644 --- a/src/numbers/fixed_point/implementations/fp16x16wide/math/comp.cairo +++ b/src/numbers/fixed_point/implementations/fp16x16wide/math/comp.cairo @@ -46,40 +46,46 @@ fn and(a: FP16x16W, b: FP16x16W) -> bool { // Tests -------------------------------------------------------------------------------------------------------------- -#[test] -fn test_max() { - let a = FixedTrait::new_unscaled(1, false); - let b = FixedTrait::new_unscaled(0, false); - let c = FixedTrait::new_unscaled(1, true); - - assert(max(a, a) == a, 'max(a, a)'); - assert(max(a, b) == a, 'max(a, b)'); - assert(max(a, c) == a, 'max(a, c)'); - - assert(max(b, a) == a, 'max(b, a)'); - assert(max(b, b) == b, 'max(b, b)'); - assert(max(b, c) == b, 'max(b, c)'); - - assert(max(c, a) == a, 'max(c, a)'); - assert(max(c, b) == b, 'max(c, b)'); - assert(max(c, c) == c, 'max(c, c)'); -} +#[cfg(test)] +mod tests { + use super::{FixedTrait, max, min}; + + + #[test] + fn test_max() { + let a = FixedTrait::new_unscaled(1, false); + let b = FixedTrait::new_unscaled(0, false); + let c = FixedTrait::new_unscaled(1, true); + + assert(max(a, a) == a, 'max(a, a)'); + assert(max(a, b) == a, 'max(a, b)'); + assert(max(a, c) == a, 'max(a, c)'); -#[test] -fn test_min() { - let a = FixedTrait::new_unscaled(1, false); - let b = FixedTrait::new_unscaled(0, false); - let c = FixedTrait::new_unscaled(1, true); + assert(max(b, a) == a, 'max(b, a)'); + assert(max(b, b) == b, 'max(b, b)'); + assert(max(b, c) == b, 'max(b, c)'); - assert(min(a, a) == a, 'min(a, a)'); - assert(min(a, b) == b, 'min(a, b)'); - assert(min(a, c) == c, 'min(a, c)'); + assert(max(c, a) == a, 'max(c, a)'); + assert(max(c, b) == b, 'max(c, b)'); + assert(max(c, c) == c, 'max(c, c)'); + } + + #[test] + fn test_min() { + let a = FixedTrait::new_unscaled(1, false); + let b = FixedTrait::new_unscaled(0, false); + let c = FixedTrait::new_unscaled(1, true); - assert(min(b, a) == b, 'min(b, a)'); - assert(min(b, b) == b, 'min(b, b)'); - assert(min(b, c) == c, 'min(b, c)'); + assert(min(a, a) == a, 'min(a, a)'); + assert(min(a, b) == b, 'min(a, b)'); + assert(min(a, c) == c, 'min(a, c)'); - assert(min(c, a) == c, 'min(c, a)'); - assert(min(c, b) == c, 'min(c, b)'); - assert(min(c, c) == c, 'min(c, c)'); + assert(min(b, a) == b, 'min(b, a)'); + assert(min(b, b) == b, 'min(b, b)'); + assert(min(b, c) == c, 'min(b, c)'); + + assert(min(c, a) == c, 'min(c, a)'); + assert(min(c, b) == c, 'min(c, b)'); + assert(min(c, c) == c, 'min(c, c)'); + } } diff --git a/src/numbers/fixed_point/implementations/fp16x16wide/math/core.cairo b/src/numbers/fixed_point/implementations/fp16x16wide/math/core.cairo index 4654cd6ba..87d4e699b 100644 --- a/src/numbers/fixed_point/implementations/fp16x16wide/math/core.cairo +++ b/src/numbers/fixed_point/implementations/fp16x16wide/math/core.cairo @@ -292,11 +292,20 @@ fn sign(a: FP16x16W) -> FP16x16W { // Tests -------------------------------------------------------------------------------------------------------------- +#[cfg(test)] +mod tests { + + use orion::numbers::fixed_point::implementations::fp16x16wide::helpers::{ assert_precise, assert_relative }; use orion::numbers::fixed_point::implementations::fp16x16wide::math::trig::{PI, HALF_PI}; + use super::{ + FixedTrait, ONE, FP16x16W, ceil, floor, sqrt, round, lut, pow, exp, exp2, exp2_int, ln, log2, + log10, eq, add, ne, HALF + }; + #[test] fn test_into() { let a = FixedTrait::::new_unscaled(5, false); @@ -657,3 +666,5 @@ fn test_sign_fail() { let a = FixedTrait::::new(HALF, true); assert(a.sign().mag != ONE && !a.sign().sign, 'invalid sign (HALF, true)'); } + +} \ No newline at end of file diff --git a/src/numbers/fixed_point/implementations/fp16x16wide/math/hyp.cairo b/src/numbers/fixed_point/implementations/fp16x16wide/math/hyp.cairo index 3286b6345..2949b0e84 100644 --- a/src/numbers/fixed_point/implementations/fp16x16wide/math/hyp.cairo +++ b/src/numbers/fixed_point/implementations/fp16x16wide/math/hyp.cairo @@ -45,11 +45,18 @@ fn atanh(a: FP16x16W) -> FP16x16W { // Tests -------------------------------------------------------------------------------------------------------------- +#[cfg(test)] +mod tests { + + use option::OptionTrait; use traits::Into; use orion::numbers::fixed_point::implementations::fp16x16wide::helpers::assert_precise; + use super::{FixedTrait, TWO, cosh, ONE, sinh, tanh, acosh, asinh, atanh, HALF}; + + #[test] #[available_gas(10000000)] fn test_cosh() { @@ -157,3 +164,5 @@ fn test_atanh() { let a = FixedTrait::new(58982, true); // 0.9 assert_precise(atanh(a), -96483, 'invalid -0.9', Option::None(())); // 1.36892147623689 } + +} \ No newline at end of file diff --git a/src/numbers/fixed_point/implementations/fp16x16wide/math/trig.cairo b/src/numbers/fixed_point/implementations/fp16x16wide/math/trig.cairo index 4c47eca5e..0cfebea64 100644 --- a/src/numbers/fixed_point/implementations/fp16x16wide/math/trig.cairo +++ b/src/numbers/fixed_point/implementations/fp16x16wide/math/trig.cairo @@ -204,247 +204,257 @@ fn _sin_loop(a: FP16x16W, i: u64, acc: FP16x16W) -> FP16x16W { // Tests -------------------------------------------------------------------------------------------------------------- -use traits::Into; +#[cfg(test)] +mod tests { + use traits::Into; -use orion::numbers::fixed_point::implementations::fp16x16wide::helpers::{ - assert_precise, assert_relative -}; -use orion::numbers::fixed_point::implementations::fp16x16wide::core::{FP16x16WPartialEq, FP16x16WPrint}; + use orion::numbers::fixed_point::implementations::fp16x16wide::helpers::{ + assert_precise, assert_relative + }; + use orion::numbers::fixed_point::implementations::fp16x16wide::core::{ + FP16x16WPartialEq, FP16x16WPrint + }; -#[test] -#[available_gas(8000000)] -fn test_acos() { - let error = Option::Some(84); // 1e-5 + use super::{ + FixedTrait, acos, HALF_PI, ONE, acos_fast, PI, atan_fast, atan, asin, cos, cos_fast, sin, + sin_fast, tan + }; - let a = FixedTrait::ONE(); - assert(acos(a).into() == 0, 'invalid one'); + #[test] + #[available_gas(8000000)] + fn test_acos() { + let error = Option::Some(84); // 1e-5 - let a = FixedTrait::new(ONE / 2, false); - assert_relative(acos(a), 68629, 'invalid half', error); // 1.3687308642680 + let a = FixedTrait::ONE(); + assert(acos(a).into() == 0, 'invalid one'); - let a = FixedTrait::ZERO(); - assert_relative(acos(a), HALF_PI.into(), 'invalid zero', Option::None(())); // PI / 2 + let a = FixedTrait::new(ONE / 2, false); + assert_relative(acos(a), 68629, 'invalid half', error); // 1.3687308642680 - let a = FixedTrait::new(ONE / 2, true); - assert_relative(acos(a), 137258, 'invalid neg half', error); // 2.737461741902 + let a = FixedTrait::ZERO(); + assert_relative(acos(a), HALF_PI.into(), 'invalid zero', Option::None(())); // PI / 2 - let a = FixedTrait::new(ONE, true); - assert_relative(acos(a), PI.into(), 'invalid neg one', Option::None(())); // PI -} + let a = FixedTrait::new(ONE / 2, true); + assert_relative(acos(a), 137258, 'invalid neg half', error); // 2.737461741902 -#[test] -#[available_gas(8000000)] -fn test_acos_fast() { - let error = Option::Some(84); // 1e-5 + let a = FixedTrait::new(ONE, true); + assert_relative(acos(a), PI.into(), 'invalid neg one', Option::None(())); // PI + } - let a = FixedTrait::ONE(); - assert(acos_fast(a).into() == 0, 'invalid one'); + #[test] + #[available_gas(8000000)] + fn test_acos_fast() { + let error = Option::Some(84); // 1e-5 - let a = FixedTrait::new(ONE / 2, false); - assert_relative(acos_fast(a), 68629, 'invalid half', error); // 1.3687308642680 + let a = FixedTrait::ONE(); + assert(acos_fast(a).into() == 0, 'invalid one'); - let a = FixedTrait::ZERO(); - assert_relative(acos_fast(a), HALF_PI.into(), 'invalid zero', Option::None(())); // PI / 2 + let a = FixedTrait::new(ONE / 2, false); + assert_relative(acos_fast(a), 68629, 'invalid half', error); // 1.3687308642680 - let a = FixedTrait::new(ONE / 2, true); - assert_relative(acos_fast(a), 137258, 'invalid neg half', error); // 2.737461741902 + let a = FixedTrait::ZERO(); + assert_relative(acos_fast(a), HALF_PI.into(), 'invalid zero', Option::None(())); // PI / 2 - let a = FixedTrait::new(ONE, true); - assert_relative(acos_fast(a), PI.into(), 'invalid neg one', Option::None(())); // PI -} + let a = FixedTrait::new(ONE / 2, true); + assert_relative(acos_fast(a), 137258, 'invalid neg half', error); // 2.737461741902 -#[test] -#[should_panic] -#[available_gas(8000000)] -fn test_acos_fail() { - let a = FixedTrait::new(2 * ONE, true); - acos(a); -} + let a = FixedTrait::new(ONE, true); + assert_relative(acos_fast(a), PI.into(), 'invalid neg one', Option::None(())); // PI + } -#[test] -#[available_gas(8000000)] -fn test_atan_fast() { - let error = Option::Some(84); // 1e-5 + #[test] + #[should_panic] + #[available_gas(8000000)] + fn test_acos_fail() { + let a = FixedTrait::new(2 * ONE, true); + acos(a); + } - let a = FixedTrait::new(2 * ONE, false); - assert_relative(atan_fast(a), 72558, 'invalid two', error); + #[test] + #[available_gas(8000000)] + fn test_atan_fast() { + let error = Option::Some(84); // 1e-5 - let a = FixedTrait::ONE(); - assert_relative(atan_fast(a), 51472, 'invalid one', error); + let a = FixedTrait::new(2 * ONE, false); + assert_relative(atan_fast(a), 72558, 'invalid two', error); - let a = FixedTrait::new(ONE / 2, false); - assert_relative(atan_fast(a), 30386, 'invalid half', error); + let a = FixedTrait::ONE(); + assert_relative(atan_fast(a), 51472, 'invalid one', error); - let a = FixedTrait::ZERO(); - assert(atan_fast(a).into() == 0, 'invalid zero'); + let a = FixedTrait::new(ONE / 2, false); + assert_relative(atan_fast(a), 30386, 'invalid half', error); - let a = FixedTrait::new(ONE / 2, true); - assert_relative(atan_fast(a), -30386, 'invalid neg half', error); + let a = FixedTrait::ZERO(); + assert(atan_fast(a).into() == 0, 'invalid zero'); - let a = FixedTrait::new(ONE, true); - assert_relative(atan_fast(a), -51472, 'invalid neg one', error); + let a = FixedTrait::new(ONE / 2, true); + assert_relative(atan_fast(a), -30386, 'invalid neg half', error); - let a = FixedTrait::new(2 * ONE, true); - assert_relative(atan_fast(a), -72558, 'invalid neg two', error); -} + let a = FixedTrait::new(ONE, true); + assert_relative(atan_fast(a), -51472, 'invalid neg one', error); -#[test] -#[available_gas(8000000)] -fn test_atan() { - let a = FixedTrait::new(2 * ONE, false); - assert_relative(atan(a), 72558, 'invalid two', Option::None(())); + let a = FixedTrait::new(2 * ONE, true); + assert_relative(atan_fast(a), -72558, 'invalid neg two', error); + } - let a = FixedTrait::ONE(); - assert_relative(atan(a), 51472, 'invalid one', Option::None(())); + #[test] + #[available_gas(8000000)] + fn test_atan() { + let a = FixedTrait::new(2 * ONE, false); + assert_relative(atan(a), 72558, 'invalid two', Option::None(())); - let a = FixedTrait::new(ONE / 2, false); - assert_relative(atan(a), 30386, 'invalid half', Option::None(())); + let a = FixedTrait::ONE(); + assert_relative(atan(a), 51472, 'invalid one', Option::None(())); - let a = FixedTrait::ZERO(); - assert(atan(a).into() == 0, 'invalid zero'); + let a = FixedTrait::new(ONE / 2, false); + assert_relative(atan(a), 30386, 'invalid half', Option::None(())); - let a = FixedTrait::new(ONE / 2, true); - assert_relative(atan(a), -30386, 'invalid neg half', Option::None(())); + let a = FixedTrait::ZERO(); + assert(atan(a).into() == 0, 'invalid zero'); - let a = FixedTrait::new(ONE, true); - assert_relative(atan(a), -51472, 'invalid neg one', Option::None(())); + let a = FixedTrait::new(ONE / 2, true); + assert_relative(atan(a), -30386, 'invalid neg half', Option::None(())); - let a = FixedTrait::new(2 * ONE, true); - assert_relative(atan(a), -72558, 'invalid neg two', Option::None(())); -} + let a = FixedTrait::new(ONE, true); + assert_relative(atan(a), -51472, 'invalid neg one', Option::None(())); -#[test] -#[available_gas(8000000)] -fn test_asin() { - let error = Option::Some(84); // 1e-5 + let a = FixedTrait::new(2 * ONE, true); + assert_relative(atan(a), -72558, 'invalid neg two', Option::None(())); + } - let a = FixedTrait::ONE(); - assert_relative(asin(a), HALF_PI.into(), 'invalid one', Option::None(())); // PI / 2 + #[test] + #[available_gas(8000000)] + fn test_asin() { + let error = Option::Some(84); // 1e-5 - let a = FixedTrait::new(ONE / 2, false); - assert_relative(asin(a), 34315, 'invalid half', error); + let a = FixedTrait::ONE(); + assert_relative(asin(a), HALF_PI.into(), 'invalid one', Option::None(())); // PI / 2 - let a = FixedTrait::ZERO(); - assert_precise(asin(a), 0, 'invalid zero', Option::None(())); + let a = FixedTrait::new(ONE / 2, false); + assert_relative(asin(a), 34315, 'invalid half', error); - let a = FixedTrait::new(ONE / 2, true); - assert_relative(asin(a), -34315, 'invalid neg half', error); + let a = FixedTrait::ZERO(); + assert_precise(asin(a), 0, 'invalid zero', Option::None(())); - let a = FixedTrait::new(ONE, true); - assert_relative(asin(a), -HALF_PI.into(), 'invalid neg one', Option::None(())); // -PI / 2 -} + let a = FixedTrait::new(ONE / 2, true); + assert_relative(asin(a), -34315, 'invalid neg half', error); -#[test] -#[should_panic] -#[available_gas(8000000)] -fn test_asin_fail() { - let a = FixedTrait::new(2 * ONE, false); - asin(a); -} + let a = FixedTrait::new(ONE, true); + assert_relative(asin(a), -HALF_PI.into(), 'invalid neg one', Option::None(())); // -PI / 2 + } -#[test] -#[available_gas(8000000)] -fn test_cos() { - let a = FixedTrait::new(HALF_PI, false); - assert(cos(a).into() == 0, 'invalid half pi'); + #[test] + #[should_panic] + #[available_gas(8000000)] + fn test_asin_fail() { + let a = FixedTrait::new(2 * ONE, false); + asin(a); + } - let a = FixedTrait::new(HALF_PI / 2, false); - assert_relative(cos(a), 46341, 'invalid quarter pi', Option::None(())); // 0.55242717280199 + #[test] + #[available_gas(8000000)] + fn test_cos() { + let a = FixedTrait::new(HALF_PI, false); + assert(cos(a).into() == 0, 'invalid half pi'); - let a = FixedTrait::new(PI, false); - assert_relative(cos(a), -1 * ONE.into(), 'invalid pi', Option::None(())); + let a = FixedTrait::new(HALF_PI / 2, false); + assert_relative(cos(a), 46341, 'invalid quarter pi', Option::None(())); // 0.55242717280199 - let a = FixedTrait::new(HALF_PI, true); - assert_precise(cos(a), 0, 'invalid neg half pi', Option::None(())); + let a = FixedTrait::new(PI, false); + assert_relative(cos(a), -1 * ONE.into(), 'invalid pi', Option::None(())); - let a = FixedTrait::new_unscaled(17, false); - assert_relative(cos(a), -18033, 'invalid 17', Option::None(())); // -0.21497123284870 + let a = FixedTrait::new(HALF_PI, true); + assert_precise(cos(a), 0, 'invalid neg half pi', Option::None(())); - let a = FixedTrait::new_unscaled(17, true); - assert_relative(cos(a), -18033, 'invalid -17', Option::None(())); // -0.21497123284870 -} + let a = FixedTrait::new_unscaled(17, false); + assert_relative(cos(a), -18033, 'invalid 17', Option::None(())); // -0.21497123284870 -#[test] -#[available_gas(8000000)] -fn test_cos_fast() { - let error = Option::Some(84); // 1e-5 + let a = FixedTrait::new_unscaled(17, true); + assert_relative(cos(a), -18033, 'invalid -17', Option::None(())); // -0.21497123284870 + } - let a = FixedTrait::new(HALF_PI, false); - assert(cos_fast(a).into() == 0, 'invalid half pi'); + #[test] + #[available_gas(8000000)] + fn test_cos_fast() { + let error = Option::Some(84); // 1e-5 - let a = FixedTrait::new(HALF_PI / 2, false); - assert_precise(cos_fast(a), 46341, 'invalid quarter pi', error); // 0.55242717280199 + let a = FixedTrait::new(HALF_PI, false); + assert(cos_fast(a).into() == 0, 'invalid half pi'); - let a = FixedTrait::new(PI, false); - assert_precise(cos_fast(a), -1 * ONE.into(), 'invalid pi', error); + let a = FixedTrait::new(HALF_PI / 2, false); + assert_precise(cos_fast(a), 46341, 'invalid quarter pi', error); // 0.55242717280199 - let a = FixedTrait::new(HALF_PI, true); - assert_precise(cos(a), 0, 'invalid neg half pi', Option::None(())); + let a = FixedTrait::new(PI, false); + assert_precise(cos_fast(a), -1 * ONE.into(), 'invalid pi', error); - let a = FixedTrait::new_unscaled(17, false); - assert_precise(cos_fast(a), -18033, 'invalid 17', error); // -0.21497123284870 -} + let a = FixedTrait::new(HALF_PI, true); + assert_precise(cos(a), 0, 'invalid neg half pi', Option::None(())); + + let a = FixedTrait::new_unscaled(17, false); + assert_precise(cos_fast(a), -18033, 'invalid 17', error); // -0.21497123284870 + } -#[test] -#[available_gas(8000000)] -fn test_sin() { - let a = FixedTrait::new(HALF_PI, false); - assert_precise(sin(a), ONE.into(), 'invalid half pi', Option::None(())); + #[test] + #[available_gas(8000000)] + fn test_sin() { + let a = FixedTrait::new(HALF_PI, false); + assert_precise(sin(a), ONE.into(), 'invalid half pi', Option::None(())); - let a = FixedTrait::new(HALF_PI / 2, false); - assert_precise(sin(a), 46341, 'invalid quarter pi', Option::None(())); // 0.55242717280199 + let a = FixedTrait::new(HALF_PI / 2, false); + assert_precise(sin(a), 46341, 'invalid quarter pi', Option::None(())); // 0.55242717280199 - let a = FixedTrait::new(PI, false); - assert(sin(a).into() == 0, 'invalid pi'); + let a = FixedTrait::new(PI, false); + assert(sin(a).into() == 0, 'invalid pi'); - let a = FixedTrait::new(HALF_PI, true); - assert_precise( - sin(a), -ONE.into(), 'invalid neg half pi', Option::None(()) - ); // 0.78124999999529 + let a = FixedTrait::new(HALF_PI, true); + assert_precise( + sin(a), -ONE.into(), 'invalid neg half pi', Option::None(()) + ); // 0.78124999999529 - let a = FixedTrait::new_unscaled(17, false); - assert_precise(sin(a), -63006, 'invalid 17', Option::None(())); // -0.75109179053073 + let a = FixedTrait::new_unscaled(17, false); + assert_precise(sin(a), -63006, 'invalid 17', Option::None(())); // -0.75109179053073 - let a = FixedTrait::new_unscaled(17, true); - assert_precise(sin(a), 63006, 'invalid -17', Option::None(())); // 0.75109179053073 -} + let a = FixedTrait::new_unscaled(17, true); + assert_precise(sin(a), 63006, 'invalid -17', Option::None(())); // 0.75109179053073 + } -#[test] -#[available_gas(8000000)] -fn test_sin_fast() { - let error = Option::Some(84); // 1e-5 + #[test] + #[available_gas(8000000)] + fn test_sin_fast() { + let error = Option::Some(84); // 1e-5 - let a = FixedTrait::new(HALF_PI, false); - assert_precise(sin_fast(a), ONE.into(), 'invalid half pi', error); + let a = FixedTrait::new(HALF_PI, false); + assert_precise(sin_fast(a), ONE.into(), 'invalid half pi', error); - let a = FixedTrait::new(HALF_PI / 2, false); - assert_precise(sin_fast(a), 46341, 'invalid quarter pi', error); // 0.55242717280199 + let a = FixedTrait::new(HALF_PI / 2, false); + assert_precise(sin_fast(a), 46341, 'invalid quarter pi', error); // 0.55242717280199 - let a = FixedTrait::new(PI, false); - assert(sin_fast(a).into() == 0, 'invalid pi'); + let a = FixedTrait::new(PI, false); + assert(sin_fast(a).into() == 0, 'invalid pi'); - let a = FixedTrait::new(HALF_PI, true); - assert_precise(sin_fast(a), -ONE.into(), 'invalid neg half pi', error); // 0.78124999999529 + let a = FixedTrait::new(HALF_PI, true); + assert_precise(sin_fast(a), -ONE.into(), 'invalid neg half pi', error); // 0.78124999999529 - let a = FixedTrait::new_unscaled(17, false); - assert_precise(sin_fast(a), -63006, 'invalid 17', error); // -0.75109179053073 + let a = FixedTrait::new_unscaled(17, false); + assert_precise(sin_fast(a), -63006, 'invalid 17', error); // -0.75109179053073 - let a = FixedTrait::new_unscaled(17, true); - assert_precise(sin_fast(a), 63006, 'invalid -17', error); // 0.75109179053073 -} + let a = FixedTrait::new_unscaled(17, true); + assert_precise(sin_fast(a), 63006, 'invalid -17', error); // 0.75109179053073 + } -#[test] -#[available_gas(8000000)] -fn test_tan() { - let a = FixedTrait::new(HALF_PI / 2, false); - assert_precise(tan(a), ONE.into(), 'invalid quarter pi', Option::None(())); + #[test] + #[available_gas(8000000)] + fn test_tan() { + let a = FixedTrait::new(HALF_PI / 2, false); + assert_precise(tan(a), ONE.into(), 'invalid quarter pi', Option::None(())); - let a = FixedTrait::new(PI, false); - assert_precise(tan(a), 0, 'invalid pi', Option::None(())); + let a = FixedTrait::new(PI, false); + assert_precise(tan(a), 0, 'invalid pi', Option::None(())); - let a = FixedTrait::new_unscaled(17, false); - assert_precise(tan(a), 228990, 'invalid 17', Option::None(())); // 3.3858731852805 + let a = FixedTrait::new_unscaled(17, false); + assert_precise(tan(a), 228990, 'invalid 17', Option::None(())); // 3.3858731852805 - let a = FixedTrait::new_unscaled(17, true); - assert_precise(tan(a), -228952, 'invalid -17', Option::None(())); // -3.3858731852805 + let a = FixedTrait::new_unscaled(17, true); + assert_precise(tan(a), -228952, 'invalid -17', Option::None(())); // -3.3858731852805 + } } diff --git a/src/numbers/fixed_point/implementations/fp8x23/math/comp.cairo b/src/numbers/fixed_point/implementations/fp8x23/math/comp.cairo index c2158965a..67a5fc08d 100644 --- a/src/numbers/fixed_point/implementations/fp8x23/math/comp.cairo +++ b/src/numbers/fixed_point/implementations/fp8x23/math/comp.cairo @@ -46,40 +46,46 @@ fn and(a: FP8x23, b: FP8x23) -> bool { // Tests -------------------------------------------------------------------------------------------------------------- -#[test] -fn test_max() { - let a = FixedTrait::new_unscaled(1, false); - let b = FixedTrait::new_unscaled(0, false); - let c = FixedTrait::new_unscaled(1, true); - - assert(max(a, a) == a, 'max(a, a)'); - assert(max(a, b) == a, 'max(a, b)'); - assert(max(a, c) == a, 'max(a, c)'); - - assert(max(b, a) == a, 'max(b, a)'); - assert(max(b, b) == b, 'max(b, b)'); - assert(max(b, c) == b, 'max(b, c)'); - - assert(max(c, a) == a, 'max(c, a)'); - assert(max(c, b) == b, 'max(c, b)'); - assert(max(c, c) == c, 'max(c, c)'); -} +#[cfg(test)] +mod tests { + + use super::{FixedTrait, max, min}; + + #[test] + fn test_max() { + let a = FixedTrait::new_unscaled(1, false); + let b = FixedTrait::new_unscaled(0, false); + let c = FixedTrait::new_unscaled(1, true); + + assert(max(a, a) == a, 'max(a, a)'); + assert(max(a, b) == a, 'max(a, b)'); + assert(max(a, c) == a, 'max(a, c)'); -#[test] -fn test_min() { - let a = FixedTrait::new_unscaled(1, false); - let b = FixedTrait::new_unscaled(0, false); - let c = FixedTrait::new_unscaled(1, true); + assert(max(b, a) == a, 'max(b, a)'); + assert(max(b, b) == b, 'max(b, b)'); + assert(max(b, c) == b, 'max(b, c)'); - assert(min(a, a) == a, 'min(a, a)'); - assert(min(a, b) == b, 'min(a, b)'); - assert(min(a, c) == c, 'min(a, c)'); + assert(max(c, a) == a, 'max(c, a)'); + assert(max(c, b) == b, 'max(c, b)'); + assert(max(c, c) == c, 'max(c, c)'); + } + + #[test] + fn test_min() { + let a = FixedTrait::new_unscaled(1, false); + let b = FixedTrait::new_unscaled(0, false); + let c = FixedTrait::new_unscaled(1, true); - assert(min(b, a) == b, 'min(b, a)'); - assert(min(b, b) == b, 'min(b, b)'); - assert(min(b, c) == c, 'min(b, c)'); + assert(min(a, a) == a, 'min(a, a)'); + assert(min(a, b) == b, 'min(a, b)'); + assert(min(a, c) == c, 'min(a, c)'); - assert(min(c, a) == c, 'min(c, a)'); - assert(min(c, b) == c, 'min(c, b)'); - assert(min(c, c) == c, 'min(c, c)'); + assert(min(b, a) == b, 'min(b, a)'); + assert(min(b, b) == b, 'min(b, b)'); + assert(min(b, c) == c, 'min(b, c)'); + + assert(min(c, a) == c, 'min(c, a)'); + assert(min(c, b) == c, 'min(c, b)'); + assert(min(c, c) == c, 'min(c, c)'); + } } diff --git a/src/numbers/fixed_point/implementations/fp8x23/math/core.cairo b/src/numbers/fixed_point/implementations/fp8x23/math/core.cairo index aaeb4f1ed..4ac727357 100644 --- a/src/numbers/fixed_point/implementations/fp8x23/math/core.cairo +++ b/src/numbers/fixed_point/implementations/fp8x23/math/core.cairo @@ -293,368 +293,380 @@ fn sign(a: FP8x23) -> FP8x23 { // Tests -------------------------------------------------------------------------------------------------------------- -use orion::numbers::fixed_point::implementations::fp8x23::helpers::{ - assert_precise, assert_relative -}; -use orion::numbers::fixed_point::implementations::fp8x23::math::trig::{PI, HALF_PI}; +#[cfg(test)] +mod tests { + use orion::numbers::fixed_point::implementations::fp8x23::helpers::{ + assert_precise, assert_relative + }; + use orion::numbers::fixed_point::implementations::fp8x23::math::trig::{PI, HALF_PI}; -#[test] -fn test_into() { - let a = FixedTrait::::new_unscaled(5, false); - assert(a.mag == 5 * ONE, 'invalid result'); -} + use super::{ + FixedTrait, ONE, FP8x23, ceil, floor, sqrt, round, lut, pow, exp, exp2, exp2_int, ln, log2, + log10, eq, add, ne, HALF + }; -#[test] -fn test_try_into_u128() { - // Positive unscaled - let a = FixedTrait::::new_unscaled(5, false); - assert(a.try_into().unwrap() == 5_u128, 'invalid result'); + #[test] + fn test_into() { + let a = FixedTrait::::new_unscaled(5, false); + assert(a.mag == 5 * ONE, 'invalid result'); + } - // Positive scaled - let b = FixedTrait::::new(5 * ONE, false); - assert(b.try_into().unwrap() == 5_u128, 'invalid result'); + #[test] + fn test_try_into_u128() { + // Positive unscaled + let a = FixedTrait::::new_unscaled(5, false); + assert(a.try_into().unwrap() == 5_u128, 'invalid result'); - // Zero - let d = FixedTrait::::new_unscaled(0, false); - assert(d.try_into().unwrap() == 0_u128, 'invalid result'); -} + // Positive scaled + let b = FixedTrait::::new(5 * ONE, false); + assert(b.try_into().unwrap() == 5_u128, 'invalid result'); -#[test] -#[should_panic] -fn test_negative_try_into_u128() { - let a = FixedTrait::::new_unscaled(1, true); - let a: u128 = a.try_into().unwrap(); -} + // Zero + let d = FixedTrait::::new_unscaled(0, false); + assert(d.try_into().unwrap() == 0_u128, 'invalid result'); + } -#[test] -#[available_gas(1000000)] -fn test_acos() { - let a = FixedTrait::::ONE(); - assert(a.acos().into() == 0, 'invalid one'); -} + #[test] + #[should_panic] + fn test_negative_try_into_u128() { + let a = FixedTrait::::new_unscaled(1, true); + let a: u128 = a.try_into().unwrap(); + } -#[test] -#[available_gas(1000000)] -fn test_asin() { - let a = FixedTrait::ONE(); - assert_precise(a.asin(), HALF_PI.into(), 'invalid one', Option::None(())); // PI / 2 -} + #[test] + #[available_gas(1000000)] + fn test_acos() { + let a = FixedTrait::::ONE(); + assert(a.acos().into() == 0, 'invalid one'); + } -#[test] -#[available_gas(2000000)] -fn test_atan() { - let a = FixedTrait::new(2 * ONE, false); - assert_relative(a.atan(), 9287469, 'invalid two', Option::None(())); -} + #[test] + #[available_gas(1000000)] + fn test_asin() { + let a = FixedTrait::ONE(); + assert_precise(a.asin(), HALF_PI.into(), 'invalid one', Option::None(())); // PI / 2 + } -#[test] -fn test_ceil() { - let a = FixedTrait::new(24326963, false); // 2.9 - assert(ceil(a).mag == 3 * ONE, 'invalid pos decimal'); -} + #[test] + #[available_gas(2000000)] + fn test_atan() { + let a = FixedTrait::new(2 * ONE, false); + assert_relative(a.atan(), 9287469, 'invalid two', Option::None(())); + } -#[test] -fn test_floor() { - let a = FixedTrait::new(24326963, false); // 2.9 - assert(floor(a).mag == 2 * ONE, 'invalid pos decimal'); -} + #[test] + fn test_ceil() { + let a = FixedTrait::new(24326963, false); // 2.9 + assert(ceil(a).mag == 3 * ONE, 'invalid pos decimal'); + } -#[test] -fn test_round() { - let a = FixedTrait::new(24326963, false); // 2.9 - assert(round(a).mag == 3 * ONE, 'invalid pos decimal'); -} + #[test] + fn test_floor() { + let a = FixedTrait::new(24326963, false); // 2.9 + assert(floor(a).mag == 2 * ONE, 'invalid pos decimal'); + } -#[test] -#[should_panic] -fn test_sqrt_fail() { - let a = FixedTrait::new_unscaled(25, true); - sqrt(a); -} + #[test] + fn test_round() { + let a = FixedTrait::new(24326963, false); // 2.9 + assert(round(a).mag == 3 * ONE, 'invalid pos decimal'); + } -#[test] -fn test_sqrt() { - let mut a = FixedTrait::new_unscaled(0, false); - assert(sqrt(a).mag == 0, 'invalid zero root'); - a = FixedTrait::new_unscaled(25, false); - assert(sqrt(a).mag == 5 * ONE, 'invalid pos root'); -} + #[test] + #[should_panic] + fn test_sqrt_fail() { + let a = FixedTrait::new_unscaled(25, true); + sqrt(a); + } + #[test] + fn test_sqrt() { + let mut a = FixedTrait::new_unscaled(0, false); + assert(sqrt(a).mag == 0, 'invalid zero root'); + a = FixedTrait::new_unscaled(25, false); + assert(sqrt(a).mag == 5 * ONE, 'invalid pos root'); + } -#[test] -#[available_gas(100000)] -fn test_msb() { - let a = FixedTrait::::new_unscaled(100, false); - let (msb, div) = lut::msb(a.mag / ONE); - assert(msb == 6, 'invalid msb'); - assert(div == 64, 'invalid msb ceil'); -} -#[test] -#[available_gas(600000)] -fn test_pow() { - let a = FixedTrait::new_unscaled(3, false); - let b = FixedTrait::new_unscaled(4, false); - assert(pow(a, b).mag == 81 * ONE, 'invalid pos base power'); -} + #[test] + #[available_gas(100000)] + fn test_msb() { + let a = FixedTrait::::new_unscaled(100, false); + let (msb, div) = lut::msb(a.mag / ONE); + assert(msb == 6, 'invalid msb'); + assert(div == 64, 'invalid msb ceil'); + } -#[test] -#[available_gas(900000)] -fn test_pow_frac() { - let a = FixedTrait::new_unscaled(3, false); - let b = FixedTrait::new(4194304, false); // 0.5 - assert_relative( - pow(a, b), 14529495, 'invalid pos base power', Option::None(()) - ); // 1.7320508075688772 -} + #[test] + #[available_gas(600000)] + fn test_pow() { + let a = FixedTrait::new_unscaled(3, false); + let b = FixedTrait::new_unscaled(4, false); + assert(pow(a, b).mag == 81 * ONE, 'invalid pos base power'); + } -#[test] -#[available_gas(1000000)] -fn test_exp() { - let a = FixedTrait::new_unscaled(2, false); - assert_relative(exp(a), 61983895, 'invalid exp of 2', Option::None(())); // 7.389056098793725 -} + #[test] + #[available_gas(900000)] + fn test_pow_frac() { + let a = FixedTrait::new_unscaled(3, false); + let b = FixedTrait::new(4194304, false); // 0.5 + assert_relative( + pow(a, b), 14529495, 'invalid pos base power', Option::None(()) + ); // 1.7320508075688772 + } -#[test] -#[available_gas(400000)] -fn test_exp2() { - let a = FixedTrait::new_unscaled(5, false); - assert(exp2(a).mag == 268435456, 'invalid exp2 of 2'); -} + #[test] + #[available_gas(1000000)] + fn test_exp() { + let a = FixedTrait::new_unscaled(2, false); + assert_relative( + exp(a), 61983895, 'invalid exp of 2', Option::None(()) + ); // 7.389056098793725 + } -#[test] -#[available_gas(20000)] -fn test_exp2_int() { - assert(exp2_int(5).into() == 268435456, 'invalid exp2 of 2'); -} + #[test] + #[available_gas(400000)] + fn test_exp2() { + let a = FixedTrait::new_unscaled(5, false); + assert(exp2(a).mag == 268435456, 'invalid exp2 of 2'); + } -#[test] -#[available_gas(1000000)] -fn test_ln() { - let mut a = FixedTrait::new_unscaled(1, false); - assert(ln(a).mag == 0, 'invalid ln of 1'); + #[test] + #[available_gas(20000)] + fn test_exp2_int() { + assert(exp2_int(5).into() == 268435456, 'invalid exp2 of 2'); + } - a = FixedTrait::new(22802601, false); - assert_relative(ln(a), ONE.into(), 'invalid ln of 2.7...', Option::None(())); -} + #[test] + #[available_gas(1000000)] + fn test_ln() { + let mut a = FixedTrait::new_unscaled(1, false); + assert(ln(a).mag == 0, 'invalid ln of 1'); -#[test] -#[available_gas(1000000)] -fn test_log2() { - let mut a = FixedTrait::new_unscaled(32, false); - assert(log2(a) == FixedTrait::new_unscaled(5, false), 'invalid log2 32'); + a = FixedTrait::new(22802601, false); + assert_relative(ln(a), ONE.into(), 'invalid ln of 2.7...', Option::None(())); + } - a = FixedTrait::new_unscaled(10, false); - assert_relative(log2(a), 27866353, 'invalid log2 10', Option::None(())); // 3.321928094887362 -} + #[test] + #[available_gas(1000000)] + fn test_log2() { + let mut a = FixedTrait::new_unscaled(32, false); + assert(log2(a) == FixedTrait::new_unscaled(5, false), 'invalid log2 32'); -#[test] -#[available_gas(1000000)] -fn test_log10() { - let a = FixedTrait::new_unscaled(100, false); - assert_relative(log10(a), 2 * ONE.into(), 'invalid log10', Option::None(())); -} + a = FixedTrait::new_unscaled(10, false); + assert_relative( + log2(a), 27866353, 'invalid log2 10', Option::None(()) + ); // 3.321928094887362 + } -#[test] -fn test_eq() { - let a = FixedTrait::new_unscaled(42, false); - let b = FixedTrait::new_unscaled(42, false); - let c = eq(@a, @b); - assert(c == true, 'invalid result'); -} + #[test] + #[available_gas(1000000)] + fn test_log10() { + let a = FixedTrait::new_unscaled(100, false); + assert_relative(log10(a), 2 * ONE.into(), 'invalid log10', Option::None(())); + } -#[test] -fn test_ne() { - let a = FixedTrait::new_unscaled(42, false); - let b = FixedTrait::new_unscaled(42, false); - let c = ne(@a, @b); - assert(c == false, 'invalid result'); -} + #[test] + fn test_eq() { + let a = FixedTrait::new_unscaled(42, false); + let b = FixedTrait::new_unscaled(42, false); + let c = eq(@a, @b); + assert(c == true, 'invalid result'); + } -#[test] -fn test_add() { - let a = FixedTrait::new_unscaled(1, false); - let b = FixedTrait::new_unscaled(2, false); - assert(add(a, b) == FixedTrait::new_unscaled(3, false), 'invalid result'); -} + #[test] + fn test_ne() { + let a = FixedTrait::new_unscaled(42, false); + let b = FixedTrait::new_unscaled(42, false); + let c = ne(@a, @b); + assert(c == false, 'invalid result'); + } -#[test] -fn test_add_eq() { - let mut a = FixedTrait::new_unscaled(1, false); - let b = FixedTrait::new_unscaled(2, false); - a += b; - assert(a == FixedTrait::::new_unscaled(3, false), 'invalid result'); -} + #[test] + fn test_add() { + let a = FixedTrait::new_unscaled(1, false); + let b = FixedTrait::new_unscaled(2, false); + assert(add(a, b) == FixedTrait::new_unscaled(3, false), 'invalid result'); + } -#[test] -fn test_sub() { - let a = FixedTrait::new_unscaled(5, false); - let b = FixedTrait::new_unscaled(2, false); - let c = a - b; - assert(c == FixedTrait::::new_unscaled(3, false), 'false result invalid'); -} + #[test] + fn test_add_eq() { + let mut a = FixedTrait::new_unscaled(1, false); + let b = FixedTrait::new_unscaled(2, false); + a += b; + assert(a == FixedTrait::::new_unscaled(3, false), 'invalid result'); + } -#[test] -fn test_sub_eq() { - let mut a = FixedTrait::new_unscaled(5, false); - let b = FixedTrait::new_unscaled(2, false); - a -= b; - assert(a == FixedTrait::::new_unscaled(3, false), 'invalid result'); -} + #[test] + fn test_sub() { + let a = FixedTrait::new_unscaled(5, false); + let b = FixedTrait::new_unscaled(2, false); + let c = a - b; + assert(c == FixedTrait::::new_unscaled(3, false), 'false result invalid'); + } -#[test] -#[available_gas(100000)] -fn test_mul_pos() { - let a = FP8x23 { mag: 24326963, sign: false }; - let b = FP8x23 { mag: 24326963, sign: false }; - let c = a * b; - assert(c.mag == 70548192, 'invalid result'); -} + #[test] + fn test_sub_eq() { + let mut a = FixedTrait::new_unscaled(5, false); + let b = FixedTrait::new_unscaled(2, false); + a -= b; + assert(a == FixedTrait::::new_unscaled(3, false), 'invalid result'); + } -#[test] -fn test_mul_neg() { - let a = FixedTrait::new_unscaled(5, false); - let b = FixedTrait::new_unscaled(2, true); - let c = a * b; - assert(c == FixedTrait::::new_unscaled(10, true), 'invalid result'); -} + #[test] + #[available_gas(100000)] + fn test_mul_pos() { + let a = FP8x23 { mag: 24326963, sign: false }; + let b = FP8x23 { mag: 24326963, sign: false }; + let c = a * b; + assert(c.mag == 70548192, 'invalid result'); + } -#[test] -fn test_mul_eq() { - let mut a = FixedTrait::new_unscaled(5, false); - let b = FixedTrait::new_unscaled(2, true); - a *= b; - assert(a == FixedTrait::::new_unscaled(10, true), 'invalid result'); -} + #[test] + fn test_mul_neg() { + let a = FixedTrait::new_unscaled(5, false); + let b = FixedTrait::new_unscaled(2, true); + let c = a * b; + assert(c == FixedTrait::::new_unscaled(10, true), 'invalid result'); + } -#[test] -fn test_div() { - let a = FixedTrait::new_unscaled(10, false); - let b = FixedTrait::::new(24326963, false); // 2.9 - let c = a / b; - assert(c.mag == 28926234, 'invalid pos decimal'); // 3.4482758620689653 -} + #[test] + fn test_mul_eq() { + let mut a = FixedTrait::new_unscaled(5, false); + let b = FixedTrait::new_unscaled(2, true); + a *= b; + assert(a == FixedTrait::::new_unscaled(10, true), 'invalid result'); + } -#[test] -fn test_le() { - let a = FixedTrait::new_unscaled(1, false); - let b = FixedTrait::new_unscaled(0, false); - let c = FixedTrait::::new_unscaled(1, true); + #[test] + fn test_div() { + let a = FixedTrait::new_unscaled(10, false); + let b = FixedTrait::::new(24326963, false); // 2.9 + let c = a / b; + assert(c.mag == 28926234, 'invalid pos decimal'); // 3.4482758620689653 + } - assert(a <= a, 'a <= a'); - assert(a <= b == false, 'a <= b'); - assert(a <= c == false, 'a <= c'); + #[test] + fn test_le() { + let a = FixedTrait::new_unscaled(1, false); + let b = FixedTrait::new_unscaled(0, false); + let c = FixedTrait::::new_unscaled(1, true); - assert(b <= a, 'b <= a'); - assert(b <= b, 'b <= b'); - assert(b <= c == false, 'b <= c'); + assert(a <= a, 'a <= a'); + assert(a <= b == false, 'a <= b'); + assert(a <= c == false, 'a <= c'); - assert(c <= a, 'c <= a'); - assert(c <= b, 'c <= b'); - assert(c <= c, 'c <= c'); -} + assert(b <= a, 'b <= a'); + assert(b <= b, 'b <= b'); + assert(b <= c == false, 'b <= c'); -#[test] -fn test_lt() { - let a = FixedTrait::new_unscaled(1, false); - let b = FixedTrait::new_unscaled(0, false); - let c = FixedTrait::::new_unscaled(1, true); + assert(c <= a, 'c <= a'); + assert(c <= b, 'c <= b'); + assert(c <= c, 'c <= c'); + } - assert(a < a == false, 'a < a'); - assert(a < b == false, 'a < b'); - assert(a < c == false, 'a < c'); + #[test] + fn test_lt() { + let a = FixedTrait::new_unscaled(1, false); + let b = FixedTrait::new_unscaled(0, false); + let c = FixedTrait::::new_unscaled(1, true); - assert(b < a, 'b < a'); - assert(b < b == false, 'b < b'); - assert(b < c == false, 'b < c'); + assert(a < a == false, 'a < a'); + assert(a < b == false, 'a < b'); + assert(a < c == false, 'a < c'); - assert(c < a, 'c < a'); - assert(c < b, 'c < b'); - assert(c < c == false, 'c < c'); -} + assert(b < a, 'b < a'); + assert(b < b == false, 'b < b'); + assert(b < c == false, 'b < c'); -#[test] -fn test_ge() { - let a = FixedTrait::new_unscaled(1, false); - let b = FixedTrait::new_unscaled(0, false); - let c = FixedTrait::::new_unscaled(1, true); + assert(c < a, 'c < a'); + assert(c < b, 'c < b'); + assert(c < c == false, 'c < c'); + } - assert(a >= a, 'a >= a'); - assert(a >= b, 'a >= b'); - assert(a >= c, 'a >= c'); + #[test] + fn test_ge() { + let a = FixedTrait::new_unscaled(1, false); + let b = FixedTrait::new_unscaled(0, false); + let c = FixedTrait::::new_unscaled(1, true); - assert(b >= a == false, 'b >= a'); - assert(b >= b, 'b >= b'); - assert(b >= c, 'b >= c'); + assert(a >= a, 'a >= a'); + assert(a >= b, 'a >= b'); + assert(a >= c, 'a >= c'); - assert(c >= a == false, 'c >= a'); - assert(c >= b == false, 'c >= b'); - assert(c >= c, 'c >= c'); -} + assert(b >= a == false, 'b >= a'); + assert(b >= b, 'b >= b'); + assert(b >= c, 'b >= c'); -#[test] -fn test_gt() { - let a = FixedTrait::new_unscaled(1, false); - let b = FixedTrait::new_unscaled(0, false); - let c = FixedTrait::::new_unscaled(1, true); + assert(c >= a == false, 'c >= a'); + assert(c >= b == false, 'c >= b'); + assert(c >= c, 'c >= c'); + } - assert(a > a == false, 'a > a'); - assert(a > b, 'a > b'); - assert(a > c, 'a > c'); + #[test] + fn test_gt() { + let a = FixedTrait::new_unscaled(1, false); + let b = FixedTrait::new_unscaled(0, false); + let c = FixedTrait::::new_unscaled(1, true); - assert(b > a == false, 'b > a'); - assert(b > b == false, 'b > b'); - assert(b > c, 'b > c'); + assert(a > a == false, 'a > a'); + assert(a > b, 'a > b'); + assert(a > c, 'a > c'); - assert(c > a == false, 'c > a'); - assert(c > b == false, 'c > b'); - assert(c > c == false, 'c > c'); -} + assert(b > a == false, 'b > a'); + assert(b > b == false, 'b > b'); + assert(b > c, 'b > c'); -#[test] -#[available_gas(1000000)] -fn test_cos() { - let a = FixedTrait::::new(HALF_PI, false); - assert(a.cos().into() == 0, 'invalid half pi'); -} + assert(c > a == false, 'c > a'); + assert(c > b == false, 'c > b'); + assert(c > c == false, 'c > c'); + } -#[test] -#[available_gas(1000000)] -fn test_sin() { - let a = FixedTrait::new(HALF_PI, false); - assert_precise(a.sin(), ONE.into(), 'invalid half pi', Option::None(())); -} + #[test] + #[available_gas(1000000)] + fn test_cos() { + let a = FixedTrait::::new(HALF_PI, false); + assert(a.cos().into() == 0, 'invalid half pi'); + } -#[test] -#[available_gas(2000000)] -fn test_tan() { - let a = FixedTrait::::new(HALF_PI / 2, false); - assert(a.tan().mag == 8388608, 'invalid quarter pi'); -} + #[test] + #[available_gas(1000000)] + fn test_sin() { + let a = FixedTrait::new(HALF_PI, false); + assert_precise(a.sin(), ONE.into(), 'invalid half pi', Option::None(())); + } -#[test] -#[available_gas(2000000)] -fn test_sign() { - let a = FixedTrait::::new(0, false); - assert(a.sign().mag == 0 && !a.sign().sign, 'invalid sign (0, true)'); + #[test] + #[available_gas(2000000)] + fn test_tan() { + let a = FixedTrait::::new(HALF_PI / 2, false); + assert(a.tan().mag == 8388608, 'invalid quarter pi'); + } - let a = FixedTrait::::new(HALF, true); - assert(a.sign().mag == ONE && a.sign().sign, 'invalid sign (HALF, true)'); + #[test] + #[available_gas(2000000)] + fn test_sign() { + let a = FixedTrait::::new(0, false); + assert(a.sign().mag == 0 && !a.sign().sign, 'invalid sign (0, true)'); - let a = FixedTrait::::new(HALF, false); - assert(a.sign().mag == ONE && !a.sign().sign, 'invalid sign (HALF, false)'); + let a = FixedTrait::::new(HALF, true); + assert(a.sign().mag == ONE && a.sign().sign, 'invalid sign (HALF, true)'); - let a = FixedTrait::::new(ONE, true); - assert(a.sign().mag == ONE && a.sign().sign, 'invalid sign (ONE, true)'); + let a = FixedTrait::::new(HALF, false); + assert(a.sign().mag == ONE && !a.sign().sign, 'invalid sign (HALF, false)'); - let a = FixedTrait::::new(ONE, false); - assert(a.sign().mag == ONE && !a.sign().sign, 'invalid sign (ONE, false)'); -} + let a = FixedTrait::::new(ONE, true); + assert(a.sign().mag == ONE && a.sign().sign, 'invalid sign (ONE, true)'); -#[test] -#[should_panic] -#[available_gas(2000000)] -fn test_sign_fail() { - let a = FixedTrait::::new(HALF, true); - assert(a.sign().mag != ONE && !a.sign().sign, 'invalid sign (HALF, true)'); + let a = FixedTrait::::new(ONE, false); + assert(a.sign().mag == ONE && !a.sign().sign, 'invalid sign (ONE, false)'); + } + + #[test] + #[should_panic] + #[available_gas(2000000)] + fn test_sign_fail() { + let a = FixedTrait::::new(HALF, true); + assert(a.sign().mag != ONE && !a.sign().sign, 'invalid sign (HALF, true)'); + } } diff --git a/src/numbers/fixed_point/implementations/fp8x23/math/hyp.cairo b/src/numbers/fixed_point/implementations/fp8x23/math/hyp.cairo index a81faf9c9..aa07ded7d 100644 --- a/src/numbers/fixed_point/implementations/fp8x23/math/hyp.cairo +++ b/src/numbers/fixed_point/implementations/fp8x23/math/hyp.cairo @@ -45,115 +45,132 @@ fn atanh(a: FP8x23) -> FP8x23 { // Tests -------------------------------------------------------------------------------------------------------------- -use option::OptionTrait; -use traits::Into; - -use orion::numbers::fixed_point::implementations::fp8x23::helpers::assert_precise; - -#[test] -#[available_gas(10000000)] -fn test_cosh() { - let a = FixedTrait::new(TWO, false); - assert_precise(cosh(a), 31559585, 'invalid two', Option::None(())); // 3.762195691016423 - - let a = FixedTrait::ONE(); - assert_precise(cosh(a), 12944299, 'invalid one', Option::None(())); // 1.5430806347841253 - - let a = FixedTrait::ZERO(); - assert_precise(cosh(a), ONE.into(), 'invalid zero', Option::None(())); - - let a = FixedTrait::ONE(); - assert_precise(cosh(a), 12944299, 'invalid neg one', Option::None(())); // 1.5430806347841253 - - let a = FixedTrait::new(TWO, true); - assert_precise(cosh(a), 31559602, 'invalid neg two', Option::None(())); // 3.762195691016423 -} - -#[test] -#[available_gas(10000000)] -fn test_sinh() { - let a = FixedTrait::new(TWO, false); - assert_precise(sinh(a), 30424310, 'invalid two', Option::None(())); // 3.6268604077773023 - - let a = FixedTrait::ONE(); - assert_precise(sinh(a), 9858302, 'invalid one', Option::None(())); // 1.1752011936029418 - - let a = FixedTrait::ZERO(); - assert(sinh(a).into() == 0, 'invalid zero'); - - let a = FixedTrait::new(ONE, true); - assert_precise(sinh(a), -9858302, 'invalid neg one', Option::None(())); // -1.1752011936029418 - - let a = FixedTrait::new(TWO, true); - assert_precise(sinh(a), -30424328, 'invalid neg two', Option::None(())); // -3.6268604077773023 -} - -#[test] -#[available_gas(10000000)] -fn test_tanh() { - let a = FixedTrait::new(TWO, false); - assert_precise(tanh(a), 8086849, 'invalid two', Option::None(())); // 0.9640275800745076 - - let a = FixedTrait::ONE(); - assert_precise(tanh(a), 6388715, 'invalid one', Option::None(())); // 0.7615941559446443 - - let a = FixedTrait::ZERO(); - assert(tanh(a).into() == 0, 'invalid zero'); - - let a = FixedTrait::new(ONE, true); - assert_precise(tanh(a), -6388715, 'invalid neg one', Option::None(())); // -0.7615941559446443 - - let a = FixedTrait::new(TWO, true); - assert_precise(tanh(a), -8086849, 'invalid neg two', Option::None(())); // 0.9640275800745076 -} - -#[test] -#[available_gas(10000000)] -fn test_acosh() { - let a = FixedTrait::new(31559585, false); // 3.762195691016423 - assert_precise(acosh(a), 16777257, 'invalid two', Option::None(())); - - let a = FixedTrait::new(12944299, false); // 1.5430806347841253 - assert_precise(acosh(a), ONE.into(), 'invalid one', Option::None(())); - - let a = FixedTrait::ONE(); // 1 - assert(acosh(a).into() == 0, 'invalid zero'); -} - -#[test] -#[available_gas(10000000)] -fn test_asinh() { - let a = FixedTrait::new(30424310, false); // 3.6268604077773023 - assert_precise(asinh(a), 16777257, 'invalid two', Option::None(())); - - let a = FixedTrait::new(9858302, false); // 1.1752011936029418 - assert_precise(asinh(a), ONE.into(), 'invalid one', Option::None(())); - - let a = FixedTrait::ZERO(); - assert(asinh(a).into() == 0, 'invalid zero'); - - let a = FixedTrait::new(9858302, true); // -1.1752011936029418 - assert_precise(asinh(a), -ONE.into(), 'invalid neg one', Option::None(())); - - let a = FixedTrait::new(30424310, true); // -3.6268604077773023 - assert_precise(asinh(a), -16777238, 'invalid neg two', Option::None(())); -} - -#[test] -#[available_gas(10000000)] -fn test_atanh() { - let a = FixedTrait::new(7549747, false); // 0.9 - assert_precise(atanh(a), 12349872, 'invalid 0.9', Option::None(())); // 1.4722194895832204 - - let a = FixedTrait::new(HALF, false); // 0.5 - assert_precise(atanh(a), 4607914, 'invalid half', Option::None(())); // 0.5493061443340548 - - let a = FixedTrait::ZERO(); - assert(atanh(a).into() == 0, 'invalid zero'); - - let a = FixedTrait::new(HALF, true); // 0.5 - assert_precise(atanh(a), -4607914, 'invalid neg half', Option::None(())); // 0.5493061443340548 - - let a = FixedTrait::new(7549747, true); // 0.9 - assert_precise(atanh(a), -12349872, 'invalid -0.9', Option::None(())); // 1.4722194895832204 +#[cfg(test)] +mod tests { + use option::OptionTrait; + use traits::Into; + + use orion::numbers::fixed_point::implementations::fp8x23::helpers::assert_precise; + + use super::{FixedTrait, TWO, cosh, ONE, sinh, tanh, acosh, asinh, atanh, HALF}; + + #[test] + #[available_gas(10000000)] + fn test_cosh() { + let a = FixedTrait::new(TWO, false); + assert_precise(cosh(a), 31559585, 'invalid two', Option::None(())); // 3.762195691016423 + + let a = FixedTrait::ONE(); + assert_precise(cosh(a), 12944299, 'invalid one', Option::None(())); // 1.5430806347841253 + + let a = FixedTrait::ZERO(); + assert_precise(cosh(a), ONE.into(), 'invalid zero', Option::None(())); + + let a = FixedTrait::ONE(); + assert_precise( + cosh(a), 12944299, 'invalid neg one', Option::None(()) + ); // 1.5430806347841253 + + let a = FixedTrait::new(TWO, true); + assert_precise(cosh(a), 31559602, 'invalid neg two', Option::None(())); // 3.762195691016423 + } + + #[test] + #[available_gas(10000000)] + fn test_sinh() { + let a = FixedTrait::new(TWO, false); + assert_precise(sinh(a), 30424310, 'invalid two', Option::None(())); // 3.6268604077773023 + + let a = FixedTrait::ONE(); + assert_precise(sinh(a), 9858302, 'invalid one', Option::None(())); // 1.1752011936029418 + + let a = FixedTrait::ZERO(); + assert(sinh(a).into() == 0, 'invalid zero'); + + let a = FixedTrait::new(ONE, true); + assert_precise( + sinh(a), -9858302, 'invalid neg one', Option::None(()) + ); // -1.1752011936029418 + + let a = FixedTrait::new(TWO, true); + assert_precise( + sinh(a), -30424328, 'invalid neg two', Option::None(()) + ); // -3.6268604077773023 + } + + #[test] + #[available_gas(10000000)] + fn test_tanh() { + let a = FixedTrait::new(TWO, false); + assert_precise(tanh(a), 8086849, 'invalid two', Option::None(())); // 0.9640275800745076 + + let a = FixedTrait::ONE(); + assert_precise(tanh(a), 6388715, 'invalid one', Option::None(())); // 0.7615941559446443 + + let a = FixedTrait::ZERO(); + assert(tanh(a).into() == 0, 'invalid zero'); + + let a = FixedTrait::new(ONE, true); + assert_precise( + tanh(a), -6388715, 'invalid neg one', Option::None(()) + ); // -0.7615941559446443 + + let a = FixedTrait::new(TWO, true); + assert_precise( + tanh(a), -8086849, 'invalid neg two', Option::None(()) + ); // 0.9640275800745076 + } + + #[test] + #[available_gas(10000000)] + fn test_acosh() { + let a = FixedTrait::new(31559585, false); // 3.762195691016423 + assert_precise(acosh(a), 16777257, 'invalid two', Option::None(())); + + let a = FixedTrait::new(12944299, false); // 1.5430806347841253 + assert_precise(acosh(a), ONE.into(), 'invalid one', Option::None(())); + + let a = FixedTrait::ONE(); // 1 + assert(acosh(a).into() == 0, 'invalid zero'); + } + + #[test] + #[available_gas(10000000)] + fn test_asinh() { + let a = FixedTrait::new(30424310, false); // 3.6268604077773023 + assert_precise(asinh(a), 16777257, 'invalid two', Option::None(())); + + let a = FixedTrait::new(9858302, false); // 1.1752011936029418 + assert_precise(asinh(a), ONE.into(), 'invalid one', Option::None(())); + + let a = FixedTrait::ZERO(); + assert(asinh(a).into() == 0, 'invalid zero'); + + let a = FixedTrait::new(9858302, true); // -1.1752011936029418 + assert_precise(asinh(a), -ONE.into(), 'invalid neg one', Option::None(())); + + let a = FixedTrait::new(30424310, true); // -3.6268604077773023 + assert_precise(asinh(a), -16777238, 'invalid neg two', Option::None(())); + } + + #[test] + #[available_gas(10000000)] + fn test_atanh() { + let a = FixedTrait::new(7549747, false); // 0.9 + assert_precise(atanh(a), 12349872, 'invalid 0.9', Option::None(())); // 1.4722194895832204 + + let a = FixedTrait::new(HALF, false); // 0.5 + assert_precise(atanh(a), 4607914, 'invalid half', Option::None(())); // 0.5493061443340548 + + let a = FixedTrait::ZERO(); + assert(atanh(a).into() == 0, 'invalid zero'); + + let a = FixedTrait::new(HALF, true); // 0.5 + assert_precise( + atanh(a), -4607914, 'invalid neg half', Option::None(()) + ); // 0.5493061443340548 + + let a = FixedTrait::new(7549747, true); // 0.9 + assert_precise(atanh(a), -12349872, 'invalid -0.9', Option::None(())); // 1.4722194895832204 + } } diff --git a/src/numbers/fixed_point/implementations/fp8x23/math/trig.cairo b/src/numbers/fixed_point/implementations/fp8x23/math/trig.cairo index b998f1a4b..16cb40189 100644 --- a/src/numbers/fixed_point/implementations/fp8x23/math/trig.cairo +++ b/src/numbers/fixed_point/implementations/fp8x23/math/trig.cairo @@ -203,246 +203,260 @@ fn _sin_loop(a: FP8x23, i: u32, acc: FP8x23) -> FP8x23 { // Tests -------------------------------------------------------------------------------------------------------------- -use traits::Into; +#[cfg(test)] +mod tests { + use traits::Into; -use orion::numbers::fixed_point::implementations::fp8x23::helpers::{ - assert_precise, assert_relative -}; + use orion::numbers::fixed_point::implementations::fp8x23::helpers::{ + assert_precise, assert_relative + }; -#[test] -#[available_gas(3000000)] -fn test_acos() { - let error = Option::Some(84); // 1e-5 + use super::{ + FixedTrait, acos, HALF_PI, ONE, acos_fast, PI, atan_fast, atan, asin, cos, cos_fast, sin, + sin_fast, tan + }; - let a = FixedTrait::ONE(); - assert(acos(a).into() == 0, 'invalid one'); + #[test] + #[available_gas(3000000)] + fn test_acos() { + let error = Option::Some(84); // 1e-5 - let a = FixedTrait::new(ONE / 2, false); - assert_relative(acos(a), 8784530, 'invalid half', error); // 1.0471975506263043 + let a = FixedTrait::ONE(); + assert(acos(a).into() == 0, 'invalid one'); - let a = FixedTrait::ZERO(); - assert_relative(acos(a), HALF_PI.into(), 'invalid zero', Option::None(())); // PI / 2 + let a = FixedTrait::new(ONE / 2, false); + assert_relative(acos(a), 8784530, 'invalid half', error); // 1.0471975506263043 - let a = FixedTrait::new(ONE / 2, true); - assert_relative(acos(a), 17569060, 'invalid neg half', error); // 2.094395102963489 + let a = FixedTrait::ZERO(); + assert_relative(acos(a), HALF_PI.into(), 'invalid zero', Option::None(())); // PI / 2 - let a = FixedTrait::new(ONE, true); - assert_relative(acos(a), PI.into(), 'invalid neg one', Option::None(())); // PI -} + let a = FixedTrait::new(ONE / 2, true); + assert_relative(acos(a), 17569060, 'invalid neg half', error); // 2.094395102963489 -#[test] -#[available_gas(3000000)] -fn test_acos_fast() { - let error = Option::Some(84); // 1e-5 + let a = FixedTrait::new(ONE, true); + assert_relative(acos(a), PI.into(), 'invalid neg one', Option::None(())); // PI + } - let a = FixedTrait::ONE(); - assert(acos_fast(a).into() == 0, 'invalid one'); + #[test] + #[available_gas(3000000)] + fn test_acos_fast() { + let error = Option::Some(84); // 1e-5 - let a = FixedTrait::new(ONE / 2, false); - assert_relative(acos_fast(a), 8784530, 'invalid half', error); // 1.0471975506263043 + let a = FixedTrait::ONE(); + assert(acos_fast(a).into() == 0, 'invalid one'); - let a = FixedTrait::ZERO(); - assert_relative(acos_fast(a), HALF_PI.into(), 'invalid zero', Option::None(())); // PI / 2 + let a = FixedTrait::new(ONE / 2, false); + assert_relative(acos_fast(a), 8784530, 'invalid half', error); // 1.0471975506263043 - let a = FixedTrait::new(ONE / 2, true); - assert_relative(acos_fast(a), 17569060, 'invalid neg half', error); // 2.094395102963489 + let a = FixedTrait::ZERO(); + assert_relative(acos_fast(a), HALF_PI.into(), 'invalid zero', Option::None(())); // PI / 2 - let a = FixedTrait::new(ONE, true); - assert_relative(acos_fast(a), PI.into(), 'invalid neg one', Option::None(())); // PI -} + let a = FixedTrait::new(ONE / 2, true); + assert_relative(acos_fast(a), 17569060, 'invalid neg half', error); // 2.094395102963489 -#[test] -#[should_panic] -#[available_gas(1000000)] -fn test_acos_fail() { - let a = FixedTrait::new(2 * ONE, true); - acos(a); -} + let a = FixedTrait::new(ONE, true); + assert_relative(acos_fast(a), PI.into(), 'invalid neg one', Option::None(())); // PI + } -#[test] -#[available_gas(1400000)] -fn test_atan_fast() { - let error = Option::Some(84); // 1e-5 + #[test] + #[should_panic] + #[available_gas(1000000)] + fn test_acos_fail() { + let a = FixedTrait::new(2 * ONE, true); + acos(a); + } - let a = FixedTrait::new(2 * ONE, false); - assert_relative(atan_fast(a), 9287437, 'invalid two', error); + #[test] + #[available_gas(1400000)] + fn test_atan_fast() { + let error = Option::Some(84); // 1e-5 - let a = FixedTrait::ONE(); - assert_relative(atan_fast(a), 6588397, 'invalid one', error); + let a = FixedTrait::new(2 * ONE, false); + assert_relative(atan_fast(a), 9287437, 'invalid two', error); - let a = FixedTrait::new(ONE / 2, false); - assert_relative(atan_fast(a), 3889358, 'invalid half', error); + let a = FixedTrait::ONE(); + assert_relative(atan_fast(a), 6588397, 'invalid one', error); - let a = FixedTrait::ZERO(); - assert(atan_fast(a).into() == 0, 'invalid zero'); + let a = FixedTrait::new(ONE / 2, false); + assert_relative(atan_fast(a), 3889358, 'invalid half', error); - let a = FixedTrait::new(ONE / 2, true); - assert_relative(atan_fast(a), -3889358, 'invalid neg half', error); + let a = FixedTrait::ZERO(); + assert(atan_fast(a).into() == 0, 'invalid zero'); - let a = FixedTrait::new(ONE, true); - assert_relative(atan_fast(a), -6588397, 'invalid neg one', error); + let a = FixedTrait::new(ONE / 2, true); + assert_relative(atan_fast(a), -3889358, 'invalid neg half', error); - let a = FixedTrait::new(2 * ONE, true); - assert_relative(atan_fast(a), -9287437, 'invalid neg two', error); -} + let a = FixedTrait::new(ONE, true); + assert_relative(atan_fast(a), -6588397, 'invalid neg one', error); -#[test] -#[available_gas(2600000)] -fn test_atan() { - let a = FixedTrait::new(2 * ONE, false); - assert_relative(atan(a), 9287437, 'invalid two', Option::None(())); + let a = FixedTrait::new(2 * ONE, true); + assert_relative(atan_fast(a), -9287437, 'invalid neg two', error); + } - let a = FixedTrait::ONE(); - assert_relative(atan(a), 6588397, 'invalid one', Option::None(())); + #[test] + #[available_gas(2600000)] + fn test_atan() { + let a = FixedTrait::new(2 * ONE, false); + assert_relative(atan(a), 9287437, 'invalid two', Option::None(())); - let a = FixedTrait::new(ONE / 2, false); - assert_relative(atan(a), 3889358, 'invalid half', Option::None(())); + let a = FixedTrait::ONE(); + assert_relative(atan(a), 6588397, 'invalid one', Option::None(())); - let a = FixedTrait::ZERO(); - assert(atan(a).into() == 0, 'invalid zero'); + let a = FixedTrait::new(ONE / 2, false); + assert_relative(atan(a), 3889358, 'invalid half', Option::None(())); - let a = FixedTrait::new(ONE / 2, true); - assert_relative(atan(a), -3889358, 'invalid neg half', Option::None(())); + let a = FixedTrait::ZERO(); + assert(atan(a).into() == 0, 'invalid zero'); - let a = FixedTrait::new(ONE, true); - assert_relative(atan(a), -6588397, 'invalid neg one', Option::None(())); + let a = FixedTrait::new(ONE / 2, true); + assert_relative(atan(a), -3889358, 'invalid neg half', Option::None(())); - let a = FixedTrait::new(2 * ONE, true); - assert_relative(atan(a), -9287437, 'invalid neg two', Option::None(())); -} + let a = FixedTrait::new(ONE, true); + assert_relative(atan(a), -6588397, 'invalid neg one', Option::None(())); -#[test] -#[available_gas(3000000)] -fn test_asin() { - let error = Option::Some(84); // 1e-5 + let a = FixedTrait::new(2 * ONE, true); + assert_relative(atan(a), -9287437, 'invalid neg two', Option::None(())); + } - let a = FixedTrait::ONE(); - assert_relative(asin(a), HALF_PI.into(), 'invalid one', Option::None(())); // PI / 2 + #[test] + #[available_gas(3000000)] + fn test_asin() { + let error = Option::Some(84); // 1e-5 - let a = FixedTrait::new(ONE / 2, false); - assert_relative(asin(a), 4392265, 'invalid half', error); + let a = FixedTrait::ONE(); + assert_relative(asin(a), HALF_PI.into(), 'invalid one', Option::None(())); // PI / 2 - let a = FixedTrait::ZERO(); - assert_precise(asin(a), 0, 'invalid zero', Option::None(())); + let a = FixedTrait::new(ONE / 2, false); + assert_relative(asin(a), 4392265, 'invalid half', error); - let a = FixedTrait::new(ONE / 2, true); - assert_relative(asin(a), -4392265, 'invalid neg half', error); + let a = FixedTrait::ZERO(); + assert_precise(asin(a), 0, 'invalid zero', Option::None(())); - let a = FixedTrait::new(ONE, true); - assert_relative(asin(a), -HALF_PI.into(), 'invalid neg one', Option::None(())); // -PI / 2 -} + let a = FixedTrait::new(ONE / 2, true); + assert_relative(asin(a), -4392265, 'invalid neg half', error); -#[test] -#[should_panic] -#[available_gas(1000000)] -fn test_asin_fail() { - let a = FixedTrait::new(2 * ONE, false); - asin(a); -} + let a = FixedTrait::new(ONE, true); + assert_relative(asin(a), -HALF_PI.into(), 'invalid neg one', Option::None(())); // -PI / 2 + } -#[test] -#[available_gas(6000000)] -fn test_cos() { - let a = FixedTrait::new(HALF_PI, false); - assert(cos(a).into() == 0, 'invalid half pi'); + #[test] + #[should_panic] + #[available_gas(1000000)] + fn test_asin_fail() { + let a = FixedTrait::new(2 * ONE, false); + asin(a); + } - let a = FixedTrait::new(HALF_PI / 2, false); - assert_relative(cos(a), 5931642, 'invalid quarter pi', Option::None(())); // 0.7071067811865475 + #[test] + #[available_gas(6000000)] + fn test_cos() { + let a = FixedTrait::new(HALF_PI, false); + assert(cos(a).into() == 0, 'invalid half pi'); - let a = FixedTrait::new(PI, false); - assert_relative(cos(a), -1 * ONE.into(), 'invalid pi', Option::None(())); + let a = FixedTrait::new(HALF_PI / 2, false); + assert_relative( + cos(a), 5931642, 'invalid quarter pi', Option::None(()) + ); // 0.7071067811865475 - let a = FixedTrait::new(HALF_PI, true); - assert_precise(cos(a), 0, 'invalid neg half pi', Option::None(())); + let a = FixedTrait::new(PI, false); + assert_relative(cos(a), -1 * ONE.into(), 'invalid pi', Option::None(())); - let a = FixedTrait::new_unscaled(17, false); - assert_relative(cos(a), -2308239, 'invalid 17', Option::None(())); // -0.2751631780463348 + let a = FixedTrait::new(HALF_PI, true); + assert_precise(cos(a), 0, 'invalid neg half pi', Option::None(())); - let a = FixedTrait::new_unscaled(17, true); - assert_relative(cos(a), -2308236, 'invalid -17', Option::None(())); // -0.2751631780463348 -} + let a = FixedTrait::new_unscaled(17, false); + assert_relative(cos(a), -2308239, 'invalid 17', Option::None(())); // -0.2751631780463348 -#[test] -#[available_gas(6000000)] -fn test_cos_fast() { - let error = Option::Some(84); // 1e-5 + let a = FixedTrait::new_unscaled(17, true); + assert_relative(cos(a), -2308236, 'invalid -17', Option::None(())); // -0.2751631780463348 + } - let a = FixedTrait::new(HALF_PI, false); - assert(cos_fast(a).into() == 0, 'invalid half pi'); + #[test] + #[available_gas(6000000)] + fn test_cos_fast() { + let error = Option::Some(84); // 1e-5 - let a = FixedTrait::new(HALF_PI / 2, false); - assert_precise(cos_fast(a), 5931642, 'invalid quarter pi', error); // 0.7071067811865475 + let a = FixedTrait::new(HALF_PI, false); + assert(cos_fast(a).into() == 0, 'invalid half pi'); - let a = FixedTrait::new(PI, false); - assert_precise(cos_fast(a), -1 * ONE.into(), 'invalid pi', error); + let a = FixedTrait::new(HALF_PI / 2, false); + assert_precise(cos_fast(a), 5931642, 'invalid quarter pi', error); // 0.7071067811865475 - let a = FixedTrait::new(HALF_PI, true); - assert_precise(cos(a), 0, 'invalid neg half pi', Option::None(())); + let a = FixedTrait::new(PI, false); + assert_precise(cos_fast(a), -1 * ONE.into(), 'invalid pi', error); - let a = FixedTrait::new_unscaled(17, false); - assert_precise(cos_fast(a), -2308239, 'invalid 17', error); // -0.2751631780463348 -} + let a = FixedTrait::new(HALF_PI, true); + assert_precise(cos(a), 0, 'invalid neg half pi', Option::None(())); + + let a = FixedTrait::new_unscaled(17, false); + assert_precise(cos_fast(a), -2308239, 'invalid 17', error); // -0.2751631780463348 + } -#[test] -#[available_gas(6000000)] -fn test_sin() { - let a = FixedTrait::new(HALF_PI, false); - assert_precise(sin(a), ONE.into(), 'invalid half pi', Option::None(())); + #[test] + #[available_gas(6000000)] + fn test_sin() { + let a = FixedTrait::new(HALF_PI, false); + assert_precise(sin(a), ONE.into(), 'invalid half pi', Option::None(())); - let a = FixedTrait::new(HALF_PI / 2, false); - assert_precise(sin(a), 5931642, 'invalid quarter pi', Option::None(())); // 0.7071067811865475 + let a = FixedTrait::new(HALF_PI / 2, false); + assert_precise( + sin(a), 5931642, 'invalid quarter pi', Option::None(()) + ); // 0.7071067811865475 - let a = FixedTrait::new(PI, false); - assert(sin(a).into() == 0, 'invalid pi'); + let a = FixedTrait::new(PI, false); + assert(sin(a).into() == 0, 'invalid pi'); - let a = FixedTrait::new(HALF_PI, true); - assert_precise( - sin(a), -ONE.into(), 'invalid neg half pi', Option::None(()) - ); // 0.9999999999939766 + let a = FixedTrait::new(HALF_PI, true); + assert_precise( + sin(a), -ONE.into(), 'invalid neg half pi', Option::None(()) + ); // 0.9999999999939766 - let a = FixedTrait::new_unscaled(17, false); - assert_precise(sin(a), -8064787, 'invalid 17', Option::None(())); // -0.9613974918793389 + let a = FixedTrait::new_unscaled(17, false); + assert_precise(sin(a), -8064787, 'invalid 17', Option::None(())); // -0.9613974918793389 - let a = FixedTrait::new_unscaled(17, true); - assert_precise(sin(a), 8064787, 'invalid -17', Option::None(())); // 0.9613974918793389 -} + let a = FixedTrait::new_unscaled(17, true); + assert_precise(sin(a), 8064787, 'invalid -17', Option::None(())); // 0.9613974918793389 + } -#[test] -#[available_gas(1000000)] -fn test_sin_fast() { - let error = Option::Some(84); // 1e-5 + #[test] + #[available_gas(1000000)] + fn test_sin_fast() { + let error = Option::Some(84); // 1e-5 - let a = FixedTrait::new(HALF_PI, false); - assert_precise(sin_fast(a), ONE.into(), 'invalid half pi', error); + let a = FixedTrait::new(HALF_PI, false); + assert_precise(sin_fast(a), ONE.into(), 'invalid half pi', error); - let a = FixedTrait::new(HALF_PI / 2, false); - assert_precise(sin_fast(a), 5931642, 'invalid quarter pi', error); // 0.7071067811865475 + let a = FixedTrait::new(HALF_PI / 2, false); + assert_precise(sin_fast(a), 5931642, 'invalid quarter pi', error); // 0.7071067811865475 - let a = FixedTrait::new(PI, false); - assert(sin_fast(a).into() == 0, 'invalid pi'); + let a = FixedTrait::new(PI, false); + assert(sin_fast(a).into() == 0, 'invalid pi'); - let a = FixedTrait::new(HALF_PI, true); - assert_precise(sin_fast(a), -ONE.into(), 'invalid neg half pi', error); // 0.9999999999939766 + let a = FixedTrait::new(HALF_PI, true); + assert_precise( + sin_fast(a), -ONE.into(), 'invalid neg half pi', error + ); // 0.9999999999939766 - let a = FixedTrait::new_unscaled(17, false); - assert_precise(sin_fast(a), -8064787, 'invalid 17', error); // -0.9613974918793389 + let a = FixedTrait::new_unscaled(17, false); + assert_precise(sin_fast(a), -8064787, 'invalid 17', error); // -0.9613974918793389 - let a = FixedTrait::new_unscaled(17, true); - assert_precise(sin_fast(a), 8064787, 'invalid -17', error); // 0.9613974918793389 -} + let a = FixedTrait::new_unscaled(17, true); + assert_precise(sin_fast(a), 8064787, 'invalid -17', error); // 0.9613974918793389 + } -#[test] -#[available_gas(8000000)] -fn test_tan() { - let a = FixedTrait::new(HALF_PI / 2, false); - assert_precise(tan(a), ONE.into(), 'invalid quarter pi', Option::None(())); + #[test] + #[available_gas(8000000)] + fn test_tan() { + let a = FixedTrait::new(HALF_PI / 2, false); + assert_precise(tan(a), ONE.into(), 'invalid quarter pi', Option::None(())); - let a = FixedTrait::new(PI, false); - assert_precise(tan(a), 0, 'invalid pi', Option::None(())); + let a = FixedTrait::new(PI, false); + assert_precise(tan(a), 0, 'invalid pi', Option::None(())); - let a = FixedTrait::new_unscaled(17, false); - assert_precise(tan(a), 29309069, 'invalid 17', Option::None(())); // 3.493917677159002 + let a = FixedTrait::new_unscaled(17, false); + assert_precise(tan(a), 29309069, 'invalid 17', Option::None(())); // 3.493917677159002 - let a = FixedTrait::new_unscaled(17, true); - assert_precise(tan(a), -29309106, 'invalid -17', Option::None(())); // -3.493917677159002 + let a = FixedTrait::new_unscaled(17, true); + assert_precise(tan(a), -29309106, 'invalid -17', Option::None(())); // -3.493917677159002 + } } diff --git a/src/numbers/fixed_point/implementations/fp8x23wide/math/comp.cairo b/src/numbers/fixed_point/implementations/fp8x23wide/math/comp.cairo index 5cacb7f0e..8ebb29145 100644 --- a/src/numbers/fixed_point/implementations/fp8x23wide/math/comp.cairo +++ b/src/numbers/fixed_point/implementations/fp8x23wide/math/comp.cairo @@ -46,40 +46,46 @@ fn and(a: FP8x23W, b: FP8x23W) -> bool { // Tests -------------------------------------------------------------------------------------------------------------- -#[test] -fn test_max() { - let a = FixedTrait::new_unscaled(1, false); - let b = FixedTrait::new_unscaled(0, false); - let c = FixedTrait::new_unscaled(1, true); - - assert(max(a, a) == a, 'max(a, a)'); - assert(max(a, b) == a, 'max(a, b)'); - assert(max(a, c) == a, 'max(a, c)'); - - assert(max(b, a) == a, 'max(b, a)'); - assert(max(b, b) == b, 'max(b, b)'); - assert(max(b, c) == b, 'max(b, c)'); - - assert(max(c, a) == a, 'max(c, a)'); - assert(max(c, b) == b, 'max(c, b)'); - assert(max(c, c) == c, 'max(c, c)'); -} +#[cfg(test)] +mod tests { + use super::{FixedTrait, max, min}; + + + #[test] + fn test_max() { + let a = FixedTrait::new_unscaled(1, false); + let b = FixedTrait::new_unscaled(0, false); + let c = FixedTrait::new_unscaled(1, true); + + assert(max(a, a) == a, 'max(a, a)'); + assert(max(a, b) == a, 'max(a, b)'); + assert(max(a, c) == a, 'max(a, c)'); -#[test] -fn test_min() { - let a = FixedTrait::new_unscaled(1, false); - let b = FixedTrait::new_unscaled(0, false); - let c = FixedTrait::new_unscaled(1, true); + assert(max(b, a) == a, 'max(b, a)'); + assert(max(b, b) == b, 'max(b, b)'); + assert(max(b, c) == b, 'max(b, c)'); - assert(min(a, a) == a, 'min(a, a)'); - assert(min(a, b) == b, 'min(a, b)'); - assert(min(a, c) == c, 'min(a, c)'); + assert(max(c, a) == a, 'max(c, a)'); + assert(max(c, b) == b, 'max(c, b)'); + assert(max(c, c) == c, 'max(c, c)'); + } + + #[test] + fn test_min() { + let a = FixedTrait::new_unscaled(1, false); + let b = FixedTrait::new_unscaled(0, false); + let c = FixedTrait::new_unscaled(1, true); - assert(min(b, a) == b, 'min(b, a)'); - assert(min(b, b) == b, 'min(b, b)'); - assert(min(b, c) == c, 'min(b, c)'); + assert(min(a, a) == a, 'min(a, a)'); + assert(min(a, b) == b, 'min(a, b)'); + assert(min(a, c) == c, 'min(a, c)'); - assert(min(c, a) == c, 'min(c, a)'); - assert(min(c, b) == c, 'min(c, b)'); - assert(min(c, c) == c, 'min(c, c)'); + assert(min(b, a) == b, 'min(b, a)'); + assert(min(b, b) == b, 'min(b, b)'); + assert(min(b, c) == c, 'min(b, c)'); + + assert(min(c, a) == c, 'min(c, a)'); + assert(min(c, b) == c, 'min(c, b)'); + assert(min(c, c) == c, 'min(c, c)'); + } } diff --git a/src/numbers/fixed_point/implementations/fp8x23wide/math/core.cairo b/src/numbers/fixed_point/implementations/fp8x23wide/math/core.cairo index 129ff02c8..bb3b318ee 100644 --- a/src/numbers/fixed_point/implementations/fp8x23wide/math/core.cairo +++ b/src/numbers/fixed_point/implementations/fp8x23wide/math/core.cairo @@ -293,368 +293,380 @@ fn sign(a: FP8x23W) -> FP8x23W { // Tests -------------------------------------------------------------------------------------------------------------- -use orion::numbers::fixed_point::implementations::fp8x23wide::helpers::{ - assert_precise, assert_relative -}; -use orion::numbers::fixed_point::implementations::fp8x23wide::math::trig::{PI, HALF_PI}; +#[cfg(test)] +mod tests { + use orion::numbers::fixed_point::implementations::fp8x23wide::helpers::{ + assert_precise, assert_relative + }; + use orion::numbers::fixed_point::implementations::fp8x23wide::math::trig::{PI, HALF_PI}; -#[test] -fn test_into() { - let a = FixedTrait::::new_unscaled(5, false); - assert(a.mag == 5 * ONE, 'invalid result'); -} + use super::{ + FixedTrait, ONE, FP8x23W, ceil, floor, sqrt, round, lut, pow, exp, exp2, exp2_int, ln, log2, + log10, eq, add, ne, HALF + }; -#[test] -fn test_try_into_u128() { - // Positive unscaled - let a = FixedTrait::::new_unscaled(5, false); - assert(a.try_into().unwrap() == 5_u128, 'invalid result'); + #[test] + fn test_into() { + let a = FixedTrait::::new_unscaled(5, false); + assert(a.mag == 5 * ONE, 'invalid result'); + } - // Positive scaled - let b = FixedTrait::::new(5 * ONE, false); - assert(b.try_into().unwrap() == 5_u128, 'invalid result'); + #[test] + fn test_try_into_u128() { + // Positive unscaled + let a = FixedTrait::::new_unscaled(5, false); + assert(a.try_into().unwrap() == 5_u128, 'invalid result'); - // Zero - let d = FixedTrait::::new_unscaled(0, false); - assert(d.try_into().unwrap() == 0_u128, 'invalid result'); -} + // Positive scaled + let b = FixedTrait::::new(5 * ONE, false); + assert(b.try_into().unwrap() == 5_u128, 'invalid result'); -#[test] -#[should_panic] -fn test_negative_try_into_u128() { - let a = FixedTrait::::new_unscaled(1, true); - let a: u128 = a.try_into().unwrap(); -} + // Zero + let d = FixedTrait::::new_unscaled(0, false); + assert(d.try_into().unwrap() == 0_u128, 'invalid result'); + } -#[test] -#[available_gas(1000000)] -fn test_acos() { - let a = FixedTrait::::ONE(); - assert(a.acos().into() == 0, 'invalid one'); -} + #[test] + #[should_panic] + fn test_negative_try_into_u128() { + let a = FixedTrait::::new_unscaled(1, true); + let a: u128 = a.try_into().unwrap(); + } -#[test] -#[available_gas(1000000)] -fn test_asin() { - let a = FixedTrait::ONE(); - assert_precise(a.asin(), HALF_PI.into(), 'invalid one', Option::None(())); // PI / 2 -} + #[test] + #[available_gas(1000000)] + fn test_acos() { + let a = FixedTrait::::ONE(); + assert(a.acos().into() == 0, 'invalid one'); + } -#[test] -#[available_gas(2000000)] -fn test_atan() { - let a = FixedTrait::new(2 * ONE, false); - assert_relative(a.atan(), 9287469, 'invalid two', Option::None(())); -} + #[test] + #[available_gas(1000000)] + fn test_asin() { + let a = FixedTrait::ONE(); + assert_precise(a.asin(), HALF_PI.into(), 'invalid one', Option::None(())); // PI / 2 + } -#[test] -fn test_ceil() { - let a = FixedTrait::new(24326963, false); // 2.9 - assert(ceil(a).mag == 3 * ONE, 'invalid pos decimal'); -} + #[test] + #[available_gas(2000000)] + fn test_atan() { + let a = FixedTrait::new(2 * ONE, false); + assert_relative(a.atan(), 9287469, 'invalid two', Option::None(())); + } -#[test] -fn test_floor() { - let a = FixedTrait::new(24326963, false); // 2.9 - assert(floor(a).mag == 2 * ONE, 'invalid pos decimal'); -} + #[test] + fn test_ceil() { + let a = FixedTrait::new(24326963, false); // 2.9 + assert(ceil(a).mag == 3 * ONE, 'invalid pos decimal'); + } -#[test] -fn test_round() { - let a = FixedTrait::new(24326963, false); // 2.9 - assert(round(a).mag == 3 * ONE, 'invalid pos decimal'); -} + #[test] + fn test_floor() { + let a = FixedTrait::new(24326963, false); // 2.9 + assert(floor(a).mag == 2 * ONE, 'invalid pos decimal'); + } -#[test] -#[should_panic] -fn test_sqrt_fail() { - let a = FixedTrait::new_unscaled(25, true); - sqrt(a); -} + #[test] + fn test_round() { + let a = FixedTrait::new(24326963, false); // 2.9 + assert(round(a).mag == 3 * ONE, 'invalid pos decimal'); + } -#[test] -fn test_sqrt() { - let mut a = FixedTrait::new_unscaled(0, false); - assert(sqrt(a).mag == 0, 'invalid zero root'); - a = FixedTrait::new_unscaled(25, false); - assert(sqrt(a).mag == 5 * ONE, 'invalid pos root'); -} + #[test] + #[should_panic] + fn test_sqrt_fail() { + let a = FixedTrait::new_unscaled(25, true); + sqrt(a); + } + #[test] + fn test_sqrt() { + let mut a = FixedTrait::new_unscaled(0, false); + assert(sqrt(a).mag == 0, 'invalid zero root'); + a = FixedTrait::new_unscaled(25, false); + assert(sqrt(a).mag == 5 * ONE, 'invalid pos root'); + } -#[test] -#[available_gas(100000)] -fn test_msb() { - let a = FixedTrait::::new_unscaled(100, false); - let (msb, div) = lut::msb(a.mag / ONE); - assert(msb == 6, 'invalid msb'); - assert(div == 64, 'invalid msb ceil'); -} -#[test] -#[available_gas(600000)] -fn test_pow() { - let a = FixedTrait::new_unscaled(3, false); - let b = FixedTrait::new_unscaled(4, false); - assert(pow(a, b).mag == 81 * ONE, 'invalid pos base power'); -} + #[test] + #[available_gas(100000)] + fn test_msb() { + let a = FixedTrait::::new_unscaled(100, false); + let (msb, div) = lut::msb(a.mag / ONE); + assert(msb == 6, 'invalid msb'); + assert(div == 64, 'invalid msb ceil'); + } -#[test] -#[available_gas(900000)] -fn test_pow_frac() { - let a = FixedTrait::new_unscaled(3, false); - let b = FixedTrait::new(4194304, false); // 0.5 - assert_relative( - pow(a, b), 14529495, 'invalid pos base power', Option::None(()) - ); // 1.7320508075688772 -} + #[test] + #[available_gas(600000)] + fn test_pow() { + let a = FixedTrait::new_unscaled(3, false); + let b = FixedTrait::new_unscaled(4, false); + assert(pow(a, b).mag == 81 * ONE, 'invalid pos base power'); + } -#[test] -#[available_gas(1000000)] -fn test_exp() { - let a = FixedTrait::new_unscaled(2, false); - assert_relative(exp(a), 61983895, 'invalid exp of 2', Option::None(())); // 7.389056098793725 -} + #[test] + #[available_gas(900000)] + fn test_pow_frac() { + let a = FixedTrait::new_unscaled(3, false); + let b = FixedTrait::new(4194304, false); // 0.5 + assert_relative( + pow(a, b), 14529495, 'invalid pos base power', Option::None(()) + ); // 1.7320508075688772 + } -#[test] -#[available_gas(400000)] -fn test_exp2() { - let a = FixedTrait::new_unscaled(5, false); - assert(exp2(a).mag == 268435456, 'invalid exp2 of 2'); -} + #[test] + #[available_gas(1000000)] + fn test_exp() { + let a = FixedTrait::new_unscaled(2, false); + assert_relative( + exp(a), 61983895, 'invalid exp of 2', Option::None(()) + ); // 7.389056098793725 + } -#[test] -#[available_gas(20000)] -fn test_exp2_int() { - assert(exp2_int(5).into() == 268435456, 'invalid exp2 of 2'); -} + #[test] + #[available_gas(400000)] + fn test_exp2() { + let a = FixedTrait::new_unscaled(5, false); + assert(exp2(a).mag == 268435456, 'invalid exp2 of 2'); + } -#[test] -#[available_gas(1000000)] -fn test_ln() { - let mut a = FixedTrait::new_unscaled(1, false); - assert(ln(a).mag == 0, 'invalid ln of 1'); + #[test] + #[available_gas(20000)] + fn test_exp2_int() { + assert(exp2_int(5).into() == 268435456, 'invalid exp2 of 2'); + } - a = FixedTrait::new(22802601, false); - assert_relative(ln(a), ONE.into(), 'invalid ln of 2.7...', Option::None(())); -} + #[test] + #[available_gas(1000000)] + fn test_ln() { + let mut a = FixedTrait::new_unscaled(1, false); + assert(ln(a).mag == 0, 'invalid ln of 1'); -#[test] -#[available_gas(1000000)] -fn test_log2() { - let mut a = FixedTrait::new_unscaled(32, false); - assert(log2(a) == FixedTrait::new_unscaled(5, false), 'invalid log2 32'); + a = FixedTrait::new(22802601, false); + assert_relative(ln(a), ONE.into(), 'invalid ln of 2.7...', Option::None(())); + } - a = FixedTrait::new_unscaled(10, false); - assert_relative(log2(a), 27866353, 'invalid log2 10', Option::None(())); // 3.321928094887362 -} + #[test] + #[available_gas(1000000)] + fn test_log2() { + let mut a = FixedTrait::new_unscaled(32, false); + assert(log2(a) == FixedTrait::new_unscaled(5, false), 'invalid log2 32'); -#[test] -#[available_gas(1000000)] -fn test_log10() { - let a = FixedTrait::new_unscaled(100, false); - assert_relative(log10(a), 2 * ONE.into(), 'invalid log10', Option::None(())); -} + a = FixedTrait::new_unscaled(10, false); + assert_relative( + log2(a), 27866353, 'invalid log2 10', Option::None(()) + ); // 3.321928094887362 + } -#[test] -fn test_eq() { - let a = FixedTrait::new_unscaled(42, false); - let b = FixedTrait::new_unscaled(42, false); - let c = eq(@a, @b); - assert(c == true, 'invalid result'); -} + #[test] + #[available_gas(1000000)] + fn test_log10() { + let a = FixedTrait::new_unscaled(100, false); + assert_relative(log10(a), 2 * ONE.into(), 'invalid log10', Option::None(())); + } -#[test] -fn test_ne() { - let a = FixedTrait::new_unscaled(42, false); - let b = FixedTrait::new_unscaled(42, false); - let c = ne(@a, @b); - assert(c == false, 'invalid result'); -} + #[test] + fn test_eq() { + let a = FixedTrait::new_unscaled(42, false); + let b = FixedTrait::new_unscaled(42, false); + let c = eq(@a, @b); + assert(c == true, 'invalid result'); + } -#[test] -fn test_add() { - let a = FixedTrait::new_unscaled(1, false); - let b = FixedTrait::new_unscaled(2, false); - assert(add(a, b) == FixedTrait::new_unscaled(3, false), 'invalid result'); -} + #[test] + fn test_ne() { + let a = FixedTrait::new_unscaled(42, false); + let b = FixedTrait::new_unscaled(42, false); + let c = ne(@a, @b); + assert(c == false, 'invalid result'); + } -#[test] -fn test_add_eq() { - let mut a = FixedTrait::new_unscaled(1, false); - let b = FixedTrait::new_unscaled(2, false); - a += b; - assert(a == FixedTrait::::new_unscaled(3, false), 'invalid result'); -} + #[test] + fn test_add() { + let a = FixedTrait::new_unscaled(1, false); + let b = FixedTrait::new_unscaled(2, false); + assert(add(a, b) == FixedTrait::new_unscaled(3, false), 'invalid result'); + } -#[test] -fn test_sub() { - let a = FixedTrait::new_unscaled(5, false); - let b = FixedTrait::new_unscaled(2, false); - let c = a - b; - assert(c == FixedTrait::::new_unscaled(3, false), 'false result invalid'); -} + #[test] + fn test_add_eq() { + let mut a = FixedTrait::new_unscaled(1, false); + let b = FixedTrait::new_unscaled(2, false); + a += b; + assert(a == FixedTrait::::new_unscaled(3, false), 'invalid result'); + } -#[test] -fn test_sub_eq() { - let mut a = FixedTrait::new_unscaled(5, false); - let b = FixedTrait::new_unscaled(2, false); - a -= b; - assert(a == FixedTrait::::new_unscaled(3, false), 'invalid result'); -} + #[test] + fn test_sub() { + let a = FixedTrait::new_unscaled(5, false); + let b = FixedTrait::new_unscaled(2, false); + let c = a - b; + assert(c == FixedTrait::::new_unscaled(3, false), 'false result invalid'); + } -#[test] -#[available_gas(100000)] -fn test_mul_pos() { - let a = FP8x23W { mag: 24326963, sign: false }; - let b = FP8x23W { mag: 24326963, sign: false }; - let c = a * b; - assert(c.mag == 70548192, 'invalid result'); -} + #[test] + fn test_sub_eq() { + let mut a = FixedTrait::new_unscaled(5, false); + let b = FixedTrait::new_unscaled(2, false); + a -= b; + assert(a == FixedTrait::::new_unscaled(3, false), 'invalid result'); + } -#[test] -fn test_mul_neg() { - let a = FixedTrait::new_unscaled(5, false); - let b = FixedTrait::new_unscaled(2, true); - let c = a * b; - assert(c == FixedTrait::::new_unscaled(10, true), 'invalid result'); -} + #[test] + #[available_gas(100000)] + fn test_mul_pos() { + let a = FP8x23W { mag: 24326963, sign: false }; + let b = FP8x23W { mag: 24326963, sign: false }; + let c = a * b; + assert(c.mag == 70548192, 'invalid result'); + } -#[test] -fn test_mul_eq() { - let mut a = FixedTrait::new_unscaled(5, false); - let b = FixedTrait::new_unscaled(2, true); - a *= b; - assert(a == FixedTrait::::new_unscaled(10, true), 'invalid result'); -} + #[test] + fn test_mul_neg() { + let a = FixedTrait::new_unscaled(5, false); + let b = FixedTrait::new_unscaled(2, true); + let c = a * b; + assert(c == FixedTrait::::new_unscaled(10, true), 'invalid result'); + } -#[test] -fn test_div() { - let a = FixedTrait::new_unscaled(10, false); - let b = FixedTrait::::new(24326963, false); // 2.9 - let c = a / b; - assert(c.mag == 28926234, 'invalid pos decimal'); // 3.4482758620689653 -} + #[test] + fn test_mul_eq() { + let mut a = FixedTrait::new_unscaled(5, false); + let b = FixedTrait::new_unscaled(2, true); + a *= b; + assert(a == FixedTrait::::new_unscaled(10, true), 'invalid result'); + } -#[test] -fn test_le() { - let a = FixedTrait::new_unscaled(1, false); - let b = FixedTrait::new_unscaled(0, false); - let c = FixedTrait::::new_unscaled(1, true); + #[test] + fn test_div() { + let a = FixedTrait::new_unscaled(10, false); + let b = FixedTrait::::new(24326963, false); // 2.9 + let c = a / b; + assert(c.mag == 28926234, 'invalid pos decimal'); // 3.4482758620689653 + } - assert(a <= a, 'a <= a'); - assert(a <= b == false, 'a <= b'); - assert(a <= c == false, 'a <= c'); + #[test] + fn test_le() { + let a = FixedTrait::new_unscaled(1, false); + let b = FixedTrait::new_unscaled(0, false); + let c = FixedTrait::::new_unscaled(1, true); - assert(b <= a, 'b <= a'); - assert(b <= b, 'b <= b'); - assert(b <= c == false, 'b <= c'); + assert(a <= a, 'a <= a'); + assert(a <= b == false, 'a <= b'); + assert(a <= c == false, 'a <= c'); - assert(c <= a, 'c <= a'); - assert(c <= b, 'c <= b'); - assert(c <= c, 'c <= c'); -} + assert(b <= a, 'b <= a'); + assert(b <= b, 'b <= b'); + assert(b <= c == false, 'b <= c'); -#[test] -fn test_lt() { - let a = FixedTrait::new_unscaled(1, false); - let b = FixedTrait::new_unscaled(0, false); - let c = FixedTrait::::new_unscaled(1, true); + assert(c <= a, 'c <= a'); + assert(c <= b, 'c <= b'); + assert(c <= c, 'c <= c'); + } - assert(a < a == false, 'a < a'); - assert(a < b == false, 'a < b'); - assert(a < c == false, 'a < c'); + #[test] + fn test_lt() { + let a = FixedTrait::new_unscaled(1, false); + let b = FixedTrait::new_unscaled(0, false); + let c = FixedTrait::::new_unscaled(1, true); - assert(b < a, 'b < a'); - assert(b < b == false, 'b < b'); - assert(b < c == false, 'b < c'); + assert(a < a == false, 'a < a'); + assert(a < b == false, 'a < b'); + assert(a < c == false, 'a < c'); - assert(c < a, 'c < a'); - assert(c < b, 'c < b'); - assert(c < c == false, 'c < c'); -} + assert(b < a, 'b < a'); + assert(b < b == false, 'b < b'); + assert(b < c == false, 'b < c'); -#[test] -fn test_ge() { - let a = FixedTrait::new_unscaled(1, false); - let b = FixedTrait::new_unscaled(0, false); - let c = FixedTrait::::new_unscaled(1, true); + assert(c < a, 'c < a'); + assert(c < b, 'c < b'); + assert(c < c == false, 'c < c'); + } - assert(a >= a, 'a >= a'); - assert(a >= b, 'a >= b'); - assert(a >= c, 'a >= c'); + #[test] + fn test_ge() { + let a = FixedTrait::new_unscaled(1, false); + let b = FixedTrait::new_unscaled(0, false); + let c = FixedTrait::::new_unscaled(1, true); - assert(b >= a == false, 'b >= a'); - assert(b >= b, 'b >= b'); - assert(b >= c, 'b >= c'); + assert(a >= a, 'a >= a'); + assert(a >= b, 'a >= b'); + assert(a >= c, 'a >= c'); - assert(c >= a == false, 'c >= a'); - assert(c >= b == false, 'c >= b'); - assert(c >= c, 'c >= c'); -} + assert(b >= a == false, 'b >= a'); + assert(b >= b, 'b >= b'); + assert(b >= c, 'b >= c'); -#[test] -fn test_gt() { - let a = FixedTrait::new_unscaled(1, false); - let b = FixedTrait::new_unscaled(0, false); - let c = FixedTrait::::new_unscaled(1, true); + assert(c >= a == false, 'c >= a'); + assert(c >= b == false, 'c >= b'); + assert(c >= c, 'c >= c'); + } - assert(a > a == false, 'a > a'); - assert(a > b, 'a > b'); - assert(a > c, 'a > c'); + #[test] + fn test_gt() { + let a = FixedTrait::new_unscaled(1, false); + let b = FixedTrait::new_unscaled(0, false); + let c = FixedTrait::::new_unscaled(1, true); - assert(b > a == false, 'b > a'); - assert(b > b == false, 'b > b'); - assert(b > c, 'b > c'); + assert(a > a == false, 'a > a'); + assert(a > b, 'a > b'); + assert(a > c, 'a > c'); - assert(c > a == false, 'c > a'); - assert(c > b == false, 'c > b'); - assert(c > c == false, 'c > c'); -} + assert(b > a == false, 'b > a'); + assert(b > b == false, 'b > b'); + assert(b > c, 'b > c'); -#[test] -#[available_gas(1000000)] -fn test_cos() { - let a = FixedTrait::::new(HALF_PI, false); - assert(a.cos().into() == 0, 'invalid half pi'); -} + assert(c > a == false, 'c > a'); + assert(c > b == false, 'c > b'); + assert(c > c == false, 'c > c'); + } -#[test] -#[available_gas(1000000)] -fn test_sin() { - let a = FixedTrait::new(HALF_PI, false); - assert_precise(a.sin(), ONE.into(), 'invalid half pi', Option::None(())); -} + #[test] + #[available_gas(1000000)] + fn test_cos() { + let a = FixedTrait::::new(HALF_PI, false); + assert(a.cos().into() == 0, 'invalid half pi'); + } -#[test] -#[available_gas(2000000)] -fn test_tan() { - let a = FixedTrait::::new(HALF_PI / 2, false); - assert(a.tan().mag == 8388608, 'invalid quarter pi'); -} + #[test] + #[available_gas(1000000)] + fn test_sin() { + let a = FixedTrait::new(HALF_PI, false); + assert_precise(a.sin(), ONE.into(), 'invalid half pi', Option::None(())); + } -#[test] -#[available_gas(2000000)] -fn test_sign() { - let a = FixedTrait::::new(0, false); - assert(a.sign().mag == 0 && !a.sign().sign, 'invalid sign (0, true)'); + #[test] + #[available_gas(2000000)] + fn test_tan() { + let a = FixedTrait::::new(HALF_PI / 2, false); + assert(a.tan().mag == 8388608, 'invalid quarter pi'); + } - let a = FixedTrait::::new(HALF, true); - assert(a.sign().mag == ONE && a.sign().sign, 'invalid sign (HALF, true)'); + #[test] + #[available_gas(2000000)] + fn test_sign() { + let a = FixedTrait::::new(0, false); + assert(a.sign().mag == 0 && !a.sign().sign, 'invalid sign (0, true)'); - let a = FixedTrait::::new(HALF, false); - assert(a.sign().mag == ONE && !a.sign().sign, 'invalid sign (HALF, false)'); + let a = FixedTrait::::new(HALF, true); + assert(a.sign().mag == ONE && a.sign().sign, 'invalid sign (HALF, true)'); - let a = FixedTrait::::new(ONE, true); - assert(a.sign().mag == ONE && a.sign().sign, 'invalid sign (ONE, true)'); + let a = FixedTrait::::new(HALF, false); + assert(a.sign().mag == ONE && !a.sign().sign, 'invalid sign (HALF, false)'); - let a = FixedTrait::::new(ONE, false); - assert(a.sign().mag == ONE && !a.sign().sign, 'invalid sign (ONE, false)'); -} + let a = FixedTrait::::new(ONE, true); + assert(a.sign().mag == ONE && a.sign().sign, 'invalid sign (ONE, true)'); -#[test] -#[should_panic] -#[available_gas(2000000)] -fn test_sign_fail() { - let a = FixedTrait::::new(HALF, true); - assert(a.sign().mag != ONE && !a.sign().sign, 'invalid sign (HALF, true)'); + let a = FixedTrait::::new(ONE, false); + assert(a.sign().mag == ONE && !a.sign().sign, 'invalid sign (ONE, false)'); + } + + #[test] + #[should_panic] + #[available_gas(2000000)] + fn test_sign_fail() { + let a = FixedTrait::::new(HALF, true); + assert(a.sign().mag != ONE && !a.sign().sign, 'invalid sign (HALF, true)'); + } } diff --git a/src/numbers/fixed_point/implementations/fp8x23wide/math/hyp.cairo b/src/numbers/fixed_point/implementations/fp8x23wide/math/hyp.cairo index ed9b66391..be95eedba 100644 --- a/src/numbers/fixed_point/implementations/fp8x23wide/math/hyp.cairo +++ b/src/numbers/fixed_point/implementations/fp8x23wide/math/hyp.cairo @@ -1,8 +1,8 @@ use core::debug::PrintTrait; use orion::numbers::fixed_point::implementations::fp8x23wide::core::{ - HALF, ONE, TWO, FP8x23W, FP8x23WImpl, FP8x23WAdd, FP8x23WAddEq, FP8x23WSub, FP8x23WMul, FP8x23WMulEq, - FP8x23WTryIntoU128, FP8x23WPartialEq, FP8x23WPartialOrd, FP8x23WSubEq, FP8x23WNeg, FP8x23WDiv, - FP8x23WIntoFelt252, FixedTrait + HALF, ONE, TWO, FP8x23W, FP8x23WImpl, FP8x23WAdd, FP8x23WAddEq, FP8x23WSub, FP8x23WMul, + FP8x23WMulEq, FP8x23WTryIntoU128, FP8x23WPartialEq, FP8x23WPartialOrd, FP8x23WSubEq, FP8x23WNeg, + FP8x23WDiv, FP8x23WIntoFelt252, FixedTrait }; // Calculates hyperbolic cosine of a (fixed point) @@ -45,115 +45,133 @@ fn atanh(a: FP8x23W) -> FP8x23W { // Tests -------------------------------------------------------------------------------------------------------------- -use option::OptionTrait; -use traits::Into; +#[cfg(test)] +mod tests { + use option::OptionTrait; + use traits::Into; -use orion::numbers::fixed_point::implementations::fp8x23wide::helpers::assert_precise; + use orion::numbers::fixed_point::implementations::fp8x23wide::helpers::assert_precise; -#[test] -#[available_gas(10000000)] -fn test_cosh() { - let a = FixedTrait::new(TWO, false); - assert_precise(cosh(a), 31559585, 'invalid two', Option::None(())); // 3.762195691016423 + use super::{FixedTrait, TWO, cosh, ONE, sinh, tanh, acosh, asinh, atanh, HALF}; - let a = FixedTrait::ONE(); - assert_precise(cosh(a), 12944299, 'invalid one', Option::None(())); // 1.5430806347841253 - let a = FixedTrait::ZERO(); - assert_precise(cosh(a), ONE.into(), 'invalid zero', Option::None(())); + #[test] + #[available_gas(10000000)] + fn test_cosh() { + let a = FixedTrait::new(TWO, false); + assert_precise(cosh(a), 31559585, 'invalid two', Option::None(())); // 3.762195691016423 - let a = FixedTrait::ONE(); - assert_precise(cosh(a), 12944299, 'invalid neg one', Option::None(())); // 1.5430806347841253 + let a = FixedTrait::ONE(); + assert_precise(cosh(a), 12944299, 'invalid one', Option::None(())); // 1.5430806347841253 - let a = FixedTrait::new(TWO, true); - assert_precise(cosh(a), 31559602, 'invalid neg two', Option::None(())); // 3.762195691016423 -} + let a = FixedTrait::ZERO(); + assert_precise(cosh(a), ONE.into(), 'invalid zero', Option::None(())); -#[test] -#[available_gas(10000000)] -fn test_sinh() { - let a = FixedTrait::new(TWO, false); - assert_precise(sinh(a), 30424310, 'invalid two', Option::None(())); // 3.6268604077773023 + let a = FixedTrait::ONE(); + assert_precise( + cosh(a), 12944299, 'invalid neg one', Option::None(()) + ); // 1.5430806347841253 - let a = FixedTrait::ONE(); - assert_precise(sinh(a), 9858302, 'invalid one', Option::None(())); // 1.1752011936029418 + let a = FixedTrait::new(TWO, true); + assert_precise(cosh(a), 31559602, 'invalid neg two', Option::None(())); // 3.762195691016423 + } - let a = FixedTrait::ZERO(); - assert(sinh(a).into() == 0, 'invalid zero'); + #[test] + #[available_gas(10000000)] + fn test_sinh() { + let a = FixedTrait::new(TWO, false); + assert_precise(sinh(a), 30424310, 'invalid two', Option::None(())); // 3.6268604077773023 - let a = FixedTrait::new(ONE, true); - assert_precise(sinh(a), -9858302, 'invalid neg one', Option::None(())); // -1.1752011936029418 + let a = FixedTrait::ONE(); + assert_precise(sinh(a), 9858302, 'invalid one', Option::None(())); // 1.1752011936029418 - let a = FixedTrait::new(TWO, true); - assert_precise(sinh(a), -30424328, 'invalid neg two', Option::None(())); // -3.6268604077773023 -} + let a = FixedTrait::ZERO(); + assert(sinh(a).into() == 0, 'invalid zero'); -#[test] -#[available_gas(10000000)] -fn test_tanh() { - let a = FixedTrait::new(TWO, false); - assert_precise(tanh(a), 8086849, 'invalid two', Option::None(())); // 0.9640275800745076 + let a = FixedTrait::new(ONE, true); + assert_precise( + sinh(a), -9858302, 'invalid neg one', Option::None(()) + ); // -1.1752011936029418 - let a = FixedTrait::ONE(); - assert_precise(tanh(a), 6388715, 'invalid one', Option::None(())); // 0.7615941559446443 + let a = FixedTrait::new(TWO, true); + assert_precise( + sinh(a), -30424328, 'invalid neg two', Option::None(()) + ); // -3.6268604077773023 + } - let a = FixedTrait::ZERO(); - assert(tanh(a).into() == 0, 'invalid zero'); + #[test] + #[available_gas(10000000)] + fn test_tanh() { + let a = FixedTrait::new(TWO, false); + assert_precise(tanh(a), 8086849, 'invalid two', Option::None(())); // 0.9640275800745076 - let a = FixedTrait::new(ONE, true); - assert_precise(tanh(a), -6388715, 'invalid neg one', Option::None(())); // -0.7615941559446443 + let a = FixedTrait::ONE(); + assert_precise(tanh(a), 6388715, 'invalid one', Option::None(())); // 0.7615941559446443 - let a = FixedTrait::new(TWO, true); - assert_precise(tanh(a), -8086849, 'invalid neg two', Option::None(())); // 0.9640275800745076 -} + let a = FixedTrait::ZERO(); + assert(tanh(a).into() == 0, 'invalid zero'); -#[test] -#[available_gas(10000000)] -fn test_acosh() { - let a = FixedTrait::new(31559585, false); // 3.762195691016423 - assert_precise(acosh(a), 16777257, 'invalid two', Option::None(())); + let a = FixedTrait::new(ONE, true); + assert_precise( + tanh(a), -6388715, 'invalid neg one', Option::None(()) + ); // -0.7615941559446443 - let a = FixedTrait::new(12944299, false); // 1.5430806347841253 - assert_precise(acosh(a), ONE.into(), 'invalid one', Option::None(())); - - let a = FixedTrait::ONE(); // 1 - assert(acosh(a).into() == 0, 'invalid zero'); -} + let a = FixedTrait::new(TWO, true); + assert_precise( + tanh(a), -8086849, 'invalid neg two', Option::None(()) + ); // 0.9640275800745076 + } -#[test] -#[available_gas(10000000)] -fn test_asinh() { - let a = FixedTrait::new(30424310, false); // 3.6268604077773023 - assert_precise(asinh(a), 16777257, 'invalid two', Option::None(())); + #[test] + #[available_gas(10000000)] + fn test_acosh() { + let a = FixedTrait::new(31559585, false); // 3.762195691016423 + assert_precise(acosh(a), 16777257, 'invalid two', Option::None(())); - let a = FixedTrait::new(9858302, false); // 1.1752011936029418 - assert_precise(asinh(a), ONE.into(), 'invalid one', Option::None(())); - - let a = FixedTrait::ZERO(); - assert(asinh(a).into() == 0, 'invalid zero'); - - let a = FixedTrait::new(9858302, true); // -1.1752011936029418 - assert_precise(asinh(a), -ONE.into(), 'invalid neg one', Option::None(())); - - let a = FixedTrait::new(30424310, true); // -3.6268604077773023 - assert_precise(asinh(a), -16777238, 'invalid neg two', Option::None(())); -} + let a = FixedTrait::new(12944299, false); // 1.5430806347841253 + assert_precise(acosh(a), ONE.into(), 'invalid one', Option::None(())); -#[test] -#[available_gas(10000000)] -fn test_atanh() { - let a = FixedTrait::new(7549747, false); // 0.9 - assert_precise(atanh(a), 12349872, 'invalid 0.9', Option::None(())); // 1.4722194895832204 + let a = FixedTrait::ONE(); // 1 + assert(acosh(a).into() == 0, 'invalid zero'); + } - let a = FixedTrait::new(HALF, false); // 0.5 - assert_precise(atanh(a), 4607914, 'invalid half', Option::None(())); // 0.5493061443340548 + #[test] + #[available_gas(10000000)] + fn test_asinh() { + let a = FixedTrait::new(30424310, false); // 3.6268604077773023 + assert_precise(asinh(a), 16777257, 'invalid two', Option::None(())); - let a = FixedTrait::ZERO(); - assert(atanh(a).into() == 0, 'invalid zero'); + let a = FixedTrait::new(9858302, false); // 1.1752011936029418 + assert_precise(asinh(a), ONE.into(), 'invalid one', Option::None(())); - let a = FixedTrait::new(HALF, true); // 0.5 - assert_precise(atanh(a), -4607914, 'invalid neg half', Option::None(())); // 0.5493061443340548 + let a = FixedTrait::ZERO(); + assert(asinh(a).into() == 0, 'invalid zero'); + + let a = FixedTrait::new(9858302, true); // -1.1752011936029418 + assert_precise(asinh(a), -ONE.into(), 'invalid neg one', Option::None(())); - let a = FixedTrait::new(7549747, true); // 0.9 - assert_precise(atanh(a), -12349872, 'invalid -0.9', Option::None(())); // 1.4722194895832204 + let a = FixedTrait::new(30424310, true); // -3.6268604077773023 + assert_precise(asinh(a), -16777238, 'invalid neg two', Option::None(())); + } + + #[test] + #[available_gas(10000000)] + fn test_atanh() { + let a = FixedTrait::new(7549747, false); // 0.9 + assert_precise(atanh(a), 12349872, 'invalid 0.9', Option::None(())); // 1.4722194895832204 + + let a = FixedTrait::new(HALF, false); // 0.5 + assert_precise(atanh(a), 4607914, 'invalid half', Option::None(())); // 0.5493061443340548 + + let a = FixedTrait::ZERO(); + assert(atanh(a).into() == 0, 'invalid zero'); + + let a = FixedTrait::new(HALF, true); // 0.5 + assert_precise( + atanh(a), -4607914, 'invalid neg half', Option::None(()) + ); // 0.5493061443340548 + + let a = FixedTrait::new(7549747, true); // 0.9 + assert_precise(atanh(a), -12349872, 'invalid -0.9', Option::None(())); // 1.4722194895832204 + } } diff --git a/src/numbers/fixed_point/implementations/fp8x23wide/math/trig.cairo b/src/numbers/fixed_point/implementations/fp8x23wide/math/trig.cairo index 025b79bb2..e850af255 100644 --- a/src/numbers/fixed_point/implementations/fp8x23wide/math/trig.cairo +++ b/src/numbers/fixed_point/implementations/fp8x23wide/math/trig.cairo @@ -203,12 +203,21 @@ fn _sin_loop(a: FP8x23W, i: u64, acc: FP8x23W) -> FP8x23W { // Tests -------------------------------------------------------------------------------------------------------------- +#[cfg(test)] +mod tests { + + use traits::Into; use orion::numbers::fixed_point::implementations::fp8x23wide::helpers::{ assert_precise, assert_relative }; + use super::{ + FixedTrait, acos, HALF_PI, ONE, acos_fast, PI, atan_fast, atan, asin, cos, cos_fast, sin, + sin_fast, tan + }; + #[test] #[available_gas(3000000)] fn test_acos() { @@ -446,3 +455,5 @@ fn test_tan() { let a = FixedTrait::new_unscaled(17, true); assert_precise(tan(a), -29309106, 'invalid -17', Option::None(())); // -3.493917677159002 } + +} \ No newline at end of file diff --git a/src/numbers/fixed_point/utils.cairo b/src/numbers/fixed_point/utils.cairo index a35c02c13..5ef1f9e4c 100644 --- a/src/numbers/fixed_point/utils.cairo +++ b/src/numbers/fixed_point/utils.cairo @@ -19,21 +19,27 @@ fn felt_abs(a: felt252) -> felt252 { } } -#[test] -fn test_sign() { - let min = -1809251394333065606848661391547535052811553607665798349986546028067936010240; - let max = 1809251394333065606848661391547535052811553607665798349986546028067936010240; - assert(felt_sign(min) == true, 'invalid result'); - assert(felt_sign(-1) == true, 'invalid result'); - assert(felt_sign(0) == false, 'invalid result'); - assert(felt_sign(1) == false, 'invalid result'); - assert(felt_sign(max) == false, 'invalid result'); -} -#[test] -fn test_abs() { - assert(felt_abs(5) == 5, 'abs of pos should be pos'); - assert(felt_abs(-5) == 5, 'abs of neg should be pos'); - assert(felt_abs(0) == 0, 'abs of 0 should be 0'); -} + #[cfg(test)] + mod tests { + use super::{felt_sign, felt_abs}; + + #[test] + fn test_sign() { + let min = -1809251394333065606848661391547535052811553607665798349986546028067936010240; + let max = 1809251394333065606848661391547535052811553607665798349986546028067936010240; + assert(felt_sign(min) == true, 'invalid result'); + assert(felt_sign(-1) == true, 'invalid result'); + assert(felt_sign(0) == false, 'invalid result'); + assert(felt_sign(1) == false, 'invalid result'); + assert(felt_sign(max) == false, 'invalid result'); + } + + #[test] + fn test_abs() { + assert(felt_abs(5) == 5, 'abs of pos should be pos'); + assert(felt_abs(-5) == 5, 'abs of neg should be pos'); + assert(felt_abs(0) == 0, 'abs of 0 should be 0'); + } + } diff --git a/src/operators/nn/functional/softmax.cairo b/src/operators/nn/functional/softmax.cairo index 81696ef22..95d0f9b9f 100644 --- a/src/operators/nn/functional/softmax.cairo +++ b/src/operators/nn/functional/softmax.cairo @@ -6,7 +6,6 @@ use orion::numbers::fixed_point::core::FixedTrait; fn softmax< T, impl TTensor: TensorTrait, - impl TTensor: TensorTrait, impl TTensorDiv: Div>, impl TCopy: Copy, impl TDrop: Drop, diff --git a/src/operators/tensor/implementations/tensor_fp16x16.cairo b/src/operators/tensor/implementations/tensor_fp16x16.cairo index 0ac84fedc..b16d724bd 100644 --- a/src/operators/tensor/implementations/tensor_fp16x16.cairo +++ b/src/operators/tensor/implementations/tensor_fp16x16.cairo @@ -315,12 +315,6 @@ impl FP16x16TensorPartialEq of PartialEq> { } } -impl U32TryIntoU32 of TryInto { - fn try_into(self: u32) -> Option { - Option::Some(self) - } -} - impl TensorI8IntoTensorFP16x16 of Into, Tensor> { fn into(self: Tensor) -> Tensor { tensor_i8_to_tensor_fp16x16(@self) diff --git a/src/operators/tensor/implementations/tensor_fp8x23.cairo b/src/operators/tensor/implementations/tensor_fp8x23.cairo index 71c17cf6f..b13b6545c 100644 --- a/src/operators/tensor/implementations/tensor_fp8x23.cairo +++ b/src/operators/tensor/implementations/tensor_fp8x23.cairo @@ -339,12 +339,6 @@ impl FP8x23TensorPartialEq of PartialEq> { } } -impl U32TryIntoU32 of TryInto { - fn try_into(self: u32) -> Option { - Option::Some(self) - } -} - impl TensorI8IntoTensorFP8x23 of Into, Tensor> { fn into(self: Tensor) -> Tensor { tensor_i8_to_tensor_fp8x23(@self) diff --git a/src/operators/tensor/implementations/tensor_i8.cairo b/src/operators/tensor/implementations/tensor_i8.cairo index 9645c4be5..cbe31cb53 100644 --- a/src/operators/tensor/implementations/tensor_i8.cairo +++ b/src/operators/tensor/implementations/tensor_i8.cairo @@ -313,12 +313,6 @@ impl I8TensorPartialEq of PartialEq> { } } -impl I8TryIntoI8 of TryInto { - fn try_into(self: i8) -> Option { - Option::Some(self) - } -} - // Internals fn tensor_eq(mut lhs: Tensor, mut rhs: Tensor,) -> bool { diff --git a/tests/.gitignore b/tests/.gitignore deleted file mode 100644 index eb5a316cb..000000000 --- a/tests/.gitignore +++ /dev/null @@ -1 +0,0 @@ -target diff --git a/tests/Scarb.toml b/tests/Scarb.toml deleted file mode 100644 index 9930d1462..000000000 --- a/tests/Scarb.toml +++ /dev/null @@ -1,8 +0,0 @@ -[package] -name = "orion_tests" -version = "0.1.0" - -# See more keys and their definitions at https://docs.swmansion.com/scarb/docs/reference/manifest.html - -[dependencies] -orion = {path = "../"} \ No newline at end of file diff --git a/tests/cairo_project.toml b/tests/cairo_project.toml deleted file mode 100644 index ea33f4bdc..000000000 --- a/tests/cairo_project.toml +++ /dev/null @@ -1,2 +0,0 @@ -[crate_roots] -orion_tests = "src" \ No newline at end of file diff --git a/tests/src/helpers.cairo b/tests/helpers.cairo similarity index 100% rename from tests/src/helpers.cairo rename to tests/helpers.cairo diff --git a/tests/src/helpers/tensor.cairo b/tests/helpers/tensor.cairo similarity index 100% rename from tests/src/helpers/tensor.cairo rename to tests/helpers/tensor.cairo diff --git a/tests/src/helpers/tensor/fixed_point.cairo b/tests/helpers/tensor/fixed_point.cairo similarity index 100% rename from tests/src/helpers/tensor/fixed_point.cairo rename to tests/helpers/tensor/fixed_point.cairo diff --git a/tests/src/helpers/tensor/fixed_point/fp16x16.cairo b/tests/helpers/tensor/fixed_point/fp16x16.cairo similarity index 100% rename from tests/src/helpers/tensor/fixed_point/fp16x16.cairo rename to tests/helpers/tensor/fixed_point/fp16x16.cairo diff --git a/tests/src/helpers/tensor/fixed_point/fp8x23.cairo b/tests/helpers/tensor/fixed_point/fp8x23.cairo similarity index 100% rename from tests/src/helpers/tensor/fixed_point/fp8x23.cairo rename to tests/helpers/tensor/fixed_point/fp8x23.cairo diff --git a/tests/src/helpers/tensor/i32.cairo b/tests/helpers/tensor/i32.cairo similarity index 100% rename from tests/src/helpers/tensor/i32.cairo rename to tests/helpers/tensor/i32.cairo diff --git a/tests/src/helpers/tensor/i8.cairo b/tests/helpers/tensor/i8.cairo similarity index 100% rename from tests/src/helpers/tensor/i8.cairo rename to tests/helpers/tensor/i8.cairo diff --git a/tests/src/helpers/tensor/u32.cairo b/tests/helpers/tensor/u32.cairo similarity index 100% rename from tests/src/helpers/tensor/u32.cairo rename to tests/helpers/tensor/u32.cairo diff --git a/tests/lib.cairo b/tests/lib.cairo new file mode 100644 index 000000000..110a64286 --- /dev/null +++ b/tests/lib.cairo @@ -0,0 +1,7 @@ +// mod numbers; +// // mod performance; +// // mod tensor_core; +// // mod nodes; +// mod helpers; +// // mod ml; +// // mod operators; diff --git a/tests/src/ml.cairo b/tests/ml.cairo similarity index 100% rename from tests/src/ml.cairo rename to tests/ml.cairo diff --git a/tests/src/ml/tree_regressor.cairo b/tests/ml/tree_regressor.cairo similarity index 100% rename from tests/src/ml/tree_regressor.cairo rename to tests/ml/tree_regressor.cairo diff --git a/tests/src/nodes.cairo b/tests/nodes.cairo similarity index 100% rename from tests/src/nodes.cairo rename to tests/nodes.cairo diff --git a/tests/src/nodes/.DS_Store b/tests/nodes/.DS_Store similarity index 100% rename from tests/src/nodes/.DS_Store rename to tests/nodes/.DS_Store diff --git a/tests/src/nodes/abs_fp16x16.cairo b/tests/nodes/abs_fp16x16.cairo similarity index 100% rename from tests/src/nodes/abs_fp16x16.cairo rename to tests/nodes/abs_fp16x16.cairo diff --git a/tests/src/nodes/abs_fp16x16/input_0.cairo b/tests/nodes/abs_fp16x16/input_0.cairo similarity index 100% rename from tests/src/nodes/abs_fp16x16/input_0.cairo rename to tests/nodes/abs_fp16x16/input_0.cairo diff --git a/tests/src/nodes/abs_fp16x16/output_0.cairo b/tests/nodes/abs_fp16x16/output_0.cairo similarity index 100% rename from tests/src/nodes/abs_fp16x16/output_0.cairo rename to tests/nodes/abs_fp16x16/output_0.cairo diff --git a/tests/src/nodes/abs_fp8x23.cairo b/tests/nodes/abs_fp8x23.cairo similarity index 100% rename from tests/src/nodes/abs_fp8x23.cairo rename to tests/nodes/abs_fp8x23.cairo diff --git a/tests/src/nodes/abs_fp8x23/input_0.cairo b/tests/nodes/abs_fp8x23/input_0.cairo similarity index 100% rename from tests/src/nodes/abs_fp8x23/input_0.cairo rename to tests/nodes/abs_fp8x23/input_0.cairo diff --git a/tests/src/nodes/abs_fp8x23/output_0.cairo b/tests/nodes/abs_fp8x23/output_0.cairo similarity index 100% rename from tests/src/nodes/abs_fp8x23/output_0.cairo rename to tests/nodes/abs_fp8x23/output_0.cairo diff --git a/tests/src/nodes/abs_i32.cairo b/tests/nodes/abs_i32.cairo similarity index 100% rename from tests/src/nodes/abs_i32.cairo rename to tests/nodes/abs_i32.cairo diff --git a/tests/src/nodes/abs_i32/input_0.cairo b/tests/nodes/abs_i32/input_0.cairo similarity index 100% rename from tests/src/nodes/abs_i32/input_0.cairo rename to tests/nodes/abs_i32/input_0.cairo diff --git a/tests/src/nodes/abs_i32/output_0.cairo b/tests/nodes/abs_i32/output_0.cairo similarity index 100% rename from tests/src/nodes/abs_i32/output_0.cairo rename to tests/nodes/abs_i32/output_0.cairo diff --git a/tests/src/nodes/abs_i8.cairo b/tests/nodes/abs_i8.cairo similarity index 100% rename from tests/src/nodes/abs_i8.cairo rename to tests/nodes/abs_i8.cairo diff --git a/tests/src/nodes/abs_i8/input_0.cairo b/tests/nodes/abs_i8/input_0.cairo similarity index 100% rename from tests/src/nodes/abs_i8/input_0.cairo rename to tests/nodes/abs_i8/input_0.cairo diff --git a/tests/src/nodes/abs_i8/output_0.cairo b/tests/nodes/abs_i8/output_0.cairo similarity index 100% rename from tests/src/nodes/abs_i8/output_0.cairo rename to tests/nodes/abs_i8/output_0.cairo diff --git a/tests/src/nodes/acos_fp16x16.cairo b/tests/nodes/acos_fp16x16.cairo similarity index 100% rename from tests/src/nodes/acos_fp16x16.cairo rename to tests/nodes/acos_fp16x16.cairo diff --git a/tests/src/nodes/acos_fp16x16/input_0.cairo b/tests/nodes/acos_fp16x16/input_0.cairo similarity index 100% rename from tests/src/nodes/acos_fp16x16/input_0.cairo rename to tests/nodes/acos_fp16x16/input_0.cairo diff --git a/tests/src/nodes/acos_fp16x16/output_0.cairo b/tests/nodes/acos_fp16x16/output_0.cairo similarity index 100% rename from tests/src/nodes/acos_fp16x16/output_0.cairo rename to tests/nodes/acos_fp16x16/output_0.cairo diff --git a/tests/src/nodes/acos_fp8x23.cairo b/tests/nodes/acos_fp8x23.cairo similarity index 100% rename from tests/src/nodes/acos_fp8x23.cairo rename to tests/nodes/acos_fp8x23.cairo diff --git a/tests/src/nodes/acos_fp8x23/input_0.cairo b/tests/nodes/acos_fp8x23/input_0.cairo similarity index 100% rename from tests/src/nodes/acos_fp8x23/input_0.cairo rename to tests/nodes/acos_fp8x23/input_0.cairo diff --git a/tests/src/nodes/acos_fp8x23/output_0.cairo b/tests/nodes/acos_fp8x23/output_0.cairo similarity index 100% rename from tests/src/nodes/acos_fp8x23/output_0.cairo rename to tests/nodes/acos_fp8x23/output_0.cairo diff --git a/tests/src/nodes/acosh_fp16x16.cairo b/tests/nodes/acosh_fp16x16.cairo similarity index 100% rename from tests/src/nodes/acosh_fp16x16.cairo rename to tests/nodes/acosh_fp16x16.cairo diff --git a/tests/src/nodes/acosh_fp16x16/input_0.cairo b/tests/nodes/acosh_fp16x16/input_0.cairo similarity index 100% rename from tests/src/nodes/acosh_fp16x16/input_0.cairo rename to tests/nodes/acosh_fp16x16/input_0.cairo diff --git a/tests/src/nodes/acosh_fp16x16/output_0.cairo b/tests/nodes/acosh_fp16x16/output_0.cairo similarity index 100% rename from tests/src/nodes/acosh_fp16x16/output_0.cairo rename to tests/nodes/acosh_fp16x16/output_0.cairo diff --git a/tests/src/nodes/acosh_fp8x23.cairo b/tests/nodes/acosh_fp8x23.cairo similarity index 100% rename from tests/src/nodes/acosh_fp8x23.cairo rename to tests/nodes/acosh_fp8x23.cairo diff --git a/tests/src/nodes/acosh_fp8x23/input_0.cairo b/tests/nodes/acosh_fp8x23/input_0.cairo similarity index 100% rename from tests/src/nodes/acosh_fp8x23/input_0.cairo rename to tests/nodes/acosh_fp8x23/input_0.cairo diff --git a/tests/src/nodes/acosh_fp8x23/output_0.cairo b/tests/nodes/acosh_fp8x23/output_0.cairo similarity index 100% rename from tests/src/nodes/acosh_fp8x23/output_0.cairo rename to tests/nodes/acosh_fp8x23/output_0.cairo diff --git a/tests/src/nodes/add_fp16x16.cairo b/tests/nodes/add_fp16x16.cairo similarity index 100% rename from tests/src/nodes/add_fp16x16.cairo rename to tests/nodes/add_fp16x16.cairo diff --git a/tests/src/nodes/add_fp16x16/input_0.cairo b/tests/nodes/add_fp16x16/input_0.cairo similarity index 100% rename from tests/src/nodes/add_fp16x16/input_0.cairo rename to tests/nodes/add_fp16x16/input_0.cairo diff --git a/tests/src/nodes/add_fp16x16/input_1.cairo b/tests/nodes/add_fp16x16/input_1.cairo similarity index 100% rename from tests/src/nodes/add_fp16x16/input_1.cairo rename to tests/nodes/add_fp16x16/input_1.cairo diff --git a/tests/src/nodes/add_fp16x16/output_0.cairo b/tests/nodes/add_fp16x16/output_0.cairo similarity index 100% rename from tests/src/nodes/add_fp16x16/output_0.cairo rename to tests/nodes/add_fp16x16/output_0.cairo diff --git a/tests/src/nodes/add_fp16x16_broadcast.cairo b/tests/nodes/add_fp16x16_broadcast.cairo similarity index 100% rename from tests/src/nodes/add_fp16x16_broadcast.cairo rename to tests/nodes/add_fp16x16_broadcast.cairo diff --git a/tests/src/nodes/add_fp16x16_broadcast/input_0.cairo b/tests/nodes/add_fp16x16_broadcast/input_0.cairo similarity index 100% rename from tests/src/nodes/add_fp16x16_broadcast/input_0.cairo rename to tests/nodes/add_fp16x16_broadcast/input_0.cairo diff --git a/tests/src/nodes/add_fp16x16_broadcast/input_1.cairo b/tests/nodes/add_fp16x16_broadcast/input_1.cairo similarity index 100% rename from tests/src/nodes/add_fp16x16_broadcast/input_1.cairo rename to tests/nodes/add_fp16x16_broadcast/input_1.cairo diff --git a/tests/src/nodes/add_fp16x16_broadcast/output_0.cairo b/tests/nodes/add_fp16x16_broadcast/output_0.cairo similarity index 100% rename from tests/src/nodes/add_fp16x16_broadcast/output_0.cairo rename to tests/nodes/add_fp16x16_broadcast/output_0.cairo diff --git a/tests/src/nodes/add_fp8x23.cairo b/tests/nodes/add_fp8x23.cairo similarity index 100% rename from tests/src/nodes/add_fp8x23.cairo rename to tests/nodes/add_fp8x23.cairo diff --git a/tests/src/nodes/add_fp8x23/input_0.cairo b/tests/nodes/add_fp8x23/input_0.cairo similarity index 100% rename from tests/src/nodes/add_fp8x23/input_0.cairo rename to tests/nodes/add_fp8x23/input_0.cairo diff --git a/tests/src/nodes/add_fp8x23/input_1.cairo b/tests/nodes/add_fp8x23/input_1.cairo similarity index 100% rename from tests/src/nodes/add_fp8x23/input_1.cairo rename to tests/nodes/add_fp8x23/input_1.cairo diff --git a/tests/src/nodes/add_fp8x23/output_0.cairo b/tests/nodes/add_fp8x23/output_0.cairo similarity index 100% rename from tests/src/nodes/add_fp8x23/output_0.cairo rename to tests/nodes/add_fp8x23/output_0.cairo diff --git a/tests/src/nodes/add_fp8x23_broadcast.cairo b/tests/nodes/add_fp8x23_broadcast.cairo similarity index 100% rename from tests/src/nodes/add_fp8x23_broadcast.cairo rename to tests/nodes/add_fp8x23_broadcast.cairo diff --git a/tests/src/nodes/add_fp8x23_broadcast/input_0.cairo b/tests/nodes/add_fp8x23_broadcast/input_0.cairo similarity index 100% rename from tests/src/nodes/add_fp8x23_broadcast/input_0.cairo rename to tests/nodes/add_fp8x23_broadcast/input_0.cairo diff --git a/tests/src/nodes/add_fp8x23_broadcast/input_1.cairo b/tests/nodes/add_fp8x23_broadcast/input_1.cairo similarity index 100% rename from tests/src/nodes/add_fp8x23_broadcast/input_1.cairo rename to tests/nodes/add_fp8x23_broadcast/input_1.cairo diff --git a/tests/src/nodes/add_fp8x23_broadcast/output_0.cairo b/tests/nodes/add_fp8x23_broadcast/output_0.cairo similarity index 100% rename from tests/src/nodes/add_fp8x23_broadcast/output_0.cairo rename to tests/nodes/add_fp8x23_broadcast/output_0.cairo diff --git a/tests/src/nodes/add_i32.cairo b/tests/nodes/add_i32.cairo similarity index 100% rename from tests/src/nodes/add_i32.cairo rename to tests/nodes/add_i32.cairo diff --git a/tests/src/nodes/add_i32/input_0.cairo b/tests/nodes/add_i32/input_0.cairo similarity index 100% rename from tests/src/nodes/add_i32/input_0.cairo rename to tests/nodes/add_i32/input_0.cairo diff --git a/tests/src/nodes/add_i32/input_1.cairo b/tests/nodes/add_i32/input_1.cairo similarity index 100% rename from tests/src/nodes/add_i32/input_1.cairo rename to tests/nodes/add_i32/input_1.cairo diff --git a/tests/src/nodes/add_i32/output_0.cairo b/tests/nodes/add_i32/output_0.cairo similarity index 100% rename from tests/src/nodes/add_i32/output_0.cairo rename to tests/nodes/add_i32/output_0.cairo diff --git a/tests/src/nodes/add_i32_broadcast.cairo b/tests/nodes/add_i32_broadcast.cairo similarity index 100% rename from tests/src/nodes/add_i32_broadcast.cairo rename to tests/nodes/add_i32_broadcast.cairo diff --git a/tests/src/nodes/add_i32_broadcast/input_0.cairo b/tests/nodes/add_i32_broadcast/input_0.cairo similarity index 100% rename from tests/src/nodes/add_i32_broadcast/input_0.cairo rename to tests/nodes/add_i32_broadcast/input_0.cairo diff --git a/tests/src/nodes/add_i32_broadcast/input_1.cairo b/tests/nodes/add_i32_broadcast/input_1.cairo similarity index 100% rename from tests/src/nodes/add_i32_broadcast/input_1.cairo rename to tests/nodes/add_i32_broadcast/input_1.cairo diff --git a/tests/src/nodes/add_i32_broadcast/output_0.cairo b/tests/nodes/add_i32_broadcast/output_0.cairo similarity index 100% rename from tests/src/nodes/add_i32_broadcast/output_0.cairo rename to tests/nodes/add_i32_broadcast/output_0.cairo diff --git a/tests/src/nodes/add_i8.cairo b/tests/nodes/add_i8.cairo similarity index 100% rename from tests/src/nodes/add_i8.cairo rename to tests/nodes/add_i8.cairo diff --git a/tests/src/nodes/add_i8/input_0.cairo b/tests/nodes/add_i8/input_0.cairo similarity index 100% rename from tests/src/nodes/add_i8/input_0.cairo rename to tests/nodes/add_i8/input_0.cairo diff --git a/tests/src/nodes/add_i8/input_1.cairo b/tests/nodes/add_i8/input_1.cairo similarity index 100% rename from tests/src/nodes/add_i8/input_1.cairo rename to tests/nodes/add_i8/input_1.cairo diff --git a/tests/src/nodes/add_i8/output_0.cairo b/tests/nodes/add_i8/output_0.cairo similarity index 100% rename from tests/src/nodes/add_i8/output_0.cairo rename to tests/nodes/add_i8/output_0.cairo diff --git a/tests/src/nodes/add_i8_broadcast.cairo b/tests/nodes/add_i8_broadcast.cairo similarity index 100% rename from tests/src/nodes/add_i8_broadcast.cairo rename to tests/nodes/add_i8_broadcast.cairo diff --git a/tests/src/nodes/add_i8_broadcast/input_0.cairo b/tests/nodes/add_i8_broadcast/input_0.cairo similarity index 100% rename from tests/src/nodes/add_i8_broadcast/input_0.cairo rename to tests/nodes/add_i8_broadcast/input_0.cairo diff --git a/tests/src/nodes/add_i8_broadcast/input_1.cairo b/tests/nodes/add_i8_broadcast/input_1.cairo similarity index 100% rename from tests/src/nodes/add_i8_broadcast/input_1.cairo rename to tests/nodes/add_i8_broadcast/input_1.cairo diff --git a/tests/src/nodes/add_i8_broadcast/output_0.cairo b/tests/nodes/add_i8_broadcast/output_0.cairo similarity index 100% rename from tests/src/nodes/add_i8_broadcast/output_0.cairo rename to tests/nodes/add_i8_broadcast/output_0.cairo diff --git a/tests/src/nodes/add_u32.cairo b/tests/nodes/add_u32.cairo similarity index 100% rename from tests/src/nodes/add_u32.cairo rename to tests/nodes/add_u32.cairo diff --git a/tests/src/nodes/add_u32/input_0.cairo b/tests/nodes/add_u32/input_0.cairo similarity index 100% rename from tests/src/nodes/add_u32/input_0.cairo rename to tests/nodes/add_u32/input_0.cairo diff --git a/tests/src/nodes/add_u32/input_1.cairo b/tests/nodes/add_u32/input_1.cairo similarity index 100% rename from tests/src/nodes/add_u32/input_1.cairo rename to tests/nodes/add_u32/input_1.cairo diff --git a/tests/src/nodes/add_u32/output_0.cairo b/tests/nodes/add_u32/output_0.cairo similarity index 100% rename from tests/src/nodes/add_u32/output_0.cairo rename to tests/nodes/add_u32/output_0.cairo diff --git a/tests/src/nodes/add_u32_broadcast.cairo b/tests/nodes/add_u32_broadcast.cairo similarity index 100% rename from tests/src/nodes/add_u32_broadcast.cairo rename to tests/nodes/add_u32_broadcast.cairo diff --git a/tests/src/nodes/add_u32_broadcast/input_0.cairo b/tests/nodes/add_u32_broadcast/input_0.cairo similarity index 100% rename from tests/src/nodes/add_u32_broadcast/input_0.cairo rename to tests/nodes/add_u32_broadcast/input_0.cairo diff --git a/tests/src/nodes/add_u32_broadcast/input_1.cairo b/tests/nodes/add_u32_broadcast/input_1.cairo similarity index 100% rename from tests/src/nodes/add_u32_broadcast/input_1.cairo rename to tests/nodes/add_u32_broadcast/input_1.cairo diff --git a/tests/src/nodes/add_u32_broadcast/output_0.cairo b/tests/nodes/add_u32_broadcast/output_0.cairo similarity index 100% rename from tests/src/nodes/add_u32_broadcast/output_0.cairo rename to tests/nodes/add_u32_broadcast/output_0.cairo diff --git a/tests/src/nodes/and_fp16x16.cairo b/tests/nodes/and_fp16x16.cairo similarity index 100% rename from tests/src/nodes/and_fp16x16.cairo rename to tests/nodes/and_fp16x16.cairo diff --git a/tests/src/nodes/and_fp16x16/input_0.cairo b/tests/nodes/and_fp16x16/input_0.cairo similarity index 100% rename from tests/src/nodes/and_fp16x16/input_0.cairo rename to tests/nodes/and_fp16x16/input_0.cairo diff --git a/tests/src/nodes/and_fp16x16/input_1.cairo b/tests/nodes/and_fp16x16/input_1.cairo similarity index 100% rename from tests/src/nodes/and_fp16x16/input_1.cairo rename to tests/nodes/and_fp16x16/input_1.cairo diff --git a/tests/src/nodes/and_fp16x16/output_0.cairo b/tests/nodes/and_fp16x16/output_0.cairo similarity index 100% rename from tests/src/nodes/and_fp16x16/output_0.cairo rename to tests/nodes/and_fp16x16/output_0.cairo diff --git a/tests/src/nodes/and_fp16x16_broadcast.cairo b/tests/nodes/and_fp16x16_broadcast.cairo similarity index 100% rename from tests/src/nodes/and_fp16x16_broadcast.cairo rename to tests/nodes/and_fp16x16_broadcast.cairo diff --git a/tests/src/nodes/and_fp16x16_broadcast/input_0.cairo b/tests/nodes/and_fp16x16_broadcast/input_0.cairo similarity index 100% rename from tests/src/nodes/and_fp16x16_broadcast/input_0.cairo rename to tests/nodes/and_fp16x16_broadcast/input_0.cairo diff --git a/tests/src/nodes/and_fp16x16_broadcast/input_1.cairo b/tests/nodes/and_fp16x16_broadcast/input_1.cairo similarity index 100% rename from tests/src/nodes/and_fp16x16_broadcast/input_1.cairo rename to tests/nodes/and_fp16x16_broadcast/input_1.cairo diff --git a/tests/src/nodes/and_fp16x16_broadcast/output_0.cairo b/tests/nodes/and_fp16x16_broadcast/output_0.cairo similarity index 100% rename from tests/src/nodes/and_fp16x16_broadcast/output_0.cairo rename to tests/nodes/and_fp16x16_broadcast/output_0.cairo diff --git a/tests/src/nodes/and_fp8x23.cairo b/tests/nodes/and_fp8x23.cairo similarity index 100% rename from tests/src/nodes/and_fp8x23.cairo rename to tests/nodes/and_fp8x23.cairo diff --git a/tests/src/nodes/and_fp8x23/input_0.cairo b/tests/nodes/and_fp8x23/input_0.cairo similarity index 100% rename from tests/src/nodes/and_fp8x23/input_0.cairo rename to tests/nodes/and_fp8x23/input_0.cairo diff --git a/tests/src/nodes/and_fp8x23/input_1.cairo b/tests/nodes/and_fp8x23/input_1.cairo similarity index 100% rename from tests/src/nodes/and_fp8x23/input_1.cairo rename to tests/nodes/and_fp8x23/input_1.cairo diff --git a/tests/src/nodes/and_fp8x23/output_0.cairo b/tests/nodes/and_fp8x23/output_0.cairo similarity index 100% rename from tests/src/nodes/and_fp8x23/output_0.cairo rename to tests/nodes/and_fp8x23/output_0.cairo diff --git a/tests/src/nodes/and_fp8x23_broadcast.cairo b/tests/nodes/and_fp8x23_broadcast.cairo similarity index 100% rename from tests/src/nodes/and_fp8x23_broadcast.cairo rename to tests/nodes/and_fp8x23_broadcast.cairo diff --git a/tests/src/nodes/and_fp8x23_broadcast/input_0.cairo b/tests/nodes/and_fp8x23_broadcast/input_0.cairo similarity index 100% rename from tests/src/nodes/and_fp8x23_broadcast/input_0.cairo rename to tests/nodes/and_fp8x23_broadcast/input_0.cairo diff --git a/tests/src/nodes/and_fp8x23_broadcast/input_1.cairo b/tests/nodes/and_fp8x23_broadcast/input_1.cairo similarity index 100% rename from tests/src/nodes/and_fp8x23_broadcast/input_1.cairo rename to tests/nodes/and_fp8x23_broadcast/input_1.cairo diff --git a/tests/src/nodes/and_fp8x23_broadcast/output_0.cairo b/tests/nodes/and_fp8x23_broadcast/output_0.cairo similarity index 100% rename from tests/src/nodes/and_fp8x23_broadcast/output_0.cairo rename to tests/nodes/and_fp8x23_broadcast/output_0.cairo diff --git a/tests/src/nodes/and_i32.cairo b/tests/nodes/and_i32.cairo similarity index 100% rename from tests/src/nodes/and_i32.cairo rename to tests/nodes/and_i32.cairo diff --git a/tests/src/nodes/and_i32/input_0.cairo b/tests/nodes/and_i32/input_0.cairo similarity index 100% rename from tests/src/nodes/and_i32/input_0.cairo rename to tests/nodes/and_i32/input_0.cairo diff --git a/tests/src/nodes/and_i32/input_1.cairo b/tests/nodes/and_i32/input_1.cairo similarity index 100% rename from tests/src/nodes/and_i32/input_1.cairo rename to tests/nodes/and_i32/input_1.cairo diff --git a/tests/src/nodes/and_i32/output_0.cairo b/tests/nodes/and_i32/output_0.cairo similarity index 100% rename from tests/src/nodes/and_i32/output_0.cairo rename to tests/nodes/and_i32/output_0.cairo diff --git a/tests/src/nodes/and_i32_broadcast.cairo b/tests/nodes/and_i32_broadcast.cairo similarity index 100% rename from tests/src/nodes/and_i32_broadcast.cairo rename to tests/nodes/and_i32_broadcast.cairo diff --git a/tests/src/nodes/and_i32_broadcast/input_0.cairo b/tests/nodes/and_i32_broadcast/input_0.cairo similarity index 100% rename from tests/src/nodes/and_i32_broadcast/input_0.cairo rename to tests/nodes/and_i32_broadcast/input_0.cairo diff --git a/tests/src/nodes/and_i32_broadcast/input_1.cairo b/tests/nodes/and_i32_broadcast/input_1.cairo similarity index 100% rename from tests/src/nodes/and_i32_broadcast/input_1.cairo rename to tests/nodes/and_i32_broadcast/input_1.cairo diff --git a/tests/src/nodes/and_i32_broadcast/output_0.cairo b/tests/nodes/and_i32_broadcast/output_0.cairo similarity index 100% rename from tests/src/nodes/and_i32_broadcast/output_0.cairo rename to tests/nodes/and_i32_broadcast/output_0.cairo diff --git a/tests/src/nodes/and_i8.cairo b/tests/nodes/and_i8.cairo similarity index 100% rename from tests/src/nodes/and_i8.cairo rename to tests/nodes/and_i8.cairo diff --git a/tests/src/nodes/and_i8/input_0.cairo b/tests/nodes/and_i8/input_0.cairo similarity index 100% rename from tests/src/nodes/and_i8/input_0.cairo rename to tests/nodes/and_i8/input_0.cairo diff --git a/tests/src/nodes/and_i8/input_1.cairo b/tests/nodes/and_i8/input_1.cairo similarity index 100% rename from tests/src/nodes/and_i8/input_1.cairo rename to tests/nodes/and_i8/input_1.cairo diff --git a/tests/src/nodes/and_i8/output_0.cairo b/tests/nodes/and_i8/output_0.cairo similarity index 100% rename from tests/src/nodes/and_i8/output_0.cairo rename to tests/nodes/and_i8/output_0.cairo diff --git a/tests/src/nodes/and_i8_broadcast.cairo b/tests/nodes/and_i8_broadcast.cairo similarity index 100% rename from tests/src/nodes/and_i8_broadcast.cairo rename to tests/nodes/and_i8_broadcast.cairo diff --git a/tests/src/nodes/and_i8_broadcast/input_0.cairo b/tests/nodes/and_i8_broadcast/input_0.cairo similarity index 100% rename from tests/src/nodes/and_i8_broadcast/input_0.cairo rename to tests/nodes/and_i8_broadcast/input_0.cairo diff --git a/tests/src/nodes/and_i8_broadcast/input_1.cairo b/tests/nodes/and_i8_broadcast/input_1.cairo similarity index 100% rename from tests/src/nodes/and_i8_broadcast/input_1.cairo rename to tests/nodes/and_i8_broadcast/input_1.cairo diff --git a/tests/src/nodes/and_i8_broadcast/output_0.cairo b/tests/nodes/and_i8_broadcast/output_0.cairo similarity index 100% rename from tests/src/nodes/and_i8_broadcast/output_0.cairo rename to tests/nodes/and_i8_broadcast/output_0.cairo diff --git a/tests/src/nodes/and_u32.cairo b/tests/nodes/and_u32.cairo similarity index 100% rename from tests/src/nodes/and_u32.cairo rename to tests/nodes/and_u32.cairo diff --git a/tests/src/nodes/and_u32/input_0.cairo b/tests/nodes/and_u32/input_0.cairo similarity index 100% rename from tests/src/nodes/and_u32/input_0.cairo rename to tests/nodes/and_u32/input_0.cairo diff --git a/tests/src/nodes/and_u32/input_1.cairo b/tests/nodes/and_u32/input_1.cairo similarity index 100% rename from tests/src/nodes/and_u32/input_1.cairo rename to tests/nodes/and_u32/input_1.cairo diff --git a/tests/src/nodes/and_u32/output_0.cairo b/tests/nodes/and_u32/output_0.cairo similarity index 100% rename from tests/src/nodes/and_u32/output_0.cairo rename to tests/nodes/and_u32/output_0.cairo diff --git a/tests/src/nodes/and_u32_broadcast.cairo b/tests/nodes/and_u32_broadcast.cairo similarity index 100% rename from tests/src/nodes/and_u32_broadcast.cairo rename to tests/nodes/and_u32_broadcast.cairo diff --git a/tests/src/nodes/and_u32_broadcast/input_0.cairo b/tests/nodes/and_u32_broadcast/input_0.cairo similarity index 100% rename from tests/src/nodes/and_u32_broadcast/input_0.cairo rename to tests/nodes/and_u32_broadcast/input_0.cairo diff --git a/tests/src/nodes/and_u32_broadcast/input_1.cairo b/tests/nodes/and_u32_broadcast/input_1.cairo similarity index 100% rename from tests/src/nodes/and_u32_broadcast/input_1.cairo rename to tests/nodes/and_u32_broadcast/input_1.cairo diff --git a/tests/src/nodes/and_u32_broadcast/output_0.cairo b/tests/nodes/and_u32_broadcast/output_0.cairo similarity index 100% rename from tests/src/nodes/and_u32_broadcast/output_0.cairo rename to tests/nodes/and_u32_broadcast/output_0.cairo diff --git a/tests/src/nodes/argmax_fp16x16_1D_default.cairo b/tests/nodes/argmax_fp16x16_1D_default.cairo similarity index 100% rename from tests/src/nodes/argmax_fp16x16_1D_default.cairo rename to tests/nodes/argmax_fp16x16_1D_default.cairo diff --git a/tests/src/nodes/argmax_fp16x16_1D_default/input_0.cairo b/tests/nodes/argmax_fp16x16_1D_default/input_0.cairo similarity index 100% rename from tests/src/nodes/argmax_fp16x16_1D_default/input_0.cairo rename to tests/nodes/argmax_fp16x16_1D_default/input_0.cairo diff --git a/tests/src/nodes/argmax_fp16x16_1D_default/output_0.cairo b/tests/nodes/argmax_fp16x16_1D_default/output_0.cairo similarity index 100% rename from tests/src/nodes/argmax_fp16x16_1D_default/output_0.cairo rename to tests/nodes/argmax_fp16x16_1D_default/output_0.cairo diff --git a/tests/src/nodes/argmax_fp16x16_1D_keepdims_false.cairo b/tests/nodes/argmax_fp16x16_1D_keepdims_false.cairo similarity index 100% rename from tests/src/nodes/argmax_fp16x16_1D_keepdims_false.cairo rename to tests/nodes/argmax_fp16x16_1D_keepdims_false.cairo diff --git a/tests/src/nodes/argmax_fp16x16_1D_keepdims_false/input_0.cairo b/tests/nodes/argmax_fp16x16_1D_keepdims_false/input_0.cairo similarity index 100% rename from tests/src/nodes/argmax_fp16x16_1D_keepdims_false/input_0.cairo rename to tests/nodes/argmax_fp16x16_1D_keepdims_false/input_0.cairo diff --git a/tests/src/nodes/argmax_fp16x16_1D_keepdims_false/output_0.cairo b/tests/nodes/argmax_fp16x16_1D_keepdims_false/output_0.cairo similarity index 100% rename from tests/src/nodes/argmax_fp16x16_1D_keepdims_false/output_0.cairo rename to tests/nodes/argmax_fp16x16_1D_keepdims_false/output_0.cairo diff --git a/tests/src/nodes/argmax_fp16x16_1D_last_index.cairo b/tests/nodes/argmax_fp16x16_1D_last_index.cairo similarity index 100% rename from tests/src/nodes/argmax_fp16x16_1D_last_index.cairo rename to tests/nodes/argmax_fp16x16_1D_last_index.cairo diff --git a/tests/src/nodes/argmax_fp16x16_1D_last_index/input_0.cairo b/tests/nodes/argmax_fp16x16_1D_last_index/input_0.cairo similarity index 100% rename from tests/src/nodes/argmax_fp16x16_1D_last_index/input_0.cairo rename to tests/nodes/argmax_fp16x16_1D_last_index/input_0.cairo diff --git a/tests/src/nodes/argmax_fp16x16_1D_last_index/output_0.cairo b/tests/nodes/argmax_fp16x16_1D_last_index/output_0.cairo similarity index 100% rename from tests/src/nodes/argmax_fp16x16_1D_last_index/output_0.cairo rename to tests/nodes/argmax_fp16x16_1D_last_index/output_0.cairo diff --git a/tests/src/nodes/argmax_fp16x16_2D_default.cairo b/tests/nodes/argmax_fp16x16_2D_default.cairo similarity index 100% rename from tests/src/nodes/argmax_fp16x16_2D_default.cairo rename to tests/nodes/argmax_fp16x16_2D_default.cairo diff --git a/tests/src/nodes/argmax_fp16x16_2D_default/input_0.cairo b/tests/nodes/argmax_fp16x16_2D_default/input_0.cairo similarity index 100% rename from tests/src/nodes/argmax_fp16x16_2D_default/input_0.cairo rename to tests/nodes/argmax_fp16x16_2D_default/input_0.cairo diff --git a/tests/src/nodes/argmax_fp16x16_2D_default/output_0.cairo b/tests/nodes/argmax_fp16x16_2D_default/output_0.cairo similarity index 100% rename from tests/src/nodes/argmax_fp16x16_2D_default/output_0.cairo rename to tests/nodes/argmax_fp16x16_2D_default/output_0.cairo diff --git a/tests/src/nodes/argmax_fp16x16_2D_keepdims_false.cairo b/tests/nodes/argmax_fp16x16_2D_keepdims_false.cairo similarity index 100% rename from tests/src/nodes/argmax_fp16x16_2D_keepdims_false.cairo rename to tests/nodes/argmax_fp16x16_2D_keepdims_false.cairo diff --git a/tests/src/nodes/argmax_fp16x16_2D_keepdims_false/input_0.cairo b/tests/nodes/argmax_fp16x16_2D_keepdims_false/input_0.cairo similarity index 100% rename from tests/src/nodes/argmax_fp16x16_2D_keepdims_false/input_0.cairo rename to tests/nodes/argmax_fp16x16_2D_keepdims_false/input_0.cairo diff --git a/tests/src/nodes/argmax_fp16x16_2D_keepdims_false/output_0.cairo b/tests/nodes/argmax_fp16x16_2D_keepdims_false/output_0.cairo similarity index 100% rename from tests/src/nodes/argmax_fp16x16_2D_keepdims_false/output_0.cairo rename to tests/nodes/argmax_fp16x16_2D_keepdims_false/output_0.cairo diff --git a/tests/src/nodes/argmax_fp16x16_2D_last_index.cairo b/tests/nodes/argmax_fp16x16_2D_last_index.cairo similarity index 100% rename from tests/src/nodes/argmax_fp16x16_2D_last_index.cairo rename to tests/nodes/argmax_fp16x16_2D_last_index.cairo diff --git a/tests/src/nodes/argmax_fp16x16_2D_last_index/input_0.cairo b/tests/nodes/argmax_fp16x16_2D_last_index/input_0.cairo similarity index 100% rename from tests/src/nodes/argmax_fp16x16_2D_last_index/input_0.cairo rename to tests/nodes/argmax_fp16x16_2D_last_index/input_0.cairo diff --git a/tests/src/nodes/argmax_fp16x16_2D_last_index/output_0.cairo b/tests/nodes/argmax_fp16x16_2D_last_index/output_0.cairo similarity index 100% rename from tests/src/nodes/argmax_fp16x16_2D_last_index/output_0.cairo rename to tests/nodes/argmax_fp16x16_2D_last_index/output_0.cairo diff --git a/tests/src/nodes/argmax_fp16x16_3D_default.cairo b/tests/nodes/argmax_fp16x16_3D_default.cairo similarity index 100% rename from tests/src/nodes/argmax_fp16x16_3D_default.cairo rename to tests/nodes/argmax_fp16x16_3D_default.cairo diff --git a/tests/src/nodes/argmax_fp16x16_3D_default/input_0.cairo b/tests/nodes/argmax_fp16x16_3D_default/input_0.cairo similarity index 100% rename from tests/src/nodes/argmax_fp16x16_3D_default/input_0.cairo rename to tests/nodes/argmax_fp16x16_3D_default/input_0.cairo diff --git a/tests/src/nodes/argmax_fp16x16_3D_default/output_0.cairo b/tests/nodes/argmax_fp16x16_3D_default/output_0.cairo similarity index 100% rename from tests/src/nodes/argmax_fp16x16_3D_default/output_0.cairo rename to tests/nodes/argmax_fp16x16_3D_default/output_0.cairo diff --git a/tests/src/nodes/argmax_fp16x16_3D_keepdims_false.cairo b/tests/nodes/argmax_fp16x16_3D_keepdims_false.cairo similarity index 100% rename from tests/src/nodes/argmax_fp16x16_3D_keepdims_false.cairo rename to tests/nodes/argmax_fp16x16_3D_keepdims_false.cairo diff --git a/tests/src/nodes/argmax_fp16x16_3D_keepdims_false/input_0.cairo b/tests/nodes/argmax_fp16x16_3D_keepdims_false/input_0.cairo similarity index 100% rename from tests/src/nodes/argmax_fp16x16_3D_keepdims_false/input_0.cairo rename to tests/nodes/argmax_fp16x16_3D_keepdims_false/input_0.cairo diff --git a/tests/src/nodes/argmax_fp16x16_3D_keepdims_false/output_0.cairo b/tests/nodes/argmax_fp16x16_3D_keepdims_false/output_0.cairo similarity index 100% rename from tests/src/nodes/argmax_fp16x16_3D_keepdims_false/output_0.cairo rename to tests/nodes/argmax_fp16x16_3D_keepdims_false/output_0.cairo diff --git a/tests/src/nodes/argmax_fp16x16_3D_last_index.cairo b/tests/nodes/argmax_fp16x16_3D_last_index.cairo similarity index 100% rename from tests/src/nodes/argmax_fp16x16_3D_last_index.cairo rename to tests/nodes/argmax_fp16x16_3D_last_index.cairo diff --git a/tests/src/nodes/argmax_fp16x16_3D_last_index/input_0.cairo b/tests/nodes/argmax_fp16x16_3D_last_index/input_0.cairo similarity index 100% rename from tests/src/nodes/argmax_fp16x16_3D_last_index/input_0.cairo rename to tests/nodes/argmax_fp16x16_3D_last_index/input_0.cairo diff --git a/tests/src/nodes/argmax_fp16x16_3D_last_index/output_0.cairo b/tests/nodes/argmax_fp16x16_3D_last_index/output_0.cairo similarity index 100% rename from tests/src/nodes/argmax_fp16x16_3D_last_index/output_0.cairo rename to tests/nodes/argmax_fp16x16_3D_last_index/output_0.cairo diff --git a/tests/src/nodes/argmax_fp8x23_1D_default.cairo b/tests/nodes/argmax_fp8x23_1D_default.cairo similarity index 100% rename from tests/src/nodes/argmax_fp8x23_1D_default.cairo rename to tests/nodes/argmax_fp8x23_1D_default.cairo diff --git a/tests/src/nodes/argmax_fp8x23_1D_default/input_0.cairo b/tests/nodes/argmax_fp8x23_1D_default/input_0.cairo similarity index 100% rename from tests/src/nodes/argmax_fp8x23_1D_default/input_0.cairo rename to tests/nodes/argmax_fp8x23_1D_default/input_0.cairo diff --git a/tests/src/nodes/argmax_fp8x23_1D_default/output_0.cairo b/tests/nodes/argmax_fp8x23_1D_default/output_0.cairo similarity index 100% rename from tests/src/nodes/argmax_fp8x23_1D_default/output_0.cairo rename to tests/nodes/argmax_fp8x23_1D_default/output_0.cairo diff --git a/tests/src/nodes/argmax_fp8x23_1D_keepdims_false.cairo b/tests/nodes/argmax_fp8x23_1D_keepdims_false.cairo similarity index 100% rename from tests/src/nodes/argmax_fp8x23_1D_keepdims_false.cairo rename to tests/nodes/argmax_fp8x23_1D_keepdims_false.cairo diff --git a/tests/src/nodes/argmax_fp8x23_1D_keepdims_false/input_0.cairo b/tests/nodes/argmax_fp8x23_1D_keepdims_false/input_0.cairo similarity index 100% rename from tests/src/nodes/argmax_fp8x23_1D_keepdims_false/input_0.cairo rename to tests/nodes/argmax_fp8x23_1D_keepdims_false/input_0.cairo diff --git a/tests/src/nodes/argmax_fp8x23_1D_keepdims_false/output_0.cairo b/tests/nodes/argmax_fp8x23_1D_keepdims_false/output_0.cairo similarity index 100% rename from tests/src/nodes/argmax_fp8x23_1D_keepdims_false/output_0.cairo rename to tests/nodes/argmax_fp8x23_1D_keepdims_false/output_0.cairo diff --git a/tests/src/nodes/argmax_fp8x23_1D_last_index.cairo b/tests/nodes/argmax_fp8x23_1D_last_index.cairo similarity index 100% rename from tests/src/nodes/argmax_fp8x23_1D_last_index.cairo rename to tests/nodes/argmax_fp8x23_1D_last_index.cairo diff --git a/tests/src/nodes/argmax_fp8x23_1D_last_index/input_0.cairo b/tests/nodes/argmax_fp8x23_1D_last_index/input_0.cairo similarity index 100% rename from tests/src/nodes/argmax_fp8x23_1D_last_index/input_0.cairo rename to tests/nodes/argmax_fp8x23_1D_last_index/input_0.cairo diff --git a/tests/src/nodes/argmax_fp8x23_1D_last_index/output_0.cairo b/tests/nodes/argmax_fp8x23_1D_last_index/output_0.cairo similarity index 100% rename from tests/src/nodes/argmax_fp8x23_1D_last_index/output_0.cairo rename to tests/nodes/argmax_fp8x23_1D_last_index/output_0.cairo diff --git a/tests/src/nodes/argmax_fp8x23_2D_default.cairo b/tests/nodes/argmax_fp8x23_2D_default.cairo similarity index 100% rename from tests/src/nodes/argmax_fp8x23_2D_default.cairo rename to tests/nodes/argmax_fp8x23_2D_default.cairo diff --git a/tests/src/nodes/argmax_fp8x23_2D_default/input_0.cairo b/tests/nodes/argmax_fp8x23_2D_default/input_0.cairo similarity index 100% rename from tests/src/nodes/argmax_fp8x23_2D_default/input_0.cairo rename to tests/nodes/argmax_fp8x23_2D_default/input_0.cairo diff --git a/tests/src/nodes/argmax_fp8x23_2D_default/output_0.cairo b/tests/nodes/argmax_fp8x23_2D_default/output_0.cairo similarity index 100% rename from tests/src/nodes/argmax_fp8x23_2D_default/output_0.cairo rename to tests/nodes/argmax_fp8x23_2D_default/output_0.cairo diff --git a/tests/src/nodes/argmax_fp8x23_2D_keepdims_false.cairo b/tests/nodes/argmax_fp8x23_2D_keepdims_false.cairo similarity index 100% rename from tests/src/nodes/argmax_fp8x23_2D_keepdims_false.cairo rename to tests/nodes/argmax_fp8x23_2D_keepdims_false.cairo diff --git a/tests/src/nodes/argmax_fp8x23_2D_keepdims_false/input_0.cairo b/tests/nodes/argmax_fp8x23_2D_keepdims_false/input_0.cairo similarity index 100% rename from tests/src/nodes/argmax_fp8x23_2D_keepdims_false/input_0.cairo rename to tests/nodes/argmax_fp8x23_2D_keepdims_false/input_0.cairo diff --git a/tests/src/nodes/argmax_fp8x23_2D_keepdims_false/output_0.cairo b/tests/nodes/argmax_fp8x23_2D_keepdims_false/output_0.cairo similarity index 100% rename from tests/src/nodes/argmax_fp8x23_2D_keepdims_false/output_0.cairo rename to tests/nodes/argmax_fp8x23_2D_keepdims_false/output_0.cairo diff --git a/tests/src/nodes/argmax_fp8x23_2D_last_index.cairo b/tests/nodes/argmax_fp8x23_2D_last_index.cairo similarity index 100% rename from tests/src/nodes/argmax_fp8x23_2D_last_index.cairo rename to tests/nodes/argmax_fp8x23_2D_last_index.cairo diff --git a/tests/src/nodes/argmax_fp8x23_2D_last_index/input_0.cairo b/tests/nodes/argmax_fp8x23_2D_last_index/input_0.cairo similarity index 100% rename from tests/src/nodes/argmax_fp8x23_2D_last_index/input_0.cairo rename to tests/nodes/argmax_fp8x23_2D_last_index/input_0.cairo diff --git a/tests/src/nodes/argmax_fp8x23_2D_last_index/output_0.cairo b/tests/nodes/argmax_fp8x23_2D_last_index/output_0.cairo similarity index 100% rename from tests/src/nodes/argmax_fp8x23_2D_last_index/output_0.cairo rename to tests/nodes/argmax_fp8x23_2D_last_index/output_0.cairo diff --git a/tests/src/nodes/argmax_fp8x23_3D_default.cairo b/tests/nodes/argmax_fp8x23_3D_default.cairo similarity index 100% rename from tests/src/nodes/argmax_fp8x23_3D_default.cairo rename to tests/nodes/argmax_fp8x23_3D_default.cairo diff --git a/tests/src/nodes/argmax_fp8x23_3D_default/input_0.cairo b/tests/nodes/argmax_fp8x23_3D_default/input_0.cairo similarity index 100% rename from tests/src/nodes/argmax_fp8x23_3D_default/input_0.cairo rename to tests/nodes/argmax_fp8x23_3D_default/input_0.cairo diff --git a/tests/src/nodes/argmax_fp8x23_3D_default/output_0.cairo b/tests/nodes/argmax_fp8x23_3D_default/output_0.cairo similarity index 100% rename from tests/src/nodes/argmax_fp8x23_3D_default/output_0.cairo rename to tests/nodes/argmax_fp8x23_3D_default/output_0.cairo diff --git a/tests/src/nodes/argmax_fp8x23_3D_keepdims_false.cairo b/tests/nodes/argmax_fp8x23_3D_keepdims_false.cairo similarity index 100% rename from tests/src/nodes/argmax_fp8x23_3D_keepdims_false.cairo rename to tests/nodes/argmax_fp8x23_3D_keepdims_false.cairo diff --git a/tests/src/nodes/argmax_fp8x23_3D_keepdims_false/input_0.cairo b/tests/nodes/argmax_fp8x23_3D_keepdims_false/input_0.cairo similarity index 100% rename from tests/src/nodes/argmax_fp8x23_3D_keepdims_false/input_0.cairo rename to tests/nodes/argmax_fp8x23_3D_keepdims_false/input_0.cairo diff --git a/tests/src/nodes/argmax_fp8x23_3D_keepdims_false/output_0.cairo b/tests/nodes/argmax_fp8x23_3D_keepdims_false/output_0.cairo similarity index 100% rename from tests/src/nodes/argmax_fp8x23_3D_keepdims_false/output_0.cairo rename to tests/nodes/argmax_fp8x23_3D_keepdims_false/output_0.cairo diff --git a/tests/src/nodes/argmax_fp8x23_3D_last_index.cairo b/tests/nodes/argmax_fp8x23_3D_last_index.cairo similarity index 100% rename from tests/src/nodes/argmax_fp8x23_3D_last_index.cairo rename to tests/nodes/argmax_fp8x23_3D_last_index.cairo diff --git a/tests/src/nodes/argmax_fp8x23_3D_last_index/input_0.cairo b/tests/nodes/argmax_fp8x23_3D_last_index/input_0.cairo similarity index 100% rename from tests/src/nodes/argmax_fp8x23_3D_last_index/input_0.cairo rename to tests/nodes/argmax_fp8x23_3D_last_index/input_0.cairo diff --git a/tests/src/nodes/argmax_fp8x23_3D_last_index/output_0.cairo b/tests/nodes/argmax_fp8x23_3D_last_index/output_0.cairo similarity index 100% rename from tests/src/nodes/argmax_fp8x23_3D_last_index/output_0.cairo rename to tests/nodes/argmax_fp8x23_3D_last_index/output_0.cairo diff --git a/tests/src/nodes/argmax_i32_1D_default.cairo b/tests/nodes/argmax_i32_1D_default.cairo similarity index 100% rename from tests/src/nodes/argmax_i32_1D_default.cairo rename to tests/nodes/argmax_i32_1D_default.cairo diff --git a/tests/src/nodes/argmax_i32_1D_default/input_0.cairo b/tests/nodes/argmax_i32_1D_default/input_0.cairo similarity index 100% rename from tests/src/nodes/argmax_i32_1D_default/input_0.cairo rename to tests/nodes/argmax_i32_1D_default/input_0.cairo diff --git a/tests/src/nodes/argmax_i32_1D_default/output_0.cairo b/tests/nodes/argmax_i32_1D_default/output_0.cairo similarity index 100% rename from tests/src/nodes/argmax_i32_1D_default/output_0.cairo rename to tests/nodes/argmax_i32_1D_default/output_0.cairo diff --git a/tests/src/nodes/argmax_i32_1D_keepdims_false.cairo b/tests/nodes/argmax_i32_1D_keepdims_false.cairo similarity index 100% rename from tests/src/nodes/argmax_i32_1D_keepdims_false.cairo rename to tests/nodes/argmax_i32_1D_keepdims_false.cairo diff --git a/tests/src/nodes/argmax_i32_1D_keepdims_false/input_0.cairo b/tests/nodes/argmax_i32_1D_keepdims_false/input_0.cairo similarity index 100% rename from tests/src/nodes/argmax_i32_1D_keepdims_false/input_0.cairo rename to tests/nodes/argmax_i32_1D_keepdims_false/input_0.cairo diff --git a/tests/src/nodes/argmax_i32_1D_keepdims_false/output_0.cairo b/tests/nodes/argmax_i32_1D_keepdims_false/output_0.cairo similarity index 100% rename from tests/src/nodes/argmax_i32_1D_keepdims_false/output_0.cairo rename to tests/nodes/argmax_i32_1D_keepdims_false/output_0.cairo diff --git a/tests/src/nodes/argmax_i32_1D_last_index.cairo b/tests/nodes/argmax_i32_1D_last_index.cairo similarity index 100% rename from tests/src/nodes/argmax_i32_1D_last_index.cairo rename to tests/nodes/argmax_i32_1D_last_index.cairo diff --git a/tests/src/nodes/argmax_i32_1D_last_index/input_0.cairo b/tests/nodes/argmax_i32_1D_last_index/input_0.cairo similarity index 100% rename from tests/src/nodes/argmax_i32_1D_last_index/input_0.cairo rename to tests/nodes/argmax_i32_1D_last_index/input_0.cairo diff --git a/tests/src/nodes/argmax_i32_1D_last_index/output_0.cairo b/tests/nodes/argmax_i32_1D_last_index/output_0.cairo similarity index 100% rename from tests/src/nodes/argmax_i32_1D_last_index/output_0.cairo rename to tests/nodes/argmax_i32_1D_last_index/output_0.cairo diff --git a/tests/src/nodes/argmax_i32_2D_default.cairo b/tests/nodes/argmax_i32_2D_default.cairo similarity index 100% rename from tests/src/nodes/argmax_i32_2D_default.cairo rename to tests/nodes/argmax_i32_2D_default.cairo diff --git a/tests/src/nodes/argmax_i32_2D_default/input_0.cairo b/tests/nodes/argmax_i32_2D_default/input_0.cairo similarity index 100% rename from tests/src/nodes/argmax_i32_2D_default/input_0.cairo rename to tests/nodes/argmax_i32_2D_default/input_0.cairo diff --git a/tests/src/nodes/argmax_i32_2D_default/output_0.cairo b/tests/nodes/argmax_i32_2D_default/output_0.cairo similarity index 100% rename from tests/src/nodes/argmax_i32_2D_default/output_0.cairo rename to tests/nodes/argmax_i32_2D_default/output_0.cairo diff --git a/tests/src/nodes/argmax_i32_2D_keepdims_false.cairo b/tests/nodes/argmax_i32_2D_keepdims_false.cairo similarity index 100% rename from tests/src/nodes/argmax_i32_2D_keepdims_false.cairo rename to tests/nodes/argmax_i32_2D_keepdims_false.cairo diff --git a/tests/src/nodes/argmax_i32_2D_keepdims_false/input_0.cairo b/tests/nodes/argmax_i32_2D_keepdims_false/input_0.cairo similarity index 100% rename from tests/src/nodes/argmax_i32_2D_keepdims_false/input_0.cairo rename to tests/nodes/argmax_i32_2D_keepdims_false/input_0.cairo diff --git a/tests/src/nodes/argmax_i32_2D_keepdims_false/output_0.cairo b/tests/nodes/argmax_i32_2D_keepdims_false/output_0.cairo similarity index 100% rename from tests/src/nodes/argmax_i32_2D_keepdims_false/output_0.cairo rename to tests/nodes/argmax_i32_2D_keepdims_false/output_0.cairo diff --git a/tests/src/nodes/argmax_i32_2D_last_index.cairo b/tests/nodes/argmax_i32_2D_last_index.cairo similarity index 100% rename from tests/src/nodes/argmax_i32_2D_last_index.cairo rename to tests/nodes/argmax_i32_2D_last_index.cairo diff --git a/tests/src/nodes/argmax_i32_2D_last_index/input_0.cairo b/tests/nodes/argmax_i32_2D_last_index/input_0.cairo similarity index 100% rename from tests/src/nodes/argmax_i32_2D_last_index/input_0.cairo rename to tests/nodes/argmax_i32_2D_last_index/input_0.cairo diff --git a/tests/src/nodes/argmax_i32_2D_last_index/output_0.cairo b/tests/nodes/argmax_i32_2D_last_index/output_0.cairo similarity index 100% rename from tests/src/nodes/argmax_i32_2D_last_index/output_0.cairo rename to tests/nodes/argmax_i32_2D_last_index/output_0.cairo diff --git a/tests/src/nodes/argmax_i32_3D_default.cairo b/tests/nodes/argmax_i32_3D_default.cairo similarity index 100% rename from tests/src/nodes/argmax_i32_3D_default.cairo rename to tests/nodes/argmax_i32_3D_default.cairo diff --git a/tests/src/nodes/argmax_i32_3D_default/input_0.cairo b/tests/nodes/argmax_i32_3D_default/input_0.cairo similarity index 100% rename from tests/src/nodes/argmax_i32_3D_default/input_0.cairo rename to tests/nodes/argmax_i32_3D_default/input_0.cairo diff --git a/tests/src/nodes/argmax_i32_3D_default/output_0.cairo b/tests/nodes/argmax_i32_3D_default/output_0.cairo similarity index 100% rename from tests/src/nodes/argmax_i32_3D_default/output_0.cairo rename to tests/nodes/argmax_i32_3D_default/output_0.cairo diff --git a/tests/src/nodes/argmax_i32_3D_keepdims_false.cairo b/tests/nodes/argmax_i32_3D_keepdims_false.cairo similarity index 100% rename from tests/src/nodes/argmax_i32_3D_keepdims_false.cairo rename to tests/nodes/argmax_i32_3D_keepdims_false.cairo diff --git a/tests/src/nodes/argmax_i32_3D_keepdims_false/input_0.cairo b/tests/nodes/argmax_i32_3D_keepdims_false/input_0.cairo similarity index 100% rename from tests/src/nodes/argmax_i32_3D_keepdims_false/input_0.cairo rename to tests/nodes/argmax_i32_3D_keepdims_false/input_0.cairo diff --git a/tests/src/nodes/argmax_i32_3D_keepdims_false/output_0.cairo b/tests/nodes/argmax_i32_3D_keepdims_false/output_0.cairo similarity index 100% rename from tests/src/nodes/argmax_i32_3D_keepdims_false/output_0.cairo rename to tests/nodes/argmax_i32_3D_keepdims_false/output_0.cairo diff --git a/tests/src/nodes/argmax_i32_3D_last_index.cairo b/tests/nodes/argmax_i32_3D_last_index.cairo similarity index 100% rename from tests/src/nodes/argmax_i32_3D_last_index.cairo rename to tests/nodes/argmax_i32_3D_last_index.cairo diff --git a/tests/src/nodes/argmax_i32_3D_last_index/input_0.cairo b/tests/nodes/argmax_i32_3D_last_index/input_0.cairo similarity index 100% rename from tests/src/nodes/argmax_i32_3D_last_index/input_0.cairo rename to tests/nodes/argmax_i32_3D_last_index/input_0.cairo diff --git a/tests/src/nodes/argmax_i32_3D_last_index/output_0.cairo b/tests/nodes/argmax_i32_3D_last_index/output_0.cairo similarity index 100% rename from tests/src/nodes/argmax_i32_3D_last_index/output_0.cairo rename to tests/nodes/argmax_i32_3D_last_index/output_0.cairo diff --git a/tests/src/nodes/argmax_i8_1D_default.cairo b/tests/nodes/argmax_i8_1D_default.cairo similarity index 100% rename from tests/src/nodes/argmax_i8_1D_default.cairo rename to tests/nodes/argmax_i8_1D_default.cairo diff --git a/tests/src/nodes/argmax_i8_1D_default/input_0.cairo b/tests/nodes/argmax_i8_1D_default/input_0.cairo similarity index 100% rename from tests/src/nodes/argmax_i8_1D_default/input_0.cairo rename to tests/nodes/argmax_i8_1D_default/input_0.cairo diff --git a/tests/src/nodes/argmax_i8_1D_default/output_0.cairo b/tests/nodes/argmax_i8_1D_default/output_0.cairo similarity index 100% rename from tests/src/nodes/argmax_i8_1D_default/output_0.cairo rename to tests/nodes/argmax_i8_1D_default/output_0.cairo diff --git a/tests/src/nodes/argmax_i8_1D_keepdims_false.cairo b/tests/nodes/argmax_i8_1D_keepdims_false.cairo similarity index 100% rename from tests/src/nodes/argmax_i8_1D_keepdims_false.cairo rename to tests/nodes/argmax_i8_1D_keepdims_false.cairo diff --git a/tests/src/nodes/argmax_i8_1D_keepdims_false/input_0.cairo b/tests/nodes/argmax_i8_1D_keepdims_false/input_0.cairo similarity index 100% rename from tests/src/nodes/argmax_i8_1D_keepdims_false/input_0.cairo rename to tests/nodes/argmax_i8_1D_keepdims_false/input_0.cairo diff --git a/tests/src/nodes/argmax_i8_1D_keepdims_false/output_0.cairo b/tests/nodes/argmax_i8_1D_keepdims_false/output_0.cairo similarity index 100% rename from tests/src/nodes/argmax_i8_1D_keepdims_false/output_0.cairo rename to tests/nodes/argmax_i8_1D_keepdims_false/output_0.cairo diff --git a/tests/src/nodes/argmax_i8_1D_last_index.cairo b/tests/nodes/argmax_i8_1D_last_index.cairo similarity index 100% rename from tests/src/nodes/argmax_i8_1D_last_index.cairo rename to tests/nodes/argmax_i8_1D_last_index.cairo diff --git a/tests/src/nodes/argmax_i8_1D_last_index/input_0.cairo b/tests/nodes/argmax_i8_1D_last_index/input_0.cairo similarity index 100% rename from tests/src/nodes/argmax_i8_1D_last_index/input_0.cairo rename to tests/nodes/argmax_i8_1D_last_index/input_0.cairo diff --git a/tests/src/nodes/argmax_i8_1D_last_index/output_0.cairo b/tests/nodes/argmax_i8_1D_last_index/output_0.cairo similarity index 100% rename from tests/src/nodes/argmax_i8_1D_last_index/output_0.cairo rename to tests/nodes/argmax_i8_1D_last_index/output_0.cairo diff --git a/tests/src/nodes/argmax_i8_2D_default.cairo b/tests/nodes/argmax_i8_2D_default.cairo similarity index 100% rename from tests/src/nodes/argmax_i8_2D_default.cairo rename to tests/nodes/argmax_i8_2D_default.cairo diff --git a/tests/src/nodes/argmax_i8_2D_default/input_0.cairo b/tests/nodes/argmax_i8_2D_default/input_0.cairo similarity index 100% rename from tests/src/nodes/argmax_i8_2D_default/input_0.cairo rename to tests/nodes/argmax_i8_2D_default/input_0.cairo diff --git a/tests/src/nodes/argmax_i8_2D_default/output_0.cairo b/tests/nodes/argmax_i8_2D_default/output_0.cairo similarity index 100% rename from tests/src/nodes/argmax_i8_2D_default/output_0.cairo rename to tests/nodes/argmax_i8_2D_default/output_0.cairo diff --git a/tests/src/nodes/argmax_i8_2D_keepdims_false.cairo b/tests/nodes/argmax_i8_2D_keepdims_false.cairo similarity index 100% rename from tests/src/nodes/argmax_i8_2D_keepdims_false.cairo rename to tests/nodes/argmax_i8_2D_keepdims_false.cairo diff --git a/tests/src/nodes/argmax_i8_2D_keepdims_false/input_0.cairo b/tests/nodes/argmax_i8_2D_keepdims_false/input_0.cairo similarity index 100% rename from tests/src/nodes/argmax_i8_2D_keepdims_false/input_0.cairo rename to tests/nodes/argmax_i8_2D_keepdims_false/input_0.cairo diff --git a/tests/src/nodes/argmax_i8_2D_keepdims_false/output_0.cairo b/tests/nodes/argmax_i8_2D_keepdims_false/output_0.cairo similarity index 100% rename from tests/src/nodes/argmax_i8_2D_keepdims_false/output_0.cairo rename to tests/nodes/argmax_i8_2D_keepdims_false/output_0.cairo diff --git a/tests/src/nodes/argmax_i8_2D_last_index.cairo b/tests/nodes/argmax_i8_2D_last_index.cairo similarity index 100% rename from tests/src/nodes/argmax_i8_2D_last_index.cairo rename to tests/nodes/argmax_i8_2D_last_index.cairo diff --git a/tests/src/nodes/argmax_i8_2D_last_index/input_0.cairo b/tests/nodes/argmax_i8_2D_last_index/input_0.cairo similarity index 100% rename from tests/src/nodes/argmax_i8_2D_last_index/input_0.cairo rename to tests/nodes/argmax_i8_2D_last_index/input_0.cairo diff --git a/tests/src/nodes/argmax_i8_2D_last_index/output_0.cairo b/tests/nodes/argmax_i8_2D_last_index/output_0.cairo similarity index 100% rename from tests/src/nodes/argmax_i8_2D_last_index/output_0.cairo rename to tests/nodes/argmax_i8_2D_last_index/output_0.cairo diff --git a/tests/src/nodes/argmax_i8_3D_default.cairo b/tests/nodes/argmax_i8_3D_default.cairo similarity index 100% rename from tests/src/nodes/argmax_i8_3D_default.cairo rename to tests/nodes/argmax_i8_3D_default.cairo diff --git a/tests/src/nodes/argmax_i8_3D_default/input_0.cairo b/tests/nodes/argmax_i8_3D_default/input_0.cairo similarity index 100% rename from tests/src/nodes/argmax_i8_3D_default/input_0.cairo rename to tests/nodes/argmax_i8_3D_default/input_0.cairo diff --git a/tests/src/nodes/argmax_i8_3D_default/output_0.cairo b/tests/nodes/argmax_i8_3D_default/output_0.cairo similarity index 100% rename from tests/src/nodes/argmax_i8_3D_default/output_0.cairo rename to tests/nodes/argmax_i8_3D_default/output_0.cairo diff --git a/tests/src/nodes/argmax_i8_3D_keepdims_false.cairo b/tests/nodes/argmax_i8_3D_keepdims_false.cairo similarity index 100% rename from tests/src/nodes/argmax_i8_3D_keepdims_false.cairo rename to tests/nodes/argmax_i8_3D_keepdims_false.cairo diff --git a/tests/src/nodes/argmax_i8_3D_keepdims_false/input_0.cairo b/tests/nodes/argmax_i8_3D_keepdims_false/input_0.cairo similarity index 100% rename from tests/src/nodes/argmax_i8_3D_keepdims_false/input_0.cairo rename to tests/nodes/argmax_i8_3D_keepdims_false/input_0.cairo diff --git a/tests/src/nodes/argmax_i8_3D_keepdims_false/output_0.cairo b/tests/nodes/argmax_i8_3D_keepdims_false/output_0.cairo similarity index 100% rename from tests/src/nodes/argmax_i8_3D_keepdims_false/output_0.cairo rename to tests/nodes/argmax_i8_3D_keepdims_false/output_0.cairo diff --git a/tests/src/nodes/argmax_i8_3D_last_index.cairo b/tests/nodes/argmax_i8_3D_last_index.cairo similarity index 100% rename from tests/src/nodes/argmax_i8_3D_last_index.cairo rename to tests/nodes/argmax_i8_3D_last_index.cairo diff --git a/tests/src/nodes/argmax_i8_3D_last_index/input_0.cairo b/tests/nodes/argmax_i8_3D_last_index/input_0.cairo similarity index 100% rename from tests/src/nodes/argmax_i8_3D_last_index/input_0.cairo rename to tests/nodes/argmax_i8_3D_last_index/input_0.cairo diff --git a/tests/src/nodes/argmax_i8_3D_last_index/output_0.cairo b/tests/nodes/argmax_i8_3D_last_index/output_0.cairo similarity index 100% rename from tests/src/nodes/argmax_i8_3D_last_index/output_0.cairo rename to tests/nodes/argmax_i8_3D_last_index/output_0.cairo diff --git a/tests/src/nodes/argmax_u32_1D_default.cairo b/tests/nodes/argmax_u32_1D_default.cairo similarity index 100% rename from tests/src/nodes/argmax_u32_1D_default.cairo rename to tests/nodes/argmax_u32_1D_default.cairo diff --git a/tests/src/nodes/argmax_u32_1D_default/input_0.cairo b/tests/nodes/argmax_u32_1D_default/input_0.cairo similarity index 100% rename from tests/src/nodes/argmax_u32_1D_default/input_0.cairo rename to tests/nodes/argmax_u32_1D_default/input_0.cairo diff --git a/tests/src/nodes/argmax_u32_1D_default/output_0.cairo b/tests/nodes/argmax_u32_1D_default/output_0.cairo similarity index 100% rename from tests/src/nodes/argmax_u32_1D_default/output_0.cairo rename to tests/nodes/argmax_u32_1D_default/output_0.cairo diff --git a/tests/src/nodes/argmax_u32_1D_keepdims_false.cairo b/tests/nodes/argmax_u32_1D_keepdims_false.cairo similarity index 100% rename from tests/src/nodes/argmax_u32_1D_keepdims_false.cairo rename to tests/nodes/argmax_u32_1D_keepdims_false.cairo diff --git a/tests/src/nodes/argmax_u32_1D_keepdims_false/input_0.cairo b/tests/nodes/argmax_u32_1D_keepdims_false/input_0.cairo similarity index 100% rename from tests/src/nodes/argmax_u32_1D_keepdims_false/input_0.cairo rename to tests/nodes/argmax_u32_1D_keepdims_false/input_0.cairo diff --git a/tests/src/nodes/argmax_u32_1D_keepdims_false/output_0.cairo b/tests/nodes/argmax_u32_1D_keepdims_false/output_0.cairo similarity index 100% rename from tests/src/nodes/argmax_u32_1D_keepdims_false/output_0.cairo rename to tests/nodes/argmax_u32_1D_keepdims_false/output_0.cairo diff --git a/tests/src/nodes/argmax_u32_1D_last_index.cairo b/tests/nodes/argmax_u32_1D_last_index.cairo similarity index 100% rename from tests/src/nodes/argmax_u32_1D_last_index.cairo rename to tests/nodes/argmax_u32_1D_last_index.cairo diff --git a/tests/src/nodes/argmax_u32_1D_last_index/input_0.cairo b/tests/nodes/argmax_u32_1D_last_index/input_0.cairo similarity index 100% rename from tests/src/nodes/argmax_u32_1D_last_index/input_0.cairo rename to tests/nodes/argmax_u32_1D_last_index/input_0.cairo diff --git a/tests/src/nodes/argmax_u32_1D_last_index/output_0.cairo b/tests/nodes/argmax_u32_1D_last_index/output_0.cairo similarity index 100% rename from tests/src/nodes/argmax_u32_1D_last_index/output_0.cairo rename to tests/nodes/argmax_u32_1D_last_index/output_0.cairo diff --git a/tests/src/nodes/argmax_u32_2D_default.cairo b/tests/nodes/argmax_u32_2D_default.cairo similarity index 100% rename from tests/src/nodes/argmax_u32_2D_default.cairo rename to tests/nodes/argmax_u32_2D_default.cairo diff --git a/tests/src/nodes/argmax_u32_2D_default/input_0.cairo b/tests/nodes/argmax_u32_2D_default/input_0.cairo similarity index 100% rename from tests/src/nodes/argmax_u32_2D_default/input_0.cairo rename to tests/nodes/argmax_u32_2D_default/input_0.cairo diff --git a/tests/src/nodes/argmax_u32_2D_default/output_0.cairo b/tests/nodes/argmax_u32_2D_default/output_0.cairo similarity index 100% rename from tests/src/nodes/argmax_u32_2D_default/output_0.cairo rename to tests/nodes/argmax_u32_2D_default/output_0.cairo diff --git a/tests/src/nodes/argmax_u32_2D_keepdims_false.cairo b/tests/nodes/argmax_u32_2D_keepdims_false.cairo similarity index 100% rename from tests/src/nodes/argmax_u32_2D_keepdims_false.cairo rename to tests/nodes/argmax_u32_2D_keepdims_false.cairo diff --git a/tests/src/nodes/argmax_u32_2D_keepdims_false/input_0.cairo b/tests/nodes/argmax_u32_2D_keepdims_false/input_0.cairo similarity index 100% rename from tests/src/nodes/argmax_u32_2D_keepdims_false/input_0.cairo rename to tests/nodes/argmax_u32_2D_keepdims_false/input_0.cairo diff --git a/tests/src/nodes/argmax_u32_2D_keepdims_false/output_0.cairo b/tests/nodes/argmax_u32_2D_keepdims_false/output_0.cairo similarity index 100% rename from tests/src/nodes/argmax_u32_2D_keepdims_false/output_0.cairo rename to tests/nodes/argmax_u32_2D_keepdims_false/output_0.cairo diff --git a/tests/src/nodes/argmax_u32_2D_last_index.cairo b/tests/nodes/argmax_u32_2D_last_index.cairo similarity index 100% rename from tests/src/nodes/argmax_u32_2D_last_index.cairo rename to tests/nodes/argmax_u32_2D_last_index.cairo diff --git a/tests/src/nodes/argmax_u32_2D_last_index/input_0.cairo b/tests/nodes/argmax_u32_2D_last_index/input_0.cairo similarity index 100% rename from tests/src/nodes/argmax_u32_2D_last_index/input_0.cairo rename to tests/nodes/argmax_u32_2D_last_index/input_0.cairo diff --git a/tests/src/nodes/argmax_u32_2D_last_index/output_0.cairo b/tests/nodes/argmax_u32_2D_last_index/output_0.cairo similarity index 100% rename from tests/src/nodes/argmax_u32_2D_last_index/output_0.cairo rename to tests/nodes/argmax_u32_2D_last_index/output_0.cairo diff --git a/tests/src/nodes/argmax_u32_3D_default.cairo b/tests/nodes/argmax_u32_3D_default.cairo similarity index 100% rename from tests/src/nodes/argmax_u32_3D_default.cairo rename to tests/nodes/argmax_u32_3D_default.cairo diff --git a/tests/src/nodes/argmax_u32_3D_default/input_0.cairo b/tests/nodes/argmax_u32_3D_default/input_0.cairo similarity index 100% rename from tests/src/nodes/argmax_u32_3D_default/input_0.cairo rename to tests/nodes/argmax_u32_3D_default/input_0.cairo diff --git a/tests/src/nodes/argmax_u32_3D_default/output_0.cairo b/tests/nodes/argmax_u32_3D_default/output_0.cairo similarity index 100% rename from tests/src/nodes/argmax_u32_3D_default/output_0.cairo rename to tests/nodes/argmax_u32_3D_default/output_0.cairo diff --git a/tests/src/nodes/argmax_u32_3D_keepdims_false.cairo b/tests/nodes/argmax_u32_3D_keepdims_false.cairo similarity index 100% rename from tests/src/nodes/argmax_u32_3D_keepdims_false.cairo rename to tests/nodes/argmax_u32_3D_keepdims_false.cairo diff --git a/tests/src/nodes/argmax_u32_3D_keepdims_false/input_0.cairo b/tests/nodes/argmax_u32_3D_keepdims_false/input_0.cairo similarity index 100% rename from tests/src/nodes/argmax_u32_3D_keepdims_false/input_0.cairo rename to tests/nodes/argmax_u32_3D_keepdims_false/input_0.cairo diff --git a/tests/src/nodes/argmax_u32_3D_keepdims_false/output_0.cairo b/tests/nodes/argmax_u32_3D_keepdims_false/output_0.cairo similarity index 100% rename from tests/src/nodes/argmax_u32_3D_keepdims_false/output_0.cairo rename to tests/nodes/argmax_u32_3D_keepdims_false/output_0.cairo diff --git a/tests/src/nodes/argmax_u32_3D_last_index.cairo b/tests/nodes/argmax_u32_3D_last_index.cairo similarity index 100% rename from tests/src/nodes/argmax_u32_3D_last_index.cairo rename to tests/nodes/argmax_u32_3D_last_index.cairo diff --git a/tests/src/nodes/argmax_u32_3D_last_index/input_0.cairo b/tests/nodes/argmax_u32_3D_last_index/input_0.cairo similarity index 100% rename from tests/src/nodes/argmax_u32_3D_last_index/input_0.cairo rename to tests/nodes/argmax_u32_3D_last_index/input_0.cairo diff --git a/tests/src/nodes/argmax_u32_3D_last_index/output_0.cairo b/tests/nodes/argmax_u32_3D_last_index/output_0.cairo similarity index 100% rename from tests/src/nodes/argmax_u32_3D_last_index/output_0.cairo rename to tests/nodes/argmax_u32_3D_last_index/output_0.cairo diff --git a/tests/src/nodes/argmin_fp16x16_1D_default.cairo b/tests/nodes/argmin_fp16x16_1D_default.cairo similarity index 100% rename from tests/src/nodes/argmin_fp16x16_1D_default.cairo rename to tests/nodes/argmin_fp16x16_1D_default.cairo diff --git a/tests/src/nodes/argmin_fp16x16_1D_default/input_0.cairo b/tests/nodes/argmin_fp16x16_1D_default/input_0.cairo similarity index 100% rename from tests/src/nodes/argmin_fp16x16_1D_default/input_0.cairo rename to tests/nodes/argmin_fp16x16_1D_default/input_0.cairo diff --git a/tests/src/nodes/argmin_fp16x16_1D_default/output_0.cairo b/tests/nodes/argmin_fp16x16_1D_default/output_0.cairo similarity index 100% rename from tests/src/nodes/argmin_fp16x16_1D_default/output_0.cairo rename to tests/nodes/argmin_fp16x16_1D_default/output_0.cairo diff --git a/tests/src/nodes/argmin_fp16x16_1D_keepdims_false.cairo b/tests/nodes/argmin_fp16x16_1D_keepdims_false.cairo similarity index 100% rename from tests/src/nodes/argmin_fp16x16_1D_keepdims_false.cairo rename to tests/nodes/argmin_fp16x16_1D_keepdims_false.cairo diff --git a/tests/src/nodes/argmin_fp16x16_1D_keepdims_false/input_0.cairo b/tests/nodes/argmin_fp16x16_1D_keepdims_false/input_0.cairo similarity index 100% rename from tests/src/nodes/argmin_fp16x16_1D_keepdims_false/input_0.cairo rename to tests/nodes/argmin_fp16x16_1D_keepdims_false/input_0.cairo diff --git a/tests/src/nodes/argmin_fp16x16_1D_keepdims_false/output_0.cairo b/tests/nodes/argmin_fp16x16_1D_keepdims_false/output_0.cairo similarity index 100% rename from tests/src/nodes/argmin_fp16x16_1D_keepdims_false/output_0.cairo rename to tests/nodes/argmin_fp16x16_1D_keepdims_false/output_0.cairo diff --git a/tests/src/nodes/argmin_fp16x16_1D_last_index.cairo b/tests/nodes/argmin_fp16x16_1D_last_index.cairo similarity index 100% rename from tests/src/nodes/argmin_fp16x16_1D_last_index.cairo rename to tests/nodes/argmin_fp16x16_1D_last_index.cairo diff --git a/tests/src/nodes/argmin_fp16x16_1D_last_index/input_0.cairo b/tests/nodes/argmin_fp16x16_1D_last_index/input_0.cairo similarity index 100% rename from tests/src/nodes/argmin_fp16x16_1D_last_index/input_0.cairo rename to tests/nodes/argmin_fp16x16_1D_last_index/input_0.cairo diff --git a/tests/src/nodes/argmin_fp16x16_1D_last_index/output_0.cairo b/tests/nodes/argmin_fp16x16_1D_last_index/output_0.cairo similarity index 100% rename from tests/src/nodes/argmin_fp16x16_1D_last_index/output_0.cairo rename to tests/nodes/argmin_fp16x16_1D_last_index/output_0.cairo diff --git a/tests/src/nodes/argmin_fp16x16_2D_default.cairo b/tests/nodes/argmin_fp16x16_2D_default.cairo similarity index 100% rename from tests/src/nodes/argmin_fp16x16_2D_default.cairo rename to tests/nodes/argmin_fp16x16_2D_default.cairo diff --git a/tests/src/nodes/argmin_fp16x16_2D_default/input_0.cairo b/tests/nodes/argmin_fp16x16_2D_default/input_0.cairo similarity index 100% rename from tests/src/nodes/argmin_fp16x16_2D_default/input_0.cairo rename to tests/nodes/argmin_fp16x16_2D_default/input_0.cairo diff --git a/tests/src/nodes/argmin_fp16x16_2D_default/output_0.cairo b/tests/nodes/argmin_fp16x16_2D_default/output_0.cairo similarity index 100% rename from tests/src/nodes/argmin_fp16x16_2D_default/output_0.cairo rename to tests/nodes/argmin_fp16x16_2D_default/output_0.cairo diff --git a/tests/src/nodes/argmin_fp16x16_2D_keepdims_false.cairo b/tests/nodes/argmin_fp16x16_2D_keepdims_false.cairo similarity index 100% rename from tests/src/nodes/argmin_fp16x16_2D_keepdims_false.cairo rename to tests/nodes/argmin_fp16x16_2D_keepdims_false.cairo diff --git a/tests/src/nodes/argmin_fp16x16_2D_keepdims_false/input_0.cairo b/tests/nodes/argmin_fp16x16_2D_keepdims_false/input_0.cairo similarity index 100% rename from tests/src/nodes/argmin_fp16x16_2D_keepdims_false/input_0.cairo rename to tests/nodes/argmin_fp16x16_2D_keepdims_false/input_0.cairo diff --git a/tests/src/nodes/argmin_fp16x16_2D_keepdims_false/output_0.cairo b/tests/nodes/argmin_fp16x16_2D_keepdims_false/output_0.cairo similarity index 100% rename from tests/src/nodes/argmin_fp16x16_2D_keepdims_false/output_0.cairo rename to tests/nodes/argmin_fp16x16_2D_keepdims_false/output_0.cairo diff --git a/tests/src/nodes/argmin_fp16x16_2D_last_index.cairo b/tests/nodes/argmin_fp16x16_2D_last_index.cairo similarity index 100% rename from tests/src/nodes/argmin_fp16x16_2D_last_index.cairo rename to tests/nodes/argmin_fp16x16_2D_last_index.cairo diff --git a/tests/src/nodes/argmin_fp16x16_2D_last_index/input_0.cairo b/tests/nodes/argmin_fp16x16_2D_last_index/input_0.cairo similarity index 100% rename from tests/src/nodes/argmin_fp16x16_2D_last_index/input_0.cairo rename to tests/nodes/argmin_fp16x16_2D_last_index/input_0.cairo diff --git a/tests/src/nodes/argmin_fp16x16_2D_last_index/output_0.cairo b/tests/nodes/argmin_fp16x16_2D_last_index/output_0.cairo similarity index 100% rename from tests/src/nodes/argmin_fp16x16_2D_last_index/output_0.cairo rename to tests/nodes/argmin_fp16x16_2D_last_index/output_0.cairo diff --git a/tests/src/nodes/argmin_fp16x16_3D_default.cairo b/tests/nodes/argmin_fp16x16_3D_default.cairo similarity index 100% rename from tests/src/nodes/argmin_fp16x16_3D_default.cairo rename to tests/nodes/argmin_fp16x16_3D_default.cairo diff --git a/tests/src/nodes/argmin_fp16x16_3D_default/input_0.cairo b/tests/nodes/argmin_fp16x16_3D_default/input_0.cairo similarity index 100% rename from tests/src/nodes/argmin_fp16x16_3D_default/input_0.cairo rename to tests/nodes/argmin_fp16x16_3D_default/input_0.cairo diff --git a/tests/src/nodes/argmin_fp16x16_3D_default/output_0.cairo b/tests/nodes/argmin_fp16x16_3D_default/output_0.cairo similarity index 100% rename from tests/src/nodes/argmin_fp16x16_3D_default/output_0.cairo rename to tests/nodes/argmin_fp16x16_3D_default/output_0.cairo diff --git a/tests/src/nodes/argmin_fp16x16_3D_keepdims_false.cairo b/tests/nodes/argmin_fp16x16_3D_keepdims_false.cairo similarity index 100% rename from tests/src/nodes/argmin_fp16x16_3D_keepdims_false.cairo rename to tests/nodes/argmin_fp16x16_3D_keepdims_false.cairo diff --git a/tests/src/nodes/argmin_fp16x16_3D_keepdims_false/input_0.cairo b/tests/nodes/argmin_fp16x16_3D_keepdims_false/input_0.cairo similarity index 100% rename from tests/src/nodes/argmin_fp16x16_3D_keepdims_false/input_0.cairo rename to tests/nodes/argmin_fp16x16_3D_keepdims_false/input_0.cairo diff --git a/tests/src/nodes/argmin_fp16x16_3D_keepdims_false/output_0.cairo b/tests/nodes/argmin_fp16x16_3D_keepdims_false/output_0.cairo similarity index 100% rename from tests/src/nodes/argmin_fp16x16_3D_keepdims_false/output_0.cairo rename to tests/nodes/argmin_fp16x16_3D_keepdims_false/output_0.cairo diff --git a/tests/src/nodes/argmin_fp16x16_3D_last_index.cairo b/tests/nodes/argmin_fp16x16_3D_last_index.cairo similarity index 100% rename from tests/src/nodes/argmin_fp16x16_3D_last_index.cairo rename to tests/nodes/argmin_fp16x16_3D_last_index.cairo diff --git a/tests/src/nodes/argmin_fp16x16_3D_last_index/input_0.cairo b/tests/nodes/argmin_fp16x16_3D_last_index/input_0.cairo similarity index 100% rename from tests/src/nodes/argmin_fp16x16_3D_last_index/input_0.cairo rename to tests/nodes/argmin_fp16x16_3D_last_index/input_0.cairo diff --git a/tests/src/nodes/argmin_fp16x16_3D_last_index/output_0.cairo b/tests/nodes/argmin_fp16x16_3D_last_index/output_0.cairo similarity index 100% rename from tests/src/nodes/argmin_fp16x16_3D_last_index/output_0.cairo rename to tests/nodes/argmin_fp16x16_3D_last_index/output_0.cairo diff --git a/tests/src/nodes/argmin_fp8x23_1D_default.cairo b/tests/nodes/argmin_fp8x23_1D_default.cairo similarity index 100% rename from tests/src/nodes/argmin_fp8x23_1D_default.cairo rename to tests/nodes/argmin_fp8x23_1D_default.cairo diff --git a/tests/src/nodes/argmin_fp8x23_1D_default/input_0.cairo b/tests/nodes/argmin_fp8x23_1D_default/input_0.cairo similarity index 100% rename from tests/src/nodes/argmin_fp8x23_1D_default/input_0.cairo rename to tests/nodes/argmin_fp8x23_1D_default/input_0.cairo diff --git a/tests/src/nodes/argmin_fp8x23_1D_default/output_0.cairo b/tests/nodes/argmin_fp8x23_1D_default/output_0.cairo similarity index 100% rename from tests/src/nodes/argmin_fp8x23_1D_default/output_0.cairo rename to tests/nodes/argmin_fp8x23_1D_default/output_0.cairo diff --git a/tests/src/nodes/argmin_fp8x23_1D_keepdims_false.cairo b/tests/nodes/argmin_fp8x23_1D_keepdims_false.cairo similarity index 100% rename from tests/src/nodes/argmin_fp8x23_1D_keepdims_false.cairo rename to tests/nodes/argmin_fp8x23_1D_keepdims_false.cairo diff --git a/tests/src/nodes/argmin_fp8x23_1D_keepdims_false/input_0.cairo b/tests/nodes/argmin_fp8x23_1D_keepdims_false/input_0.cairo similarity index 100% rename from tests/src/nodes/argmin_fp8x23_1D_keepdims_false/input_0.cairo rename to tests/nodes/argmin_fp8x23_1D_keepdims_false/input_0.cairo diff --git a/tests/src/nodes/argmin_fp8x23_1D_keepdims_false/output_0.cairo b/tests/nodes/argmin_fp8x23_1D_keepdims_false/output_0.cairo similarity index 100% rename from tests/src/nodes/argmin_fp8x23_1D_keepdims_false/output_0.cairo rename to tests/nodes/argmin_fp8x23_1D_keepdims_false/output_0.cairo diff --git a/tests/src/nodes/argmin_fp8x23_1D_last_index.cairo b/tests/nodes/argmin_fp8x23_1D_last_index.cairo similarity index 100% rename from tests/src/nodes/argmin_fp8x23_1D_last_index.cairo rename to tests/nodes/argmin_fp8x23_1D_last_index.cairo diff --git a/tests/src/nodes/argmin_fp8x23_1D_last_index/input_0.cairo b/tests/nodes/argmin_fp8x23_1D_last_index/input_0.cairo similarity index 100% rename from tests/src/nodes/argmin_fp8x23_1D_last_index/input_0.cairo rename to tests/nodes/argmin_fp8x23_1D_last_index/input_0.cairo diff --git a/tests/src/nodes/argmin_fp8x23_1D_last_index/output_0.cairo b/tests/nodes/argmin_fp8x23_1D_last_index/output_0.cairo similarity index 100% rename from tests/src/nodes/argmin_fp8x23_1D_last_index/output_0.cairo rename to tests/nodes/argmin_fp8x23_1D_last_index/output_0.cairo diff --git a/tests/src/nodes/argmin_fp8x23_2D_default.cairo b/tests/nodes/argmin_fp8x23_2D_default.cairo similarity index 100% rename from tests/src/nodes/argmin_fp8x23_2D_default.cairo rename to tests/nodes/argmin_fp8x23_2D_default.cairo diff --git a/tests/src/nodes/argmin_fp8x23_2D_default/input_0.cairo b/tests/nodes/argmin_fp8x23_2D_default/input_0.cairo similarity index 100% rename from tests/src/nodes/argmin_fp8x23_2D_default/input_0.cairo rename to tests/nodes/argmin_fp8x23_2D_default/input_0.cairo diff --git a/tests/src/nodes/argmin_fp8x23_2D_default/output_0.cairo b/tests/nodes/argmin_fp8x23_2D_default/output_0.cairo similarity index 100% rename from tests/src/nodes/argmin_fp8x23_2D_default/output_0.cairo rename to tests/nodes/argmin_fp8x23_2D_default/output_0.cairo diff --git a/tests/src/nodes/argmin_fp8x23_2D_keepdims_false.cairo b/tests/nodes/argmin_fp8x23_2D_keepdims_false.cairo similarity index 100% rename from tests/src/nodes/argmin_fp8x23_2D_keepdims_false.cairo rename to tests/nodes/argmin_fp8x23_2D_keepdims_false.cairo diff --git a/tests/src/nodes/argmin_fp8x23_2D_keepdims_false/input_0.cairo b/tests/nodes/argmin_fp8x23_2D_keepdims_false/input_0.cairo similarity index 100% rename from tests/src/nodes/argmin_fp8x23_2D_keepdims_false/input_0.cairo rename to tests/nodes/argmin_fp8x23_2D_keepdims_false/input_0.cairo diff --git a/tests/src/nodes/argmin_fp8x23_2D_keepdims_false/output_0.cairo b/tests/nodes/argmin_fp8x23_2D_keepdims_false/output_0.cairo similarity index 100% rename from tests/src/nodes/argmin_fp8x23_2D_keepdims_false/output_0.cairo rename to tests/nodes/argmin_fp8x23_2D_keepdims_false/output_0.cairo diff --git a/tests/src/nodes/argmin_fp8x23_2D_last_index.cairo b/tests/nodes/argmin_fp8x23_2D_last_index.cairo similarity index 100% rename from tests/src/nodes/argmin_fp8x23_2D_last_index.cairo rename to tests/nodes/argmin_fp8x23_2D_last_index.cairo diff --git a/tests/src/nodes/argmin_fp8x23_2D_last_index/input_0.cairo b/tests/nodes/argmin_fp8x23_2D_last_index/input_0.cairo similarity index 100% rename from tests/src/nodes/argmin_fp8x23_2D_last_index/input_0.cairo rename to tests/nodes/argmin_fp8x23_2D_last_index/input_0.cairo diff --git a/tests/src/nodes/argmin_fp8x23_2D_last_index/output_0.cairo b/tests/nodes/argmin_fp8x23_2D_last_index/output_0.cairo similarity index 100% rename from tests/src/nodes/argmin_fp8x23_2D_last_index/output_0.cairo rename to tests/nodes/argmin_fp8x23_2D_last_index/output_0.cairo diff --git a/tests/src/nodes/argmin_fp8x23_3D_default.cairo b/tests/nodes/argmin_fp8x23_3D_default.cairo similarity index 100% rename from tests/src/nodes/argmin_fp8x23_3D_default.cairo rename to tests/nodes/argmin_fp8x23_3D_default.cairo diff --git a/tests/src/nodes/argmin_fp8x23_3D_default/input_0.cairo b/tests/nodes/argmin_fp8x23_3D_default/input_0.cairo similarity index 100% rename from tests/src/nodes/argmin_fp8x23_3D_default/input_0.cairo rename to tests/nodes/argmin_fp8x23_3D_default/input_0.cairo diff --git a/tests/src/nodes/argmin_fp8x23_3D_default/output_0.cairo b/tests/nodes/argmin_fp8x23_3D_default/output_0.cairo similarity index 100% rename from tests/src/nodes/argmin_fp8x23_3D_default/output_0.cairo rename to tests/nodes/argmin_fp8x23_3D_default/output_0.cairo diff --git a/tests/src/nodes/argmin_fp8x23_3D_keepdims_false.cairo b/tests/nodes/argmin_fp8x23_3D_keepdims_false.cairo similarity index 100% rename from tests/src/nodes/argmin_fp8x23_3D_keepdims_false.cairo rename to tests/nodes/argmin_fp8x23_3D_keepdims_false.cairo diff --git a/tests/src/nodes/argmin_fp8x23_3D_keepdims_false/input_0.cairo b/tests/nodes/argmin_fp8x23_3D_keepdims_false/input_0.cairo similarity index 100% rename from tests/src/nodes/argmin_fp8x23_3D_keepdims_false/input_0.cairo rename to tests/nodes/argmin_fp8x23_3D_keepdims_false/input_0.cairo diff --git a/tests/src/nodes/argmin_fp8x23_3D_keepdims_false/output_0.cairo b/tests/nodes/argmin_fp8x23_3D_keepdims_false/output_0.cairo similarity index 100% rename from tests/src/nodes/argmin_fp8x23_3D_keepdims_false/output_0.cairo rename to tests/nodes/argmin_fp8x23_3D_keepdims_false/output_0.cairo diff --git a/tests/src/nodes/argmin_fp8x23_3D_last_index.cairo b/tests/nodes/argmin_fp8x23_3D_last_index.cairo similarity index 100% rename from tests/src/nodes/argmin_fp8x23_3D_last_index.cairo rename to tests/nodes/argmin_fp8x23_3D_last_index.cairo diff --git a/tests/src/nodes/argmin_fp8x23_3D_last_index/input_0.cairo b/tests/nodes/argmin_fp8x23_3D_last_index/input_0.cairo similarity index 100% rename from tests/src/nodes/argmin_fp8x23_3D_last_index/input_0.cairo rename to tests/nodes/argmin_fp8x23_3D_last_index/input_0.cairo diff --git a/tests/src/nodes/argmin_fp8x23_3D_last_index/output_0.cairo b/tests/nodes/argmin_fp8x23_3D_last_index/output_0.cairo similarity index 100% rename from tests/src/nodes/argmin_fp8x23_3D_last_index/output_0.cairo rename to tests/nodes/argmin_fp8x23_3D_last_index/output_0.cairo diff --git a/tests/src/nodes/argmin_i32_1D_default.cairo b/tests/nodes/argmin_i32_1D_default.cairo similarity index 100% rename from tests/src/nodes/argmin_i32_1D_default.cairo rename to tests/nodes/argmin_i32_1D_default.cairo diff --git a/tests/src/nodes/argmin_i32_1D_default/input_0.cairo b/tests/nodes/argmin_i32_1D_default/input_0.cairo similarity index 100% rename from tests/src/nodes/argmin_i32_1D_default/input_0.cairo rename to tests/nodes/argmin_i32_1D_default/input_0.cairo diff --git a/tests/src/nodes/argmin_i32_1D_default/output_0.cairo b/tests/nodes/argmin_i32_1D_default/output_0.cairo similarity index 100% rename from tests/src/nodes/argmin_i32_1D_default/output_0.cairo rename to tests/nodes/argmin_i32_1D_default/output_0.cairo diff --git a/tests/src/nodes/argmin_i32_1D_keepdims_false.cairo b/tests/nodes/argmin_i32_1D_keepdims_false.cairo similarity index 100% rename from tests/src/nodes/argmin_i32_1D_keepdims_false.cairo rename to tests/nodes/argmin_i32_1D_keepdims_false.cairo diff --git a/tests/src/nodes/argmin_i32_1D_keepdims_false/input_0.cairo b/tests/nodes/argmin_i32_1D_keepdims_false/input_0.cairo similarity index 100% rename from tests/src/nodes/argmin_i32_1D_keepdims_false/input_0.cairo rename to tests/nodes/argmin_i32_1D_keepdims_false/input_0.cairo diff --git a/tests/src/nodes/argmin_i32_1D_keepdims_false/output_0.cairo b/tests/nodes/argmin_i32_1D_keepdims_false/output_0.cairo similarity index 100% rename from tests/src/nodes/argmin_i32_1D_keepdims_false/output_0.cairo rename to tests/nodes/argmin_i32_1D_keepdims_false/output_0.cairo diff --git a/tests/src/nodes/argmin_i32_1D_last_index.cairo b/tests/nodes/argmin_i32_1D_last_index.cairo similarity index 100% rename from tests/src/nodes/argmin_i32_1D_last_index.cairo rename to tests/nodes/argmin_i32_1D_last_index.cairo diff --git a/tests/src/nodes/argmin_i32_1D_last_index/input_0.cairo b/tests/nodes/argmin_i32_1D_last_index/input_0.cairo similarity index 100% rename from tests/src/nodes/argmin_i32_1D_last_index/input_0.cairo rename to tests/nodes/argmin_i32_1D_last_index/input_0.cairo diff --git a/tests/src/nodes/argmin_i32_1D_last_index/output_0.cairo b/tests/nodes/argmin_i32_1D_last_index/output_0.cairo similarity index 100% rename from tests/src/nodes/argmin_i32_1D_last_index/output_0.cairo rename to tests/nodes/argmin_i32_1D_last_index/output_0.cairo diff --git a/tests/src/nodes/argmin_i32_2D_default.cairo b/tests/nodes/argmin_i32_2D_default.cairo similarity index 100% rename from tests/src/nodes/argmin_i32_2D_default.cairo rename to tests/nodes/argmin_i32_2D_default.cairo diff --git a/tests/src/nodes/argmin_i32_2D_default/input_0.cairo b/tests/nodes/argmin_i32_2D_default/input_0.cairo similarity index 100% rename from tests/src/nodes/argmin_i32_2D_default/input_0.cairo rename to tests/nodes/argmin_i32_2D_default/input_0.cairo diff --git a/tests/src/nodes/argmin_i32_2D_default/output_0.cairo b/tests/nodes/argmin_i32_2D_default/output_0.cairo similarity index 100% rename from tests/src/nodes/argmin_i32_2D_default/output_0.cairo rename to tests/nodes/argmin_i32_2D_default/output_0.cairo diff --git a/tests/src/nodes/argmin_i32_2D_keepdims_false.cairo b/tests/nodes/argmin_i32_2D_keepdims_false.cairo similarity index 100% rename from tests/src/nodes/argmin_i32_2D_keepdims_false.cairo rename to tests/nodes/argmin_i32_2D_keepdims_false.cairo diff --git a/tests/src/nodes/argmin_i32_2D_keepdims_false/input_0.cairo b/tests/nodes/argmin_i32_2D_keepdims_false/input_0.cairo similarity index 100% rename from tests/src/nodes/argmin_i32_2D_keepdims_false/input_0.cairo rename to tests/nodes/argmin_i32_2D_keepdims_false/input_0.cairo diff --git a/tests/src/nodes/argmin_i32_2D_keepdims_false/output_0.cairo b/tests/nodes/argmin_i32_2D_keepdims_false/output_0.cairo similarity index 100% rename from tests/src/nodes/argmin_i32_2D_keepdims_false/output_0.cairo rename to tests/nodes/argmin_i32_2D_keepdims_false/output_0.cairo diff --git a/tests/src/nodes/argmin_i32_2D_last_index.cairo b/tests/nodes/argmin_i32_2D_last_index.cairo similarity index 100% rename from tests/src/nodes/argmin_i32_2D_last_index.cairo rename to tests/nodes/argmin_i32_2D_last_index.cairo diff --git a/tests/src/nodes/argmin_i32_2D_last_index/input_0.cairo b/tests/nodes/argmin_i32_2D_last_index/input_0.cairo similarity index 100% rename from tests/src/nodes/argmin_i32_2D_last_index/input_0.cairo rename to tests/nodes/argmin_i32_2D_last_index/input_0.cairo diff --git a/tests/src/nodes/argmin_i32_2D_last_index/output_0.cairo b/tests/nodes/argmin_i32_2D_last_index/output_0.cairo similarity index 100% rename from tests/src/nodes/argmin_i32_2D_last_index/output_0.cairo rename to tests/nodes/argmin_i32_2D_last_index/output_0.cairo diff --git a/tests/src/nodes/argmin_i32_3D_default.cairo b/tests/nodes/argmin_i32_3D_default.cairo similarity index 100% rename from tests/src/nodes/argmin_i32_3D_default.cairo rename to tests/nodes/argmin_i32_3D_default.cairo diff --git a/tests/src/nodes/argmin_i32_3D_default/input_0.cairo b/tests/nodes/argmin_i32_3D_default/input_0.cairo similarity index 100% rename from tests/src/nodes/argmin_i32_3D_default/input_0.cairo rename to tests/nodes/argmin_i32_3D_default/input_0.cairo diff --git a/tests/src/nodes/argmin_i32_3D_default/output_0.cairo b/tests/nodes/argmin_i32_3D_default/output_0.cairo similarity index 100% rename from tests/src/nodes/argmin_i32_3D_default/output_0.cairo rename to tests/nodes/argmin_i32_3D_default/output_0.cairo diff --git a/tests/src/nodes/argmin_i32_3D_keepdims_false.cairo b/tests/nodes/argmin_i32_3D_keepdims_false.cairo similarity index 100% rename from tests/src/nodes/argmin_i32_3D_keepdims_false.cairo rename to tests/nodes/argmin_i32_3D_keepdims_false.cairo diff --git a/tests/src/nodes/argmin_i32_3D_keepdims_false/input_0.cairo b/tests/nodes/argmin_i32_3D_keepdims_false/input_0.cairo similarity index 100% rename from tests/src/nodes/argmin_i32_3D_keepdims_false/input_0.cairo rename to tests/nodes/argmin_i32_3D_keepdims_false/input_0.cairo diff --git a/tests/src/nodes/argmin_i32_3D_keepdims_false/output_0.cairo b/tests/nodes/argmin_i32_3D_keepdims_false/output_0.cairo similarity index 100% rename from tests/src/nodes/argmin_i32_3D_keepdims_false/output_0.cairo rename to tests/nodes/argmin_i32_3D_keepdims_false/output_0.cairo diff --git a/tests/src/nodes/argmin_i32_3D_last_index.cairo b/tests/nodes/argmin_i32_3D_last_index.cairo similarity index 100% rename from tests/src/nodes/argmin_i32_3D_last_index.cairo rename to tests/nodes/argmin_i32_3D_last_index.cairo diff --git a/tests/src/nodes/argmin_i32_3D_last_index/input_0.cairo b/tests/nodes/argmin_i32_3D_last_index/input_0.cairo similarity index 100% rename from tests/src/nodes/argmin_i32_3D_last_index/input_0.cairo rename to tests/nodes/argmin_i32_3D_last_index/input_0.cairo diff --git a/tests/src/nodes/argmin_i32_3D_last_index/output_0.cairo b/tests/nodes/argmin_i32_3D_last_index/output_0.cairo similarity index 100% rename from tests/src/nodes/argmin_i32_3D_last_index/output_0.cairo rename to tests/nodes/argmin_i32_3D_last_index/output_0.cairo diff --git a/tests/src/nodes/argmin_i8_1D_default.cairo b/tests/nodes/argmin_i8_1D_default.cairo similarity index 100% rename from tests/src/nodes/argmin_i8_1D_default.cairo rename to tests/nodes/argmin_i8_1D_default.cairo diff --git a/tests/src/nodes/argmin_i8_1D_default/input_0.cairo b/tests/nodes/argmin_i8_1D_default/input_0.cairo similarity index 100% rename from tests/src/nodes/argmin_i8_1D_default/input_0.cairo rename to tests/nodes/argmin_i8_1D_default/input_0.cairo diff --git a/tests/src/nodes/argmin_i8_1D_default/output_0.cairo b/tests/nodes/argmin_i8_1D_default/output_0.cairo similarity index 100% rename from tests/src/nodes/argmin_i8_1D_default/output_0.cairo rename to tests/nodes/argmin_i8_1D_default/output_0.cairo diff --git a/tests/src/nodes/argmin_i8_1D_keepdims_false.cairo b/tests/nodes/argmin_i8_1D_keepdims_false.cairo similarity index 100% rename from tests/src/nodes/argmin_i8_1D_keepdims_false.cairo rename to tests/nodes/argmin_i8_1D_keepdims_false.cairo diff --git a/tests/src/nodes/argmin_i8_1D_keepdims_false/input_0.cairo b/tests/nodes/argmin_i8_1D_keepdims_false/input_0.cairo similarity index 100% rename from tests/src/nodes/argmin_i8_1D_keepdims_false/input_0.cairo rename to tests/nodes/argmin_i8_1D_keepdims_false/input_0.cairo diff --git a/tests/src/nodes/argmin_i8_1D_keepdims_false/output_0.cairo b/tests/nodes/argmin_i8_1D_keepdims_false/output_0.cairo similarity index 100% rename from tests/src/nodes/argmin_i8_1D_keepdims_false/output_0.cairo rename to tests/nodes/argmin_i8_1D_keepdims_false/output_0.cairo diff --git a/tests/src/nodes/argmin_i8_1D_last_index.cairo b/tests/nodes/argmin_i8_1D_last_index.cairo similarity index 100% rename from tests/src/nodes/argmin_i8_1D_last_index.cairo rename to tests/nodes/argmin_i8_1D_last_index.cairo diff --git a/tests/src/nodes/argmin_i8_1D_last_index/input_0.cairo b/tests/nodes/argmin_i8_1D_last_index/input_0.cairo similarity index 100% rename from tests/src/nodes/argmin_i8_1D_last_index/input_0.cairo rename to tests/nodes/argmin_i8_1D_last_index/input_0.cairo diff --git a/tests/src/nodes/argmin_i8_1D_last_index/output_0.cairo b/tests/nodes/argmin_i8_1D_last_index/output_0.cairo similarity index 100% rename from tests/src/nodes/argmin_i8_1D_last_index/output_0.cairo rename to tests/nodes/argmin_i8_1D_last_index/output_0.cairo diff --git a/tests/src/nodes/argmin_i8_2D_default.cairo b/tests/nodes/argmin_i8_2D_default.cairo similarity index 100% rename from tests/src/nodes/argmin_i8_2D_default.cairo rename to tests/nodes/argmin_i8_2D_default.cairo diff --git a/tests/src/nodes/argmin_i8_2D_default/input_0.cairo b/tests/nodes/argmin_i8_2D_default/input_0.cairo similarity index 100% rename from tests/src/nodes/argmin_i8_2D_default/input_0.cairo rename to tests/nodes/argmin_i8_2D_default/input_0.cairo diff --git a/tests/src/nodes/argmin_i8_2D_default/output_0.cairo b/tests/nodes/argmin_i8_2D_default/output_0.cairo similarity index 100% rename from tests/src/nodes/argmin_i8_2D_default/output_0.cairo rename to tests/nodes/argmin_i8_2D_default/output_0.cairo diff --git a/tests/src/nodes/argmin_i8_2D_keepdims_false.cairo b/tests/nodes/argmin_i8_2D_keepdims_false.cairo similarity index 100% rename from tests/src/nodes/argmin_i8_2D_keepdims_false.cairo rename to tests/nodes/argmin_i8_2D_keepdims_false.cairo diff --git a/tests/src/nodes/argmin_i8_2D_keepdims_false/input_0.cairo b/tests/nodes/argmin_i8_2D_keepdims_false/input_0.cairo similarity index 100% rename from tests/src/nodes/argmin_i8_2D_keepdims_false/input_0.cairo rename to tests/nodes/argmin_i8_2D_keepdims_false/input_0.cairo diff --git a/tests/src/nodes/argmin_i8_2D_keepdims_false/output_0.cairo b/tests/nodes/argmin_i8_2D_keepdims_false/output_0.cairo similarity index 100% rename from tests/src/nodes/argmin_i8_2D_keepdims_false/output_0.cairo rename to tests/nodes/argmin_i8_2D_keepdims_false/output_0.cairo diff --git a/tests/src/nodes/argmin_i8_2D_last_index.cairo b/tests/nodes/argmin_i8_2D_last_index.cairo similarity index 100% rename from tests/src/nodes/argmin_i8_2D_last_index.cairo rename to tests/nodes/argmin_i8_2D_last_index.cairo diff --git a/tests/src/nodes/argmin_i8_2D_last_index/input_0.cairo b/tests/nodes/argmin_i8_2D_last_index/input_0.cairo similarity index 100% rename from tests/src/nodes/argmin_i8_2D_last_index/input_0.cairo rename to tests/nodes/argmin_i8_2D_last_index/input_0.cairo diff --git a/tests/src/nodes/argmin_i8_2D_last_index/output_0.cairo b/tests/nodes/argmin_i8_2D_last_index/output_0.cairo similarity index 100% rename from tests/src/nodes/argmin_i8_2D_last_index/output_0.cairo rename to tests/nodes/argmin_i8_2D_last_index/output_0.cairo diff --git a/tests/src/nodes/argmin_i8_3D_default.cairo b/tests/nodes/argmin_i8_3D_default.cairo similarity index 100% rename from tests/src/nodes/argmin_i8_3D_default.cairo rename to tests/nodes/argmin_i8_3D_default.cairo diff --git a/tests/src/nodes/argmin_i8_3D_default/input_0.cairo b/tests/nodes/argmin_i8_3D_default/input_0.cairo similarity index 100% rename from tests/src/nodes/argmin_i8_3D_default/input_0.cairo rename to tests/nodes/argmin_i8_3D_default/input_0.cairo diff --git a/tests/src/nodes/argmin_i8_3D_default/output_0.cairo b/tests/nodes/argmin_i8_3D_default/output_0.cairo similarity index 100% rename from tests/src/nodes/argmin_i8_3D_default/output_0.cairo rename to tests/nodes/argmin_i8_3D_default/output_0.cairo diff --git a/tests/src/nodes/argmin_i8_3D_keepdims_false.cairo b/tests/nodes/argmin_i8_3D_keepdims_false.cairo similarity index 100% rename from tests/src/nodes/argmin_i8_3D_keepdims_false.cairo rename to tests/nodes/argmin_i8_3D_keepdims_false.cairo diff --git a/tests/src/nodes/argmin_i8_3D_keepdims_false/input_0.cairo b/tests/nodes/argmin_i8_3D_keepdims_false/input_0.cairo similarity index 100% rename from tests/src/nodes/argmin_i8_3D_keepdims_false/input_0.cairo rename to tests/nodes/argmin_i8_3D_keepdims_false/input_0.cairo diff --git a/tests/src/nodes/argmin_i8_3D_keepdims_false/output_0.cairo b/tests/nodes/argmin_i8_3D_keepdims_false/output_0.cairo similarity index 100% rename from tests/src/nodes/argmin_i8_3D_keepdims_false/output_0.cairo rename to tests/nodes/argmin_i8_3D_keepdims_false/output_0.cairo diff --git a/tests/src/nodes/argmin_i8_3D_last_index.cairo b/tests/nodes/argmin_i8_3D_last_index.cairo similarity index 100% rename from tests/src/nodes/argmin_i8_3D_last_index.cairo rename to tests/nodes/argmin_i8_3D_last_index.cairo diff --git a/tests/src/nodes/argmin_i8_3D_last_index/input_0.cairo b/tests/nodes/argmin_i8_3D_last_index/input_0.cairo similarity index 100% rename from tests/src/nodes/argmin_i8_3D_last_index/input_0.cairo rename to tests/nodes/argmin_i8_3D_last_index/input_0.cairo diff --git a/tests/src/nodes/argmin_i8_3D_last_index/output_0.cairo b/tests/nodes/argmin_i8_3D_last_index/output_0.cairo similarity index 100% rename from tests/src/nodes/argmin_i8_3D_last_index/output_0.cairo rename to tests/nodes/argmin_i8_3D_last_index/output_0.cairo diff --git a/tests/src/nodes/argmin_u32_1D_default.cairo b/tests/nodes/argmin_u32_1D_default.cairo similarity index 100% rename from tests/src/nodes/argmin_u32_1D_default.cairo rename to tests/nodes/argmin_u32_1D_default.cairo diff --git a/tests/src/nodes/argmin_u32_1D_default/input_0.cairo b/tests/nodes/argmin_u32_1D_default/input_0.cairo similarity index 100% rename from tests/src/nodes/argmin_u32_1D_default/input_0.cairo rename to tests/nodes/argmin_u32_1D_default/input_0.cairo diff --git a/tests/src/nodes/argmin_u32_1D_default/output_0.cairo b/tests/nodes/argmin_u32_1D_default/output_0.cairo similarity index 100% rename from tests/src/nodes/argmin_u32_1D_default/output_0.cairo rename to tests/nodes/argmin_u32_1D_default/output_0.cairo diff --git a/tests/src/nodes/argmin_u32_1D_keepdims_false.cairo b/tests/nodes/argmin_u32_1D_keepdims_false.cairo similarity index 100% rename from tests/src/nodes/argmin_u32_1D_keepdims_false.cairo rename to tests/nodes/argmin_u32_1D_keepdims_false.cairo diff --git a/tests/src/nodes/argmin_u32_1D_keepdims_false/input_0.cairo b/tests/nodes/argmin_u32_1D_keepdims_false/input_0.cairo similarity index 100% rename from tests/src/nodes/argmin_u32_1D_keepdims_false/input_0.cairo rename to tests/nodes/argmin_u32_1D_keepdims_false/input_0.cairo diff --git a/tests/src/nodes/argmin_u32_1D_keepdims_false/output_0.cairo b/tests/nodes/argmin_u32_1D_keepdims_false/output_0.cairo similarity index 100% rename from tests/src/nodes/argmin_u32_1D_keepdims_false/output_0.cairo rename to tests/nodes/argmin_u32_1D_keepdims_false/output_0.cairo diff --git a/tests/src/nodes/argmin_u32_1D_last_index.cairo b/tests/nodes/argmin_u32_1D_last_index.cairo similarity index 100% rename from tests/src/nodes/argmin_u32_1D_last_index.cairo rename to tests/nodes/argmin_u32_1D_last_index.cairo diff --git a/tests/src/nodes/argmin_u32_1D_last_index/input_0.cairo b/tests/nodes/argmin_u32_1D_last_index/input_0.cairo similarity index 100% rename from tests/src/nodes/argmin_u32_1D_last_index/input_0.cairo rename to tests/nodes/argmin_u32_1D_last_index/input_0.cairo diff --git a/tests/src/nodes/argmin_u32_1D_last_index/output_0.cairo b/tests/nodes/argmin_u32_1D_last_index/output_0.cairo similarity index 100% rename from tests/src/nodes/argmin_u32_1D_last_index/output_0.cairo rename to tests/nodes/argmin_u32_1D_last_index/output_0.cairo diff --git a/tests/src/nodes/argmin_u32_2D_default.cairo b/tests/nodes/argmin_u32_2D_default.cairo similarity index 100% rename from tests/src/nodes/argmin_u32_2D_default.cairo rename to tests/nodes/argmin_u32_2D_default.cairo diff --git a/tests/src/nodes/argmin_u32_2D_default/input_0.cairo b/tests/nodes/argmin_u32_2D_default/input_0.cairo similarity index 100% rename from tests/src/nodes/argmin_u32_2D_default/input_0.cairo rename to tests/nodes/argmin_u32_2D_default/input_0.cairo diff --git a/tests/src/nodes/argmin_u32_2D_default/output_0.cairo b/tests/nodes/argmin_u32_2D_default/output_0.cairo similarity index 100% rename from tests/src/nodes/argmin_u32_2D_default/output_0.cairo rename to tests/nodes/argmin_u32_2D_default/output_0.cairo diff --git a/tests/src/nodes/argmin_u32_2D_keepdims_false.cairo b/tests/nodes/argmin_u32_2D_keepdims_false.cairo similarity index 100% rename from tests/src/nodes/argmin_u32_2D_keepdims_false.cairo rename to tests/nodes/argmin_u32_2D_keepdims_false.cairo diff --git a/tests/src/nodes/argmin_u32_2D_keepdims_false/input_0.cairo b/tests/nodes/argmin_u32_2D_keepdims_false/input_0.cairo similarity index 100% rename from tests/src/nodes/argmin_u32_2D_keepdims_false/input_0.cairo rename to tests/nodes/argmin_u32_2D_keepdims_false/input_0.cairo diff --git a/tests/src/nodes/argmin_u32_2D_keepdims_false/output_0.cairo b/tests/nodes/argmin_u32_2D_keepdims_false/output_0.cairo similarity index 100% rename from tests/src/nodes/argmin_u32_2D_keepdims_false/output_0.cairo rename to tests/nodes/argmin_u32_2D_keepdims_false/output_0.cairo diff --git a/tests/src/nodes/argmin_u32_2D_last_index.cairo b/tests/nodes/argmin_u32_2D_last_index.cairo similarity index 100% rename from tests/src/nodes/argmin_u32_2D_last_index.cairo rename to tests/nodes/argmin_u32_2D_last_index.cairo diff --git a/tests/src/nodes/argmin_u32_2D_last_index/input_0.cairo b/tests/nodes/argmin_u32_2D_last_index/input_0.cairo similarity index 100% rename from tests/src/nodes/argmin_u32_2D_last_index/input_0.cairo rename to tests/nodes/argmin_u32_2D_last_index/input_0.cairo diff --git a/tests/src/nodes/argmin_u32_2D_last_index/output_0.cairo b/tests/nodes/argmin_u32_2D_last_index/output_0.cairo similarity index 100% rename from tests/src/nodes/argmin_u32_2D_last_index/output_0.cairo rename to tests/nodes/argmin_u32_2D_last_index/output_0.cairo diff --git a/tests/src/nodes/argmin_u32_3D_default.cairo b/tests/nodes/argmin_u32_3D_default.cairo similarity index 100% rename from tests/src/nodes/argmin_u32_3D_default.cairo rename to tests/nodes/argmin_u32_3D_default.cairo diff --git a/tests/src/nodes/argmin_u32_3D_default/input_0.cairo b/tests/nodes/argmin_u32_3D_default/input_0.cairo similarity index 100% rename from tests/src/nodes/argmin_u32_3D_default/input_0.cairo rename to tests/nodes/argmin_u32_3D_default/input_0.cairo diff --git a/tests/src/nodes/argmin_u32_3D_default/output_0.cairo b/tests/nodes/argmin_u32_3D_default/output_0.cairo similarity index 100% rename from tests/src/nodes/argmin_u32_3D_default/output_0.cairo rename to tests/nodes/argmin_u32_3D_default/output_0.cairo diff --git a/tests/src/nodes/argmin_u32_3D_keepdims_false.cairo b/tests/nodes/argmin_u32_3D_keepdims_false.cairo similarity index 100% rename from tests/src/nodes/argmin_u32_3D_keepdims_false.cairo rename to tests/nodes/argmin_u32_3D_keepdims_false.cairo diff --git a/tests/src/nodes/argmin_u32_3D_keepdims_false/input_0.cairo b/tests/nodes/argmin_u32_3D_keepdims_false/input_0.cairo similarity index 100% rename from tests/src/nodes/argmin_u32_3D_keepdims_false/input_0.cairo rename to tests/nodes/argmin_u32_3D_keepdims_false/input_0.cairo diff --git a/tests/src/nodes/argmin_u32_3D_keepdims_false/output_0.cairo b/tests/nodes/argmin_u32_3D_keepdims_false/output_0.cairo similarity index 100% rename from tests/src/nodes/argmin_u32_3D_keepdims_false/output_0.cairo rename to tests/nodes/argmin_u32_3D_keepdims_false/output_0.cairo diff --git a/tests/src/nodes/argmin_u32_3D_last_index.cairo b/tests/nodes/argmin_u32_3D_last_index.cairo similarity index 100% rename from tests/src/nodes/argmin_u32_3D_last_index.cairo rename to tests/nodes/argmin_u32_3D_last_index.cairo diff --git a/tests/src/nodes/argmin_u32_3D_last_index/input_0.cairo b/tests/nodes/argmin_u32_3D_last_index/input_0.cairo similarity index 100% rename from tests/src/nodes/argmin_u32_3D_last_index/input_0.cairo rename to tests/nodes/argmin_u32_3D_last_index/input_0.cairo diff --git a/tests/src/nodes/argmin_u32_3D_last_index/output_0.cairo b/tests/nodes/argmin_u32_3D_last_index/output_0.cairo similarity index 100% rename from tests/src/nodes/argmin_u32_3D_last_index/output_0.cairo rename to tests/nodes/argmin_u32_3D_last_index/output_0.cairo diff --git a/tests/src/nodes/asin_fp16x16.cairo b/tests/nodes/asin_fp16x16.cairo similarity index 100% rename from tests/src/nodes/asin_fp16x16.cairo rename to tests/nodes/asin_fp16x16.cairo diff --git a/tests/src/nodes/asin_fp16x16/input_0.cairo b/tests/nodes/asin_fp16x16/input_0.cairo similarity index 100% rename from tests/src/nodes/asin_fp16x16/input_0.cairo rename to tests/nodes/asin_fp16x16/input_0.cairo diff --git a/tests/src/nodes/asin_fp16x16/output_0.cairo b/tests/nodes/asin_fp16x16/output_0.cairo similarity index 100% rename from tests/src/nodes/asin_fp16x16/output_0.cairo rename to tests/nodes/asin_fp16x16/output_0.cairo diff --git a/tests/src/nodes/asin_fp8x23.cairo b/tests/nodes/asin_fp8x23.cairo similarity index 100% rename from tests/src/nodes/asin_fp8x23.cairo rename to tests/nodes/asin_fp8x23.cairo diff --git a/tests/src/nodes/asin_fp8x23/input_0.cairo b/tests/nodes/asin_fp8x23/input_0.cairo similarity index 100% rename from tests/src/nodes/asin_fp8x23/input_0.cairo rename to tests/nodes/asin_fp8x23/input_0.cairo diff --git a/tests/src/nodes/asin_fp8x23/output_0.cairo b/tests/nodes/asin_fp8x23/output_0.cairo similarity index 100% rename from tests/src/nodes/asin_fp8x23/output_0.cairo rename to tests/nodes/asin_fp8x23/output_0.cairo diff --git a/tests/src/nodes/asinh_fp16x16.cairo b/tests/nodes/asinh_fp16x16.cairo similarity index 100% rename from tests/src/nodes/asinh_fp16x16.cairo rename to tests/nodes/asinh_fp16x16.cairo diff --git a/tests/src/nodes/asinh_fp16x16/input_0.cairo b/tests/nodes/asinh_fp16x16/input_0.cairo similarity index 100% rename from tests/src/nodes/asinh_fp16x16/input_0.cairo rename to tests/nodes/asinh_fp16x16/input_0.cairo diff --git a/tests/src/nodes/asinh_fp16x16/output_0.cairo b/tests/nodes/asinh_fp16x16/output_0.cairo similarity index 100% rename from tests/src/nodes/asinh_fp16x16/output_0.cairo rename to tests/nodes/asinh_fp16x16/output_0.cairo diff --git a/tests/src/nodes/asinh_fp8x23.cairo b/tests/nodes/asinh_fp8x23.cairo similarity index 100% rename from tests/src/nodes/asinh_fp8x23.cairo rename to tests/nodes/asinh_fp8x23.cairo diff --git a/tests/src/nodes/asinh_fp8x23/input_0.cairo b/tests/nodes/asinh_fp8x23/input_0.cairo similarity index 100% rename from tests/src/nodes/asinh_fp8x23/input_0.cairo rename to tests/nodes/asinh_fp8x23/input_0.cairo diff --git a/tests/src/nodes/asinh_fp8x23/output_0.cairo b/tests/nodes/asinh_fp8x23/output_0.cairo similarity index 100% rename from tests/src/nodes/asinh_fp8x23/output_0.cairo rename to tests/nodes/asinh_fp8x23/output_0.cairo diff --git a/tests/src/nodes/atan_fp16x16.cairo b/tests/nodes/atan_fp16x16.cairo similarity index 100% rename from tests/src/nodes/atan_fp16x16.cairo rename to tests/nodes/atan_fp16x16.cairo diff --git a/tests/src/nodes/atan_fp16x16/input_0.cairo b/tests/nodes/atan_fp16x16/input_0.cairo similarity index 100% rename from tests/src/nodes/atan_fp16x16/input_0.cairo rename to tests/nodes/atan_fp16x16/input_0.cairo diff --git a/tests/src/nodes/atan_fp16x16/output_0.cairo b/tests/nodes/atan_fp16x16/output_0.cairo similarity index 100% rename from tests/src/nodes/atan_fp16x16/output_0.cairo rename to tests/nodes/atan_fp16x16/output_0.cairo diff --git a/tests/src/nodes/atan_fp8x23.cairo b/tests/nodes/atan_fp8x23.cairo similarity index 100% rename from tests/src/nodes/atan_fp8x23.cairo rename to tests/nodes/atan_fp8x23.cairo diff --git a/tests/src/nodes/atan_fp8x23/input_0.cairo b/tests/nodes/atan_fp8x23/input_0.cairo similarity index 100% rename from tests/src/nodes/atan_fp8x23/input_0.cairo rename to tests/nodes/atan_fp8x23/input_0.cairo diff --git a/tests/src/nodes/atan_fp8x23/output_0.cairo b/tests/nodes/atan_fp8x23/output_0.cairo similarity index 100% rename from tests/src/nodes/atan_fp8x23/output_0.cairo rename to tests/nodes/atan_fp8x23/output_0.cairo diff --git a/tests/src/nodes/ceil_fp16x16.cairo b/tests/nodes/ceil_fp16x16.cairo similarity index 100% rename from tests/src/nodes/ceil_fp16x16.cairo rename to tests/nodes/ceil_fp16x16.cairo diff --git a/tests/src/nodes/ceil_fp16x16/input_0.cairo b/tests/nodes/ceil_fp16x16/input_0.cairo similarity index 100% rename from tests/src/nodes/ceil_fp16x16/input_0.cairo rename to tests/nodes/ceil_fp16x16/input_0.cairo diff --git a/tests/src/nodes/ceil_fp16x16/output_0.cairo b/tests/nodes/ceil_fp16x16/output_0.cairo similarity index 100% rename from tests/src/nodes/ceil_fp16x16/output_0.cairo rename to tests/nodes/ceil_fp16x16/output_0.cairo diff --git a/tests/src/nodes/ceil_fp8x23.cairo b/tests/nodes/ceil_fp8x23.cairo similarity index 100% rename from tests/src/nodes/ceil_fp8x23.cairo rename to tests/nodes/ceil_fp8x23.cairo diff --git a/tests/src/nodes/ceil_fp8x23/input_0.cairo b/tests/nodes/ceil_fp8x23/input_0.cairo similarity index 100% rename from tests/src/nodes/ceil_fp8x23/input_0.cairo rename to tests/nodes/ceil_fp8x23/input_0.cairo diff --git a/tests/src/nodes/ceil_fp8x23/output_0.cairo b/tests/nodes/ceil_fp8x23/output_0.cairo similarity index 100% rename from tests/src/nodes/ceil_fp8x23/output_0.cairo rename to tests/nodes/ceil_fp8x23/output_0.cairo diff --git a/tests/src/nodes/clip_fp16x16_2d.cairo b/tests/nodes/clip_fp16x16_2d.cairo similarity index 100% rename from tests/src/nodes/clip_fp16x16_2d.cairo rename to tests/nodes/clip_fp16x16_2d.cairo diff --git a/tests/src/nodes/clip_fp16x16_2d/input_0.cairo b/tests/nodes/clip_fp16x16_2d/input_0.cairo similarity index 100% rename from tests/src/nodes/clip_fp16x16_2d/input_0.cairo rename to tests/nodes/clip_fp16x16_2d/input_0.cairo diff --git a/tests/src/nodes/clip_fp16x16_2d/output_0.cairo b/tests/nodes/clip_fp16x16_2d/output_0.cairo similarity index 100% rename from tests/src/nodes/clip_fp16x16_2d/output_0.cairo rename to tests/nodes/clip_fp16x16_2d/output_0.cairo diff --git a/tests/src/nodes/clip_fp16x16_3d.cairo b/tests/nodes/clip_fp16x16_3d.cairo similarity index 100% rename from tests/src/nodes/clip_fp16x16_3d.cairo rename to tests/nodes/clip_fp16x16_3d.cairo diff --git a/tests/src/nodes/clip_fp16x16_3d/input_0.cairo b/tests/nodes/clip_fp16x16_3d/input_0.cairo similarity index 100% rename from tests/src/nodes/clip_fp16x16_3d/input_0.cairo rename to tests/nodes/clip_fp16x16_3d/input_0.cairo diff --git a/tests/src/nodes/clip_fp16x16_3d/output_0.cairo b/tests/nodes/clip_fp16x16_3d/output_0.cairo similarity index 100% rename from tests/src/nodes/clip_fp16x16_3d/output_0.cairo rename to tests/nodes/clip_fp16x16_3d/output_0.cairo diff --git a/tests/src/nodes/clip_fp8x23_2d.cairo b/tests/nodes/clip_fp8x23_2d.cairo similarity index 100% rename from tests/src/nodes/clip_fp8x23_2d.cairo rename to tests/nodes/clip_fp8x23_2d.cairo diff --git a/tests/src/nodes/clip_fp8x23_2d/input_0.cairo b/tests/nodes/clip_fp8x23_2d/input_0.cairo similarity index 100% rename from tests/src/nodes/clip_fp8x23_2d/input_0.cairo rename to tests/nodes/clip_fp8x23_2d/input_0.cairo diff --git a/tests/src/nodes/clip_fp8x23_2d/output_0.cairo b/tests/nodes/clip_fp8x23_2d/output_0.cairo similarity index 100% rename from tests/src/nodes/clip_fp8x23_2d/output_0.cairo rename to tests/nodes/clip_fp8x23_2d/output_0.cairo diff --git a/tests/src/nodes/clip_fp8x23_3d.cairo b/tests/nodes/clip_fp8x23_3d.cairo similarity index 100% rename from tests/src/nodes/clip_fp8x23_3d.cairo rename to tests/nodes/clip_fp8x23_3d.cairo diff --git a/tests/src/nodes/clip_fp8x23_3d/input_0.cairo b/tests/nodes/clip_fp8x23_3d/input_0.cairo similarity index 100% rename from tests/src/nodes/clip_fp8x23_3d/input_0.cairo rename to tests/nodes/clip_fp8x23_3d/input_0.cairo diff --git a/tests/src/nodes/clip_fp8x23_3d/output_0.cairo b/tests/nodes/clip_fp8x23_3d/output_0.cairo similarity index 100% rename from tests/src/nodes/clip_fp8x23_3d/output_0.cairo rename to tests/nodes/clip_fp8x23_3d/output_0.cairo diff --git a/tests/src/nodes/clip_i32_2d.cairo b/tests/nodes/clip_i32_2d.cairo similarity index 100% rename from tests/src/nodes/clip_i32_2d.cairo rename to tests/nodes/clip_i32_2d.cairo diff --git a/tests/src/nodes/clip_i32_2d/input_0.cairo b/tests/nodes/clip_i32_2d/input_0.cairo similarity index 100% rename from tests/src/nodes/clip_i32_2d/input_0.cairo rename to tests/nodes/clip_i32_2d/input_0.cairo diff --git a/tests/src/nodes/clip_i32_2d/output_0.cairo b/tests/nodes/clip_i32_2d/output_0.cairo similarity index 100% rename from tests/src/nodes/clip_i32_2d/output_0.cairo rename to tests/nodes/clip_i32_2d/output_0.cairo diff --git a/tests/src/nodes/clip_i32_3d.cairo b/tests/nodes/clip_i32_3d.cairo similarity index 100% rename from tests/src/nodes/clip_i32_3d.cairo rename to tests/nodes/clip_i32_3d.cairo diff --git a/tests/src/nodes/clip_i32_3d/input_0.cairo b/tests/nodes/clip_i32_3d/input_0.cairo similarity index 100% rename from tests/src/nodes/clip_i32_3d/input_0.cairo rename to tests/nodes/clip_i32_3d/input_0.cairo diff --git a/tests/src/nodes/clip_i32_3d/output_0.cairo b/tests/nodes/clip_i32_3d/output_0.cairo similarity index 100% rename from tests/src/nodes/clip_i32_3d/output_0.cairo rename to tests/nodes/clip_i32_3d/output_0.cairo diff --git a/tests/src/nodes/clip_i8_2d.cairo b/tests/nodes/clip_i8_2d.cairo similarity index 100% rename from tests/src/nodes/clip_i8_2d.cairo rename to tests/nodes/clip_i8_2d.cairo diff --git a/tests/src/nodes/clip_i8_2d/input_0.cairo b/tests/nodes/clip_i8_2d/input_0.cairo similarity index 100% rename from tests/src/nodes/clip_i8_2d/input_0.cairo rename to tests/nodes/clip_i8_2d/input_0.cairo diff --git a/tests/src/nodes/clip_i8_2d/output_0.cairo b/tests/nodes/clip_i8_2d/output_0.cairo similarity index 100% rename from tests/src/nodes/clip_i8_2d/output_0.cairo rename to tests/nodes/clip_i8_2d/output_0.cairo diff --git a/tests/src/nodes/clip_i8_3d.cairo b/tests/nodes/clip_i8_3d.cairo similarity index 100% rename from tests/src/nodes/clip_i8_3d.cairo rename to tests/nodes/clip_i8_3d.cairo diff --git a/tests/src/nodes/clip_i8_3d/input_0.cairo b/tests/nodes/clip_i8_3d/input_0.cairo similarity index 100% rename from tests/src/nodes/clip_i8_3d/input_0.cairo rename to tests/nodes/clip_i8_3d/input_0.cairo diff --git a/tests/src/nodes/clip_i8_3d/output_0.cairo b/tests/nodes/clip_i8_3d/output_0.cairo similarity index 100% rename from tests/src/nodes/clip_i8_3d/output_0.cairo rename to tests/nodes/clip_i8_3d/output_0.cairo diff --git a/tests/src/nodes/clip_u32_2d.cairo b/tests/nodes/clip_u32_2d.cairo similarity index 100% rename from tests/src/nodes/clip_u32_2d.cairo rename to tests/nodes/clip_u32_2d.cairo diff --git a/tests/src/nodes/clip_u32_2d/input_0.cairo b/tests/nodes/clip_u32_2d/input_0.cairo similarity index 100% rename from tests/src/nodes/clip_u32_2d/input_0.cairo rename to tests/nodes/clip_u32_2d/input_0.cairo diff --git a/tests/src/nodes/clip_u32_2d/output_0.cairo b/tests/nodes/clip_u32_2d/output_0.cairo similarity index 100% rename from tests/src/nodes/clip_u32_2d/output_0.cairo rename to tests/nodes/clip_u32_2d/output_0.cairo diff --git a/tests/src/nodes/clip_u32_3d.cairo b/tests/nodes/clip_u32_3d.cairo similarity index 100% rename from tests/src/nodes/clip_u32_3d.cairo rename to tests/nodes/clip_u32_3d.cairo diff --git a/tests/src/nodes/clip_u32_3d/input_0.cairo b/tests/nodes/clip_u32_3d/input_0.cairo similarity index 100% rename from tests/src/nodes/clip_u32_3d/input_0.cairo rename to tests/nodes/clip_u32_3d/input_0.cairo diff --git a/tests/src/nodes/clip_u32_3d/output_0.cairo b/tests/nodes/clip_u32_3d/output_0.cairo similarity index 100% rename from tests/src/nodes/clip_u32_3d/output_0.cairo rename to tests/nodes/clip_u32_3d/output_0.cairo diff --git a/tests/src/nodes/concat_fp16x16_1d.cairo b/tests/nodes/concat_fp16x16_1d.cairo similarity index 100% rename from tests/src/nodes/concat_fp16x16_1d.cairo rename to tests/nodes/concat_fp16x16_1d.cairo diff --git a/tests/src/nodes/concat_fp16x16_1d/input_0.cairo b/tests/nodes/concat_fp16x16_1d/input_0.cairo similarity index 100% rename from tests/src/nodes/concat_fp16x16_1d/input_0.cairo rename to tests/nodes/concat_fp16x16_1d/input_0.cairo diff --git a/tests/src/nodes/concat_fp16x16_1d/input_1.cairo b/tests/nodes/concat_fp16x16_1d/input_1.cairo similarity index 100% rename from tests/src/nodes/concat_fp16x16_1d/input_1.cairo rename to tests/nodes/concat_fp16x16_1d/input_1.cairo diff --git a/tests/src/nodes/concat_fp16x16_1d/output_0.cairo b/tests/nodes/concat_fp16x16_1d/output_0.cairo similarity index 100% rename from tests/src/nodes/concat_fp16x16_1d/output_0.cairo rename to tests/nodes/concat_fp16x16_1d/output_0.cairo diff --git a/tests/src/nodes/concat_fp16x16_2d.cairo b/tests/nodes/concat_fp16x16_2d.cairo similarity index 100% rename from tests/src/nodes/concat_fp16x16_2d.cairo rename to tests/nodes/concat_fp16x16_2d.cairo diff --git a/tests/src/nodes/concat_fp16x16_2d/input_0.cairo b/tests/nodes/concat_fp16x16_2d/input_0.cairo similarity index 100% rename from tests/src/nodes/concat_fp16x16_2d/input_0.cairo rename to tests/nodes/concat_fp16x16_2d/input_0.cairo diff --git a/tests/src/nodes/concat_fp16x16_2d/input_1.cairo b/tests/nodes/concat_fp16x16_2d/input_1.cairo similarity index 100% rename from tests/src/nodes/concat_fp16x16_2d/input_1.cairo rename to tests/nodes/concat_fp16x16_2d/input_1.cairo diff --git a/tests/src/nodes/concat_fp16x16_2d/output_0.cairo b/tests/nodes/concat_fp16x16_2d/output_0.cairo similarity index 100% rename from tests/src/nodes/concat_fp16x16_2d/output_0.cairo rename to tests/nodes/concat_fp16x16_2d/output_0.cairo diff --git a/tests/src/nodes/concat_fp16x16_3d_axis_1.cairo b/tests/nodes/concat_fp16x16_3d_axis_1.cairo similarity index 100% rename from tests/src/nodes/concat_fp16x16_3d_axis_1.cairo rename to tests/nodes/concat_fp16x16_3d_axis_1.cairo diff --git a/tests/src/nodes/concat_fp16x16_3d_axis_1/input_0.cairo b/tests/nodes/concat_fp16x16_3d_axis_1/input_0.cairo similarity index 100% rename from tests/src/nodes/concat_fp16x16_3d_axis_1/input_0.cairo rename to tests/nodes/concat_fp16x16_3d_axis_1/input_0.cairo diff --git a/tests/src/nodes/concat_fp16x16_3d_axis_1/input_1.cairo b/tests/nodes/concat_fp16x16_3d_axis_1/input_1.cairo similarity index 100% rename from tests/src/nodes/concat_fp16x16_3d_axis_1/input_1.cairo rename to tests/nodes/concat_fp16x16_3d_axis_1/input_1.cairo diff --git a/tests/src/nodes/concat_fp16x16_3d_axis_1/output_0.cairo b/tests/nodes/concat_fp16x16_3d_axis_1/output_0.cairo similarity index 100% rename from tests/src/nodes/concat_fp16x16_3d_axis_1/output_0.cairo rename to tests/nodes/concat_fp16x16_3d_axis_1/output_0.cairo diff --git a/tests/src/nodes/concat_fp16x16_3d_axis_2.cairo b/tests/nodes/concat_fp16x16_3d_axis_2.cairo similarity index 100% rename from tests/src/nodes/concat_fp16x16_3d_axis_2.cairo rename to tests/nodes/concat_fp16x16_3d_axis_2.cairo diff --git a/tests/src/nodes/concat_fp16x16_3d_axis_2/input_0.cairo b/tests/nodes/concat_fp16x16_3d_axis_2/input_0.cairo similarity index 100% rename from tests/src/nodes/concat_fp16x16_3d_axis_2/input_0.cairo rename to tests/nodes/concat_fp16x16_3d_axis_2/input_0.cairo diff --git a/tests/src/nodes/concat_fp16x16_3d_axis_2/input_1.cairo b/tests/nodes/concat_fp16x16_3d_axis_2/input_1.cairo similarity index 100% rename from tests/src/nodes/concat_fp16x16_3d_axis_2/input_1.cairo rename to tests/nodes/concat_fp16x16_3d_axis_2/input_1.cairo diff --git a/tests/src/nodes/concat_fp16x16_3d_axis_2/output_0.cairo b/tests/nodes/concat_fp16x16_3d_axis_2/output_0.cairo similarity index 100% rename from tests/src/nodes/concat_fp16x16_3d_axis_2/output_0.cairo rename to tests/nodes/concat_fp16x16_3d_axis_2/output_0.cairo diff --git a/tests/src/nodes/concat_fp16x16_3d_default.cairo b/tests/nodes/concat_fp16x16_3d_default.cairo similarity index 100% rename from tests/src/nodes/concat_fp16x16_3d_default.cairo rename to tests/nodes/concat_fp16x16_3d_default.cairo diff --git a/tests/src/nodes/concat_fp16x16_3d_default/input_0.cairo b/tests/nodes/concat_fp16x16_3d_default/input_0.cairo similarity index 100% rename from tests/src/nodes/concat_fp16x16_3d_default/input_0.cairo rename to tests/nodes/concat_fp16x16_3d_default/input_0.cairo diff --git a/tests/src/nodes/concat_fp16x16_3d_default/input_1.cairo b/tests/nodes/concat_fp16x16_3d_default/input_1.cairo similarity index 100% rename from tests/src/nodes/concat_fp16x16_3d_default/input_1.cairo rename to tests/nodes/concat_fp16x16_3d_default/input_1.cairo diff --git a/tests/src/nodes/concat_fp16x16_3d_default/output_0.cairo b/tests/nodes/concat_fp16x16_3d_default/output_0.cairo similarity index 100% rename from tests/src/nodes/concat_fp16x16_3d_default/output_0.cairo rename to tests/nodes/concat_fp16x16_3d_default/output_0.cairo diff --git a/tests/src/nodes/concat_fp16x16_3d_three_tensors_axis_1.cairo b/tests/nodes/concat_fp16x16_3d_three_tensors_axis_1.cairo similarity index 100% rename from tests/src/nodes/concat_fp16x16_3d_three_tensors_axis_1.cairo rename to tests/nodes/concat_fp16x16_3d_three_tensors_axis_1.cairo diff --git a/tests/src/nodes/concat_fp16x16_3d_three_tensors_axis_1/input_0.cairo b/tests/nodes/concat_fp16x16_3d_three_tensors_axis_1/input_0.cairo similarity index 100% rename from tests/src/nodes/concat_fp16x16_3d_three_tensors_axis_1/input_0.cairo rename to tests/nodes/concat_fp16x16_3d_three_tensors_axis_1/input_0.cairo diff --git a/tests/src/nodes/concat_fp16x16_3d_three_tensors_axis_1/input_1.cairo b/tests/nodes/concat_fp16x16_3d_three_tensors_axis_1/input_1.cairo similarity index 100% rename from tests/src/nodes/concat_fp16x16_3d_three_tensors_axis_1/input_1.cairo rename to tests/nodes/concat_fp16x16_3d_three_tensors_axis_1/input_1.cairo diff --git a/tests/src/nodes/concat_fp16x16_3d_three_tensors_axis_1/input_2.cairo b/tests/nodes/concat_fp16x16_3d_three_tensors_axis_1/input_2.cairo similarity index 100% rename from tests/src/nodes/concat_fp16x16_3d_three_tensors_axis_1/input_2.cairo rename to tests/nodes/concat_fp16x16_3d_three_tensors_axis_1/input_2.cairo diff --git a/tests/src/nodes/concat_fp16x16_3d_three_tensors_axis_1/output_0.cairo b/tests/nodes/concat_fp16x16_3d_three_tensors_axis_1/output_0.cairo similarity index 100% rename from tests/src/nodes/concat_fp16x16_3d_three_tensors_axis_1/output_0.cairo rename to tests/nodes/concat_fp16x16_3d_three_tensors_axis_1/output_0.cairo diff --git a/tests/src/nodes/concat_fp16x16_3d_three_tensors_axis_2.cairo b/tests/nodes/concat_fp16x16_3d_three_tensors_axis_2.cairo similarity index 100% rename from tests/src/nodes/concat_fp16x16_3d_three_tensors_axis_2.cairo rename to tests/nodes/concat_fp16x16_3d_three_tensors_axis_2.cairo diff --git a/tests/src/nodes/concat_fp16x16_3d_three_tensors_axis_2/input_0.cairo b/tests/nodes/concat_fp16x16_3d_three_tensors_axis_2/input_0.cairo similarity index 100% rename from tests/src/nodes/concat_fp16x16_3d_three_tensors_axis_2/input_0.cairo rename to tests/nodes/concat_fp16x16_3d_three_tensors_axis_2/input_0.cairo diff --git a/tests/src/nodes/concat_fp16x16_3d_three_tensors_axis_2/input_1.cairo b/tests/nodes/concat_fp16x16_3d_three_tensors_axis_2/input_1.cairo similarity index 100% rename from tests/src/nodes/concat_fp16x16_3d_three_tensors_axis_2/input_1.cairo rename to tests/nodes/concat_fp16x16_3d_three_tensors_axis_2/input_1.cairo diff --git a/tests/src/nodes/concat_fp16x16_3d_three_tensors_axis_2/input_2.cairo b/tests/nodes/concat_fp16x16_3d_three_tensors_axis_2/input_2.cairo similarity index 100% rename from tests/src/nodes/concat_fp16x16_3d_three_tensors_axis_2/input_2.cairo rename to tests/nodes/concat_fp16x16_3d_three_tensors_axis_2/input_2.cairo diff --git a/tests/src/nodes/concat_fp16x16_3d_three_tensors_axis_2/output_0.cairo b/tests/nodes/concat_fp16x16_3d_three_tensors_axis_2/output_0.cairo similarity index 100% rename from tests/src/nodes/concat_fp16x16_3d_three_tensors_axis_2/output_0.cairo rename to tests/nodes/concat_fp16x16_3d_three_tensors_axis_2/output_0.cairo diff --git a/tests/src/nodes/concat_fp8x23_1d.cairo b/tests/nodes/concat_fp8x23_1d.cairo similarity index 100% rename from tests/src/nodes/concat_fp8x23_1d.cairo rename to tests/nodes/concat_fp8x23_1d.cairo diff --git a/tests/src/nodes/concat_fp8x23_1d/input_0.cairo b/tests/nodes/concat_fp8x23_1d/input_0.cairo similarity index 100% rename from tests/src/nodes/concat_fp8x23_1d/input_0.cairo rename to tests/nodes/concat_fp8x23_1d/input_0.cairo diff --git a/tests/src/nodes/concat_fp8x23_1d/input_1.cairo b/tests/nodes/concat_fp8x23_1d/input_1.cairo similarity index 100% rename from tests/src/nodes/concat_fp8x23_1d/input_1.cairo rename to tests/nodes/concat_fp8x23_1d/input_1.cairo diff --git a/tests/src/nodes/concat_fp8x23_1d/output_0.cairo b/tests/nodes/concat_fp8x23_1d/output_0.cairo similarity index 100% rename from tests/src/nodes/concat_fp8x23_1d/output_0.cairo rename to tests/nodes/concat_fp8x23_1d/output_0.cairo diff --git a/tests/src/nodes/concat_fp8x23_2d.cairo b/tests/nodes/concat_fp8x23_2d.cairo similarity index 100% rename from tests/src/nodes/concat_fp8x23_2d.cairo rename to tests/nodes/concat_fp8x23_2d.cairo diff --git a/tests/src/nodes/concat_fp8x23_2d/input_0.cairo b/tests/nodes/concat_fp8x23_2d/input_0.cairo similarity index 100% rename from tests/src/nodes/concat_fp8x23_2d/input_0.cairo rename to tests/nodes/concat_fp8x23_2d/input_0.cairo diff --git a/tests/src/nodes/concat_fp8x23_2d/input_1.cairo b/tests/nodes/concat_fp8x23_2d/input_1.cairo similarity index 100% rename from tests/src/nodes/concat_fp8x23_2d/input_1.cairo rename to tests/nodes/concat_fp8x23_2d/input_1.cairo diff --git a/tests/src/nodes/concat_fp8x23_2d/output_0.cairo b/tests/nodes/concat_fp8x23_2d/output_0.cairo similarity index 100% rename from tests/src/nodes/concat_fp8x23_2d/output_0.cairo rename to tests/nodes/concat_fp8x23_2d/output_0.cairo diff --git a/tests/src/nodes/concat_fp8x23_3d_axis_1.cairo b/tests/nodes/concat_fp8x23_3d_axis_1.cairo similarity index 100% rename from tests/src/nodes/concat_fp8x23_3d_axis_1.cairo rename to tests/nodes/concat_fp8x23_3d_axis_1.cairo diff --git a/tests/src/nodes/concat_fp8x23_3d_axis_1/input_0.cairo b/tests/nodes/concat_fp8x23_3d_axis_1/input_0.cairo similarity index 100% rename from tests/src/nodes/concat_fp8x23_3d_axis_1/input_0.cairo rename to tests/nodes/concat_fp8x23_3d_axis_1/input_0.cairo diff --git a/tests/src/nodes/concat_fp8x23_3d_axis_1/input_1.cairo b/tests/nodes/concat_fp8x23_3d_axis_1/input_1.cairo similarity index 100% rename from tests/src/nodes/concat_fp8x23_3d_axis_1/input_1.cairo rename to tests/nodes/concat_fp8x23_3d_axis_1/input_1.cairo diff --git a/tests/src/nodes/concat_fp8x23_3d_axis_1/output_0.cairo b/tests/nodes/concat_fp8x23_3d_axis_1/output_0.cairo similarity index 100% rename from tests/src/nodes/concat_fp8x23_3d_axis_1/output_0.cairo rename to tests/nodes/concat_fp8x23_3d_axis_1/output_0.cairo diff --git a/tests/src/nodes/concat_fp8x23_3d_axis_2.cairo b/tests/nodes/concat_fp8x23_3d_axis_2.cairo similarity index 100% rename from tests/src/nodes/concat_fp8x23_3d_axis_2.cairo rename to tests/nodes/concat_fp8x23_3d_axis_2.cairo diff --git a/tests/src/nodes/concat_fp8x23_3d_axis_2/input_0.cairo b/tests/nodes/concat_fp8x23_3d_axis_2/input_0.cairo similarity index 100% rename from tests/src/nodes/concat_fp8x23_3d_axis_2/input_0.cairo rename to tests/nodes/concat_fp8x23_3d_axis_2/input_0.cairo diff --git a/tests/src/nodes/concat_fp8x23_3d_axis_2/input_1.cairo b/tests/nodes/concat_fp8x23_3d_axis_2/input_1.cairo similarity index 100% rename from tests/src/nodes/concat_fp8x23_3d_axis_2/input_1.cairo rename to tests/nodes/concat_fp8x23_3d_axis_2/input_1.cairo diff --git a/tests/src/nodes/concat_fp8x23_3d_axis_2/output_0.cairo b/tests/nodes/concat_fp8x23_3d_axis_2/output_0.cairo similarity index 100% rename from tests/src/nodes/concat_fp8x23_3d_axis_2/output_0.cairo rename to tests/nodes/concat_fp8x23_3d_axis_2/output_0.cairo diff --git a/tests/src/nodes/concat_fp8x23_3d_default.cairo b/tests/nodes/concat_fp8x23_3d_default.cairo similarity index 100% rename from tests/src/nodes/concat_fp8x23_3d_default.cairo rename to tests/nodes/concat_fp8x23_3d_default.cairo diff --git a/tests/src/nodes/concat_fp8x23_3d_default/input_0.cairo b/tests/nodes/concat_fp8x23_3d_default/input_0.cairo similarity index 100% rename from tests/src/nodes/concat_fp8x23_3d_default/input_0.cairo rename to tests/nodes/concat_fp8x23_3d_default/input_0.cairo diff --git a/tests/src/nodes/concat_fp8x23_3d_default/input_1.cairo b/tests/nodes/concat_fp8x23_3d_default/input_1.cairo similarity index 100% rename from tests/src/nodes/concat_fp8x23_3d_default/input_1.cairo rename to tests/nodes/concat_fp8x23_3d_default/input_1.cairo diff --git a/tests/src/nodes/concat_fp8x23_3d_default/output_0.cairo b/tests/nodes/concat_fp8x23_3d_default/output_0.cairo similarity index 100% rename from tests/src/nodes/concat_fp8x23_3d_default/output_0.cairo rename to tests/nodes/concat_fp8x23_3d_default/output_0.cairo diff --git a/tests/src/nodes/concat_fp8x23_3d_three_tensors_axis_1.cairo b/tests/nodes/concat_fp8x23_3d_three_tensors_axis_1.cairo similarity index 100% rename from tests/src/nodes/concat_fp8x23_3d_three_tensors_axis_1.cairo rename to tests/nodes/concat_fp8x23_3d_three_tensors_axis_1.cairo diff --git a/tests/src/nodes/concat_fp8x23_3d_three_tensors_axis_1/input_0.cairo b/tests/nodes/concat_fp8x23_3d_three_tensors_axis_1/input_0.cairo similarity index 100% rename from tests/src/nodes/concat_fp8x23_3d_three_tensors_axis_1/input_0.cairo rename to tests/nodes/concat_fp8x23_3d_three_tensors_axis_1/input_0.cairo diff --git a/tests/src/nodes/concat_fp8x23_3d_three_tensors_axis_1/input_1.cairo b/tests/nodes/concat_fp8x23_3d_three_tensors_axis_1/input_1.cairo similarity index 100% rename from tests/src/nodes/concat_fp8x23_3d_three_tensors_axis_1/input_1.cairo rename to tests/nodes/concat_fp8x23_3d_three_tensors_axis_1/input_1.cairo diff --git a/tests/src/nodes/concat_fp8x23_3d_three_tensors_axis_1/input_2.cairo b/tests/nodes/concat_fp8x23_3d_three_tensors_axis_1/input_2.cairo similarity index 100% rename from tests/src/nodes/concat_fp8x23_3d_three_tensors_axis_1/input_2.cairo rename to tests/nodes/concat_fp8x23_3d_three_tensors_axis_1/input_2.cairo diff --git a/tests/src/nodes/concat_fp8x23_3d_three_tensors_axis_1/output_0.cairo b/tests/nodes/concat_fp8x23_3d_three_tensors_axis_1/output_0.cairo similarity index 100% rename from tests/src/nodes/concat_fp8x23_3d_three_tensors_axis_1/output_0.cairo rename to tests/nodes/concat_fp8x23_3d_three_tensors_axis_1/output_0.cairo diff --git a/tests/src/nodes/concat_fp8x23_3d_three_tensors_axis_2.cairo b/tests/nodes/concat_fp8x23_3d_three_tensors_axis_2.cairo similarity index 100% rename from tests/src/nodes/concat_fp8x23_3d_three_tensors_axis_2.cairo rename to tests/nodes/concat_fp8x23_3d_three_tensors_axis_2.cairo diff --git a/tests/src/nodes/concat_fp8x23_3d_three_tensors_axis_2/input_0.cairo b/tests/nodes/concat_fp8x23_3d_three_tensors_axis_2/input_0.cairo similarity index 100% rename from tests/src/nodes/concat_fp8x23_3d_three_tensors_axis_2/input_0.cairo rename to tests/nodes/concat_fp8x23_3d_three_tensors_axis_2/input_0.cairo diff --git a/tests/src/nodes/concat_fp8x23_3d_three_tensors_axis_2/input_1.cairo b/tests/nodes/concat_fp8x23_3d_three_tensors_axis_2/input_1.cairo similarity index 100% rename from tests/src/nodes/concat_fp8x23_3d_three_tensors_axis_2/input_1.cairo rename to tests/nodes/concat_fp8x23_3d_three_tensors_axis_2/input_1.cairo diff --git a/tests/src/nodes/concat_fp8x23_3d_three_tensors_axis_2/input_2.cairo b/tests/nodes/concat_fp8x23_3d_three_tensors_axis_2/input_2.cairo similarity index 100% rename from tests/src/nodes/concat_fp8x23_3d_three_tensors_axis_2/input_2.cairo rename to tests/nodes/concat_fp8x23_3d_three_tensors_axis_2/input_2.cairo diff --git a/tests/src/nodes/concat_fp8x23_3d_three_tensors_axis_2/output_0.cairo b/tests/nodes/concat_fp8x23_3d_three_tensors_axis_2/output_0.cairo similarity index 100% rename from tests/src/nodes/concat_fp8x23_3d_three_tensors_axis_2/output_0.cairo rename to tests/nodes/concat_fp8x23_3d_three_tensors_axis_2/output_0.cairo diff --git a/tests/src/nodes/concat_i32_1d.cairo b/tests/nodes/concat_i32_1d.cairo similarity index 100% rename from tests/src/nodes/concat_i32_1d.cairo rename to tests/nodes/concat_i32_1d.cairo diff --git a/tests/src/nodes/concat_i32_1d/input_0.cairo b/tests/nodes/concat_i32_1d/input_0.cairo similarity index 100% rename from tests/src/nodes/concat_i32_1d/input_0.cairo rename to tests/nodes/concat_i32_1d/input_0.cairo diff --git a/tests/src/nodes/concat_i32_1d/input_1.cairo b/tests/nodes/concat_i32_1d/input_1.cairo similarity index 100% rename from tests/src/nodes/concat_i32_1d/input_1.cairo rename to tests/nodes/concat_i32_1d/input_1.cairo diff --git a/tests/src/nodes/concat_i32_1d/output_0.cairo b/tests/nodes/concat_i32_1d/output_0.cairo similarity index 100% rename from tests/src/nodes/concat_i32_1d/output_0.cairo rename to tests/nodes/concat_i32_1d/output_0.cairo diff --git a/tests/src/nodes/concat_i32_2d.cairo b/tests/nodes/concat_i32_2d.cairo similarity index 100% rename from tests/src/nodes/concat_i32_2d.cairo rename to tests/nodes/concat_i32_2d.cairo diff --git a/tests/src/nodes/concat_i32_2d/input_0.cairo b/tests/nodes/concat_i32_2d/input_0.cairo similarity index 100% rename from tests/src/nodes/concat_i32_2d/input_0.cairo rename to tests/nodes/concat_i32_2d/input_0.cairo diff --git a/tests/src/nodes/concat_i32_2d/input_1.cairo b/tests/nodes/concat_i32_2d/input_1.cairo similarity index 100% rename from tests/src/nodes/concat_i32_2d/input_1.cairo rename to tests/nodes/concat_i32_2d/input_1.cairo diff --git a/tests/src/nodes/concat_i32_2d/output_0.cairo b/tests/nodes/concat_i32_2d/output_0.cairo similarity index 100% rename from tests/src/nodes/concat_i32_2d/output_0.cairo rename to tests/nodes/concat_i32_2d/output_0.cairo diff --git a/tests/src/nodes/concat_i32_3d_axis_1.cairo b/tests/nodes/concat_i32_3d_axis_1.cairo similarity index 100% rename from tests/src/nodes/concat_i32_3d_axis_1.cairo rename to tests/nodes/concat_i32_3d_axis_1.cairo diff --git a/tests/src/nodes/concat_i32_3d_axis_1/input_0.cairo b/tests/nodes/concat_i32_3d_axis_1/input_0.cairo similarity index 100% rename from tests/src/nodes/concat_i32_3d_axis_1/input_0.cairo rename to tests/nodes/concat_i32_3d_axis_1/input_0.cairo diff --git a/tests/src/nodes/concat_i32_3d_axis_1/input_1.cairo b/tests/nodes/concat_i32_3d_axis_1/input_1.cairo similarity index 100% rename from tests/src/nodes/concat_i32_3d_axis_1/input_1.cairo rename to tests/nodes/concat_i32_3d_axis_1/input_1.cairo diff --git a/tests/src/nodes/concat_i32_3d_axis_1/output_0.cairo b/tests/nodes/concat_i32_3d_axis_1/output_0.cairo similarity index 100% rename from tests/src/nodes/concat_i32_3d_axis_1/output_0.cairo rename to tests/nodes/concat_i32_3d_axis_1/output_0.cairo diff --git a/tests/src/nodes/concat_i32_3d_axis_2.cairo b/tests/nodes/concat_i32_3d_axis_2.cairo similarity index 100% rename from tests/src/nodes/concat_i32_3d_axis_2.cairo rename to tests/nodes/concat_i32_3d_axis_2.cairo diff --git a/tests/src/nodes/concat_i32_3d_axis_2/input_0.cairo b/tests/nodes/concat_i32_3d_axis_2/input_0.cairo similarity index 100% rename from tests/src/nodes/concat_i32_3d_axis_2/input_0.cairo rename to tests/nodes/concat_i32_3d_axis_2/input_0.cairo diff --git a/tests/src/nodes/concat_i32_3d_axis_2/input_1.cairo b/tests/nodes/concat_i32_3d_axis_2/input_1.cairo similarity index 100% rename from tests/src/nodes/concat_i32_3d_axis_2/input_1.cairo rename to tests/nodes/concat_i32_3d_axis_2/input_1.cairo diff --git a/tests/src/nodes/concat_i32_3d_axis_2/output_0.cairo b/tests/nodes/concat_i32_3d_axis_2/output_0.cairo similarity index 100% rename from tests/src/nodes/concat_i32_3d_axis_2/output_0.cairo rename to tests/nodes/concat_i32_3d_axis_2/output_0.cairo diff --git a/tests/src/nodes/concat_i32_3d_default.cairo b/tests/nodes/concat_i32_3d_default.cairo similarity index 100% rename from tests/src/nodes/concat_i32_3d_default.cairo rename to tests/nodes/concat_i32_3d_default.cairo diff --git a/tests/src/nodes/concat_i32_3d_default/input_0.cairo b/tests/nodes/concat_i32_3d_default/input_0.cairo similarity index 100% rename from tests/src/nodes/concat_i32_3d_default/input_0.cairo rename to tests/nodes/concat_i32_3d_default/input_0.cairo diff --git a/tests/src/nodes/concat_i32_3d_default/input_1.cairo b/tests/nodes/concat_i32_3d_default/input_1.cairo similarity index 100% rename from tests/src/nodes/concat_i32_3d_default/input_1.cairo rename to tests/nodes/concat_i32_3d_default/input_1.cairo diff --git a/tests/src/nodes/concat_i32_3d_default/output_0.cairo b/tests/nodes/concat_i32_3d_default/output_0.cairo similarity index 100% rename from tests/src/nodes/concat_i32_3d_default/output_0.cairo rename to tests/nodes/concat_i32_3d_default/output_0.cairo diff --git a/tests/src/nodes/concat_i32_3d_three_tensors_axis_1.cairo b/tests/nodes/concat_i32_3d_three_tensors_axis_1.cairo similarity index 100% rename from tests/src/nodes/concat_i32_3d_three_tensors_axis_1.cairo rename to tests/nodes/concat_i32_3d_three_tensors_axis_1.cairo diff --git a/tests/src/nodes/concat_i32_3d_three_tensors_axis_1/input_0.cairo b/tests/nodes/concat_i32_3d_three_tensors_axis_1/input_0.cairo similarity index 100% rename from tests/src/nodes/concat_i32_3d_three_tensors_axis_1/input_0.cairo rename to tests/nodes/concat_i32_3d_three_tensors_axis_1/input_0.cairo diff --git a/tests/src/nodes/concat_i32_3d_three_tensors_axis_1/input_1.cairo b/tests/nodes/concat_i32_3d_three_tensors_axis_1/input_1.cairo similarity index 100% rename from tests/src/nodes/concat_i32_3d_three_tensors_axis_1/input_1.cairo rename to tests/nodes/concat_i32_3d_three_tensors_axis_1/input_1.cairo diff --git a/tests/src/nodes/concat_i32_3d_three_tensors_axis_1/input_2.cairo b/tests/nodes/concat_i32_3d_three_tensors_axis_1/input_2.cairo similarity index 100% rename from tests/src/nodes/concat_i32_3d_three_tensors_axis_1/input_2.cairo rename to tests/nodes/concat_i32_3d_three_tensors_axis_1/input_2.cairo diff --git a/tests/src/nodes/concat_i32_3d_three_tensors_axis_1/output_0.cairo b/tests/nodes/concat_i32_3d_three_tensors_axis_1/output_0.cairo similarity index 100% rename from tests/src/nodes/concat_i32_3d_three_tensors_axis_1/output_0.cairo rename to tests/nodes/concat_i32_3d_three_tensors_axis_1/output_0.cairo diff --git a/tests/src/nodes/concat_i32_3d_three_tensors_axis_2.cairo b/tests/nodes/concat_i32_3d_three_tensors_axis_2.cairo similarity index 100% rename from tests/src/nodes/concat_i32_3d_three_tensors_axis_2.cairo rename to tests/nodes/concat_i32_3d_three_tensors_axis_2.cairo diff --git a/tests/src/nodes/concat_i32_3d_three_tensors_axis_2/input_0.cairo b/tests/nodes/concat_i32_3d_three_tensors_axis_2/input_0.cairo similarity index 100% rename from tests/src/nodes/concat_i32_3d_three_tensors_axis_2/input_0.cairo rename to tests/nodes/concat_i32_3d_three_tensors_axis_2/input_0.cairo diff --git a/tests/src/nodes/concat_i32_3d_three_tensors_axis_2/input_1.cairo b/tests/nodes/concat_i32_3d_three_tensors_axis_2/input_1.cairo similarity index 100% rename from tests/src/nodes/concat_i32_3d_three_tensors_axis_2/input_1.cairo rename to tests/nodes/concat_i32_3d_three_tensors_axis_2/input_1.cairo diff --git a/tests/src/nodes/concat_i32_3d_three_tensors_axis_2/input_2.cairo b/tests/nodes/concat_i32_3d_three_tensors_axis_2/input_2.cairo similarity index 100% rename from tests/src/nodes/concat_i32_3d_three_tensors_axis_2/input_2.cairo rename to tests/nodes/concat_i32_3d_three_tensors_axis_2/input_2.cairo diff --git a/tests/src/nodes/concat_i32_3d_three_tensors_axis_2/output_0.cairo b/tests/nodes/concat_i32_3d_three_tensors_axis_2/output_0.cairo similarity index 100% rename from tests/src/nodes/concat_i32_3d_three_tensors_axis_2/output_0.cairo rename to tests/nodes/concat_i32_3d_three_tensors_axis_2/output_0.cairo diff --git a/tests/src/nodes/concat_i8_1d.cairo b/tests/nodes/concat_i8_1d.cairo similarity index 100% rename from tests/src/nodes/concat_i8_1d.cairo rename to tests/nodes/concat_i8_1d.cairo diff --git a/tests/src/nodes/concat_i8_1d/input_0.cairo b/tests/nodes/concat_i8_1d/input_0.cairo similarity index 100% rename from tests/src/nodes/concat_i8_1d/input_0.cairo rename to tests/nodes/concat_i8_1d/input_0.cairo diff --git a/tests/src/nodes/concat_i8_1d/input_1.cairo b/tests/nodes/concat_i8_1d/input_1.cairo similarity index 100% rename from tests/src/nodes/concat_i8_1d/input_1.cairo rename to tests/nodes/concat_i8_1d/input_1.cairo diff --git a/tests/src/nodes/concat_i8_1d/output_0.cairo b/tests/nodes/concat_i8_1d/output_0.cairo similarity index 100% rename from tests/src/nodes/concat_i8_1d/output_0.cairo rename to tests/nodes/concat_i8_1d/output_0.cairo diff --git a/tests/src/nodes/concat_i8_2d.cairo b/tests/nodes/concat_i8_2d.cairo similarity index 100% rename from tests/src/nodes/concat_i8_2d.cairo rename to tests/nodes/concat_i8_2d.cairo diff --git a/tests/src/nodes/concat_i8_2d/input_0.cairo b/tests/nodes/concat_i8_2d/input_0.cairo similarity index 100% rename from tests/src/nodes/concat_i8_2d/input_0.cairo rename to tests/nodes/concat_i8_2d/input_0.cairo diff --git a/tests/src/nodes/concat_i8_2d/input_1.cairo b/tests/nodes/concat_i8_2d/input_1.cairo similarity index 100% rename from tests/src/nodes/concat_i8_2d/input_1.cairo rename to tests/nodes/concat_i8_2d/input_1.cairo diff --git a/tests/src/nodes/concat_i8_2d/output_0.cairo b/tests/nodes/concat_i8_2d/output_0.cairo similarity index 100% rename from tests/src/nodes/concat_i8_2d/output_0.cairo rename to tests/nodes/concat_i8_2d/output_0.cairo diff --git a/tests/src/nodes/concat_i8_3d_axis_1.cairo b/tests/nodes/concat_i8_3d_axis_1.cairo similarity index 100% rename from tests/src/nodes/concat_i8_3d_axis_1.cairo rename to tests/nodes/concat_i8_3d_axis_1.cairo diff --git a/tests/src/nodes/concat_i8_3d_axis_1/input_0.cairo b/tests/nodes/concat_i8_3d_axis_1/input_0.cairo similarity index 100% rename from tests/src/nodes/concat_i8_3d_axis_1/input_0.cairo rename to tests/nodes/concat_i8_3d_axis_1/input_0.cairo diff --git a/tests/src/nodes/concat_i8_3d_axis_1/input_1.cairo b/tests/nodes/concat_i8_3d_axis_1/input_1.cairo similarity index 100% rename from tests/src/nodes/concat_i8_3d_axis_1/input_1.cairo rename to tests/nodes/concat_i8_3d_axis_1/input_1.cairo diff --git a/tests/src/nodes/concat_i8_3d_axis_1/output_0.cairo b/tests/nodes/concat_i8_3d_axis_1/output_0.cairo similarity index 100% rename from tests/src/nodes/concat_i8_3d_axis_1/output_0.cairo rename to tests/nodes/concat_i8_3d_axis_1/output_0.cairo diff --git a/tests/src/nodes/concat_i8_3d_axis_2.cairo b/tests/nodes/concat_i8_3d_axis_2.cairo similarity index 100% rename from tests/src/nodes/concat_i8_3d_axis_2.cairo rename to tests/nodes/concat_i8_3d_axis_2.cairo diff --git a/tests/src/nodes/concat_i8_3d_axis_2/input_0.cairo b/tests/nodes/concat_i8_3d_axis_2/input_0.cairo similarity index 100% rename from tests/src/nodes/concat_i8_3d_axis_2/input_0.cairo rename to tests/nodes/concat_i8_3d_axis_2/input_0.cairo diff --git a/tests/src/nodes/concat_i8_3d_axis_2/input_1.cairo b/tests/nodes/concat_i8_3d_axis_2/input_1.cairo similarity index 100% rename from tests/src/nodes/concat_i8_3d_axis_2/input_1.cairo rename to tests/nodes/concat_i8_3d_axis_2/input_1.cairo diff --git a/tests/src/nodes/concat_i8_3d_axis_2/output_0.cairo b/tests/nodes/concat_i8_3d_axis_2/output_0.cairo similarity index 100% rename from tests/src/nodes/concat_i8_3d_axis_2/output_0.cairo rename to tests/nodes/concat_i8_3d_axis_2/output_0.cairo diff --git a/tests/src/nodes/concat_i8_3d_default.cairo b/tests/nodes/concat_i8_3d_default.cairo similarity index 100% rename from tests/src/nodes/concat_i8_3d_default.cairo rename to tests/nodes/concat_i8_3d_default.cairo diff --git a/tests/src/nodes/concat_i8_3d_default/input_0.cairo b/tests/nodes/concat_i8_3d_default/input_0.cairo similarity index 100% rename from tests/src/nodes/concat_i8_3d_default/input_0.cairo rename to tests/nodes/concat_i8_3d_default/input_0.cairo diff --git a/tests/src/nodes/concat_i8_3d_default/input_1.cairo b/tests/nodes/concat_i8_3d_default/input_1.cairo similarity index 100% rename from tests/src/nodes/concat_i8_3d_default/input_1.cairo rename to tests/nodes/concat_i8_3d_default/input_1.cairo diff --git a/tests/src/nodes/concat_i8_3d_default/output_0.cairo b/tests/nodes/concat_i8_3d_default/output_0.cairo similarity index 100% rename from tests/src/nodes/concat_i8_3d_default/output_0.cairo rename to tests/nodes/concat_i8_3d_default/output_0.cairo diff --git a/tests/src/nodes/concat_i8_3d_three_tensors_axis_1.cairo b/tests/nodes/concat_i8_3d_three_tensors_axis_1.cairo similarity index 100% rename from tests/src/nodes/concat_i8_3d_three_tensors_axis_1.cairo rename to tests/nodes/concat_i8_3d_three_tensors_axis_1.cairo diff --git a/tests/src/nodes/concat_i8_3d_three_tensors_axis_1/input_0.cairo b/tests/nodes/concat_i8_3d_three_tensors_axis_1/input_0.cairo similarity index 100% rename from tests/src/nodes/concat_i8_3d_three_tensors_axis_1/input_0.cairo rename to tests/nodes/concat_i8_3d_three_tensors_axis_1/input_0.cairo diff --git a/tests/src/nodes/concat_i8_3d_three_tensors_axis_1/input_1.cairo b/tests/nodes/concat_i8_3d_three_tensors_axis_1/input_1.cairo similarity index 100% rename from tests/src/nodes/concat_i8_3d_three_tensors_axis_1/input_1.cairo rename to tests/nodes/concat_i8_3d_three_tensors_axis_1/input_1.cairo diff --git a/tests/src/nodes/concat_i8_3d_three_tensors_axis_1/input_2.cairo b/tests/nodes/concat_i8_3d_three_tensors_axis_1/input_2.cairo similarity index 100% rename from tests/src/nodes/concat_i8_3d_three_tensors_axis_1/input_2.cairo rename to tests/nodes/concat_i8_3d_three_tensors_axis_1/input_2.cairo diff --git a/tests/src/nodes/concat_i8_3d_three_tensors_axis_1/output_0.cairo b/tests/nodes/concat_i8_3d_three_tensors_axis_1/output_0.cairo similarity index 100% rename from tests/src/nodes/concat_i8_3d_three_tensors_axis_1/output_0.cairo rename to tests/nodes/concat_i8_3d_three_tensors_axis_1/output_0.cairo diff --git a/tests/src/nodes/concat_i8_3d_three_tensors_axis_2.cairo b/tests/nodes/concat_i8_3d_three_tensors_axis_2.cairo similarity index 100% rename from tests/src/nodes/concat_i8_3d_three_tensors_axis_2.cairo rename to tests/nodes/concat_i8_3d_three_tensors_axis_2.cairo diff --git a/tests/src/nodes/concat_i8_3d_three_tensors_axis_2/input_0.cairo b/tests/nodes/concat_i8_3d_three_tensors_axis_2/input_0.cairo similarity index 100% rename from tests/src/nodes/concat_i8_3d_three_tensors_axis_2/input_0.cairo rename to tests/nodes/concat_i8_3d_three_tensors_axis_2/input_0.cairo diff --git a/tests/src/nodes/concat_i8_3d_three_tensors_axis_2/input_1.cairo b/tests/nodes/concat_i8_3d_three_tensors_axis_2/input_1.cairo similarity index 100% rename from tests/src/nodes/concat_i8_3d_three_tensors_axis_2/input_1.cairo rename to tests/nodes/concat_i8_3d_three_tensors_axis_2/input_1.cairo diff --git a/tests/src/nodes/concat_i8_3d_three_tensors_axis_2/input_2.cairo b/tests/nodes/concat_i8_3d_three_tensors_axis_2/input_2.cairo similarity index 100% rename from tests/src/nodes/concat_i8_3d_three_tensors_axis_2/input_2.cairo rename to tests/nodes/concat_i8_3d_three_tensors_axis_2/input_2.cairo diff --git a/tests/src/nodes/concat_i8_3d_three_tensors_axis_2/output_0.cairo b/tests/nodes/concat_i8_3d_three_tensors_axis_2/output_0.cairo similarity index 100% rename from tests/src/nodes/concat_i8_3d_three_tensors_axis_2/output_0.cairo rename to tests/nodes/concat_i8_3d_three_tensors_axis_2/output_0.cairo diff --git a/tests/src/nodes/concat_u32_1d.cairo b/tests/nodes/concat_u32_1d.cairo similarity index 100% rename from tests/src/nodes/concat_u32_1d.cairo rename to tests/nodes/concat_u32_1d.cairo diff --git a/tests/src/nodes/concat_u32_1d/input_0.cairo b/tests/nodes/concat_u32_1d/input_0.cairo similarity index 100% rename from tests/src/nodes/concat_u32_1d/input_0.cairo rename to tests/nodes/concat_u32_1d/input_0.cairo diff --git a/tests/src/nodes/concat_u32_1d/input_1.cairo b/tests/nodes/concat_u32_1d/input_1.cairo similarity index 100% rename from tests/src/nodes/concat_u32_1d/input_1.cairo rename to tests/nodes/concat_u32_1d/input_1.cairo diff --git a/tests/src/nodes/concat_u32_1d/output_0.cairo b/tests/nodes/concat_u32_1d/output_0.cairo similarity index 100% rename from tests/src/nodes/concat_u32_1d/output_0.cairo rename to tests/nodes/concat_u32_1d/output_0.cairo diff --git a/tests/src/nodes/concat_u32_2d.cairo b/tests/nodes/concat_u32_2d.cairo similarity index 100% rename from tests/src/nodes/concat_u32_2d.cairo rename to tests/nodes/concat_u32_2d.cairo diff --git a/tests/src/nodes/concat_u32_2d/input_0.cairo b/tests/nodes/concat_u32_2d/input_0.cairo similarity index 100% rename from tests/src/nodes/concat_u32_2d/input_0.cairo rename to tests/nodes/concat_u32_2d/input_0.cairo diff --git a/tests/src/nodes/concat_u32_2d/input_1.cairo b/tests/nodes/concat_u32_2d/input_1.cairo similarity index 100% rename from tests/src/nodes/concat_u32_2d/input_1.cairo rename to tests/nodes/concat_u32_2d/input_1.cairo diff --git a/tests/src/nodes/concat_u32_2d/output_0.cairo b/tests/nodes/concat_u32_2d/output_0.cairo similarity index 100% rename from tests/src/nodes/concat_u32_2d/output_0.cairo rename to tests/nodes/concat_u32_2d/output_0.cairo diff --git a/tests/src/nodes/concat_u32_3d_axis_1.cairo b/tests/nodes/concat_u32_3d_axis_1.cairo similarity index 100% rename from tests/src/nodes/concat_u32_3d_axis_1.cairo rename to tests/nodes/concat_u32_3d_axis_1.cairo diff --git a/tests/src/nodes/concat_u32_3d_axis_1/input_0.cairo b/tests/nodes/concat_u32_3d_axis_1/input_0.cairo similarity index 100% rename from tests/src/nodes/concat_u32_3d_axis_1/input_0.cairo rename to tests/nodes/concat_u32_3d_axis_1/input_0.cairo diff --git a/tests/src/nodes/concat_u32_3d_axis_1/input_1.cairo b/tests/nodes/concat_u32_3d_axis_1/input_1.cairo similarity index 100% rename from tests/src/nodes/concat_u32_3d_axis_1/input_1.cairo rename to tests/nodes/concat_u32_3d_axis_1/input_1.cairo diff --git a/tests/src/nodes/concat_u32_3d_axis_1/output_0.cairo b/tests/nodes/concat_u32_3d_axis_1/output_0.cairo similarity index 100% rename from tests/src/nodes/concat_u32_3d_axis_1/output_0.cairo rename to tests/nodes/concat_u32_3d_axis_1/output_0.cairo diff --git a/tests/src/nodes/concat_u32_3d_axis_2.cairo b/tests/nodes/concat_u32_3d_axis_2.cairo similarity index 100% rename from tests/src/nodes/concat_u32_3d_axis_2.cairo rename to tests/nodes/concat_u32_3d_axis_2.cairo diff --git a/tests/src/nodes/concat_u32_3d_axis_2/input_0.cairo b/tests/nodes/concat_u32_3d_axis_2/input_0.cairo similarity index 100% rename from tests/src/nodes/concat_u32_3d_axis_2/input_0.cairo rename to tests/nodes/concat_u32_3d_axis_2/input_0.cairo diff --git a/tests/src/nodes/concat_u32_3d_axis_2/input_1.cairo b/tests/nodes/concat_u32_3d_axis_2/input_1.cairo similarity index 100% rename from tests/src/nodes/concat_u32_3d_axis_2/input_1.cairo rename to tests/nodes/concat_u32_3d_axis_2/input_1.cairo diff --git a/tests/src/nodes/concat_u32_3d_axis_2/output_0.cairo b/tests/nodes/concat_u32_3d_axis_2/output_0.cairo similarity index 100% rename from tests/src/nodes/concat_u32_3d_axis_2/output_0.cairo rename to tests/nodes/concat_u32_3d_axis_2/output_0.cairo diff --git a/tests/src/nodes/concat_u32_3d_default.cairo b/tests/nodes/concat_u32_3d_default.cairo similarity index 100% rename from tests/src/nodes/concat_u32_3d_default.cairo rename to tests/nodes/concat_u32_3d_default.cairo diff --git a/tests/src/nodes/concat_u32_3d_default/input_0.cairo b/tests/nodes/concat_u32_3d_default/input_0.cairo similarity index 100% rename from tests/src/nodes/concat_u32_3d_default/input_0.cairo rename to tests/nodes/concat_u32_3d_default/input_0.cairo diff --git a/tests/src/nodes/concat_u32_3d_default/input_1.cairo b/tests/nodes/concat_u32_3d_default/input_1.cairo similarity index 100% rename from tests/src/nodes/concat_u32_3d_default/input_1.cairo rename to tests/nodes/concat_u32_3d_default/input_1.cairo diff --git a/tests/src/nodes/concat_u32_3d_default/output_0.cairo b/tests/nodes/concat_u32_3d_default/output_0.cairo similarity index 100% rename from tests/src/nodes/concat_u32_3d_default/output_0.cairo rename to tests/nodes/concat_u32_3d_default/output_0.cairo diff --git a/tests/src/nodes/concat_u32_3d_three_tensors_axis_1.cairo b/tests/nodes/concat_u32_3d_three_tensors_axis_1.cairo similarity index 100% rename from tests/src/nodes/concat_u32_3d_three_tensors_axis_1.cairo rename to tests/nodes/concat_u32_3d_three_tensors_axis_1.cairo diff --git a/tests/src/nodes/concat_u32_3d_three_tensors_axis_1/input_0.cairo b/tests/nodes/concat_u32_3d_three_tensors_axis_1/input_0.cairo similarity index 100% rename from tests/src/nodes/concat_u32_3d_three_tensors_axis_1/input_0.cairo rename to tests/nodes/concat_u32_3d_three_tensors_axis_1/input_0.cairo diff --git a/tests/src/nodes/concat_u32_3d_three_tensors_axis_1/input_1.cairo b/tests/nodes/concat_u32_3d_three_tensors_axis_1/input_1.cairo similarity index 100% rename from tests/src/nodes/concat_u32_3d_three_tensors_axis_1/input_1.cairo rename to tests/nodes/concat_u32_3d_three_tensors_axis_1/input_1.cairo diff --git a/tests/src/nodes/concat_u32_3d_three_tensors_axis_1/input_2.cairo b/tests/nodes/concat_u32_3d_three_tensors_axis_1/input_2.cairo similarity index 100% rename from tests/src/nodes/concat_u32_3d_three_tensors_axis_1/input_2.cairo rename to tests/nodes/concat_u32_3d_three_tensors_axis_1/input_2.cairo diff --git a/tests/src/nodes/concat_u32_3d_three_tensors_axis_1/output_0.cairo b/tests/nodes/concat_u32_3d_three_tensors_axis_1/output_0.cairo similarity index 100% rename from tests/src/nodes/concat_u32_3d_three_tensors_axis_1/output_0.cairo rename to tests/nodes/concat_u32_3d_three_tensors_axis_1/output_0.cairo diff --git a/tests/src/nodes/concat_u32_3d_three_tensors_axis_2.cairo b/tests/nodes/concat_u32_3d_three_tensors_axis_2.cairo similarity index 100% rename from tests/src/nodes/concat_u32_3d_three_tensors_axis_2.cairo rename to tests/nodes/concat_u32_3d_three_tensors_axis_2.cairo diff --git a/tests/src/nodes/concat_u32_3d_three_tensors_axis_2/input_0.cairo b/tests/nodes/concat_u32_3d_three_tensors_axis_2/input_0.cairo similarity index 100% rename from tests/src/nodes/concat_u32_3d_three_tensors_axis_2/input_0.cairo rename to tests/nodes/concat_u32_3d_three_tensors_axis_2/input_0.cairo diff --git a/tests/src/nodes/concat_u32_3d_three_tensors_axis_2/input_1.cairo b/tests/nodes/concat_u32_3d_three_tensors_axis_2/input_1.cairo similarity index 100% rename from tests/src/nodes/concat_u32_3d_three_tensors_axis_2/input_1.cairo rename to tests/nodes/concat_u32_3d_three_tensors_axis_2/input_1.cairo diff --git a/tests/src/nodes/concat_u32_3d_three_tensors_axis_2/input_2.cairo b/tests/nodes/concat_u32_3d_three_tensors_axis_2/input_2.cairo similarity index 100% rename from tests/src/nodes/concat_u32_3d_three_tensors_axis_2/input_2.cairo rename to tests/nodes/concat_u32_3d_three_tensors_axis_2/input_2.cairo diff --git a/tests/src/nodes/concat_u32_3d_three_tensors_axis_2/output_0.cairo b/tests/nodes/concat_u32_3d_three_tensors_axis_2/output_0.cairo similarity index 100% rename from tests/src/nodes/concat_u32_3d_three_tensors_axis_2/output_0.cairo rename to tests/nodes/concat_u32_3d_three_tensors_axis_2/output_0.cairo diff --git a/tests/src/nodes/cos_fp16x16.cairo b/tests/nodes/cos_fp16x16.cairo similarity index 100% rename from tests/src/nodes/cos_fp16x16.cairo rename to tests/nodes/cos_fp16x16.cairo diff --git a/tests/src/nodes/cos_fp16x16/input_0.cairo b/tests/nodes/cos_fp16x16/input_0.cairo similarity index 100% rename from tests/src/nodes/cos_fp16x16/input_0.cairo rename to tests/nodes/cos_fp16x16/input_0.cairo diff --git a/tests/src/nodes/cos_fp16x16/output_0.cairo b/tests/nodes/cos_fp16x16/output_0.cairo similarity index 100% rename from tests/src/nodes/cos_fp16x16/output_0.cairo rename to tests/nodes/cos_fp16x16/output_0.cairo diff --git a/tests/src/nodes/cos_fp8x23.cairo b/tests/nodes/cos_fp8x23.cairo similarity index 100% rename from tests/src/nodes/cos_fp8x23.cairo rename to tests/nodes/cos_fp8x23.cairo diff --git a/tests/src/nodes/cos_fp8x23/input_0.cairo b/tests/nodes/cos_fp8x23/input_0.cairo similarity index 100% rename from tests/src/nodes/cos_fp8x23/input_0.cairo rename to tests/nodes/cos_fp8x23/input_0.cairo diff --git a/tests/src/nodes/cos_fp8x23/output_0.cairo b/tests/nodes/cos_fp8x23/output_0.cairo similarity index 100% rename from tests/src/nodes/cos_fp8x23/output_0.cairo rename to tests/nodes/cos_fp8x23/output_0.cairo diff --git a/tests/src/nodes/cosh_fp16x16.cairo b/tests/nodes/cosh_fp16x16.cairo similarity index 100% rename from tests/src/nodes/cosh_fp16x16.cairo rename to tests/nodes/cosh_fp16x16.cairo diff --git a/tests/src/nodes/cosh_fp16x16/input_0.cairo b/tests/nodes/cosh_fp16x16/input_0.cairo similarity index 100% rename from tests/src/nodes/cosh_fp16x16/input_0.cairo rename to tests/nodes/cosh_fp16x16/input_0.cairo diff --git a/tests/src/nodes/cosh_fp16x16/output_0.cairo b/tests/nodes/cosh_fp16x16/output_0.cairo similarity index 100% rename from tests/src/nodes/cosh_fp16x16/output_0.cairo rename to tests/nodes/cosh_fp16x16/output_0.cairo diff --git a/tests/src/nodes/cosh_fp8x23.cairo b/tests/nodes/cosh_fp8x23.cairo similarity index 100% rename from tests/src/nodes/cosh_fp8x23.cairo rename to tests/nodes/cosh_fp8x23.cairo diff --git a/tests/src/nodes/cosh_fp8x23/input_0.cairo b/tests/nodes/cosh_fp8x23/input_0.cairo similarity index 100% rename from tests/src/nodes/cosh_fp8x23/input_0.cairo rename to tests/nodes/cosh_fp8x23/input_0.cairo diff --git a/tests/src/nodes/cosh_fp8x23/output_0.cairo b/tests/nodes/cosh_fp8x23/output_0.cairo similarity index 100% rename from tests/src/nodes/cosh_fp8x23/output_0.cairo rename to tests/nodes/cosh_fp8x23/output_0.cairo diff --git a/tests/src/nodes/cumsum_fp16x16_1d_default.cairo b/tests/nodes/cumsum_fp16x16_1d_default.cairo similarity index 100% rename from tests/src/nodes/cumsum_fp16x16_1d_default.cairo rename to tests/nodes/cumsum_fp16x16_1d_default.cairo diff --git a/tests/src/nodes/cumsum_fp16x16_1d_default/input_0.cairo b/tests/nodes/cumsum_fp16x16_1d_default/input_0.cairo similarity index 100% rename from tests/src/nodes/cumsum_fp16x16_1d_default/input_0.cairo rename to tests/nodes/cumsum_fp16x16_1d_default/input_0.cairo diff --git a/tests/src/nodes/cumsum_fp16x16_1d_default/output_0.cairo b/tests/nodes/cumsum_fp16x16_1d_default/output_0.cairo similarity index 100% rename from tests/src/nodes/cumsum_fp16x16_1d_default/output_0.cairo rename to tests/nodes/cumsum_fp16x16_1d_default/output_0.cairo diff --git a/tests/src/nodes/cumsum_fp16x16_1d_exclusive.cairo b/tests/nodes/cumsum_fp16x16_1d_exclusive.cairo similarity index 100% rename from tests/src/nodes/cumsum_fp16x16_1d_exclusive.cairo rename to tests/nodes/cumsum_fp16x16_1d_exclusive.cairo diff --git a/tests/src/nodes/cumsum_fp16x16_1d_exclusive/input_0.cairo b/tests/nodes/cumsum_fp16x16_1d_exclusive/input_0.cairo similarity index 100% rename from tests/src/nodes/cumsum_fp16x16_1d_exclusive/input_0.cairo rename to tests/nodes/cumsum_fp16x16_1d_exclusive/input_0.cairo diff --git a/tests/src/nodes/cumsum_fp16x16_1d_exclusive/output_0.cairo b/tests/nodes/cumsum_fp16x16_1d_exclusive/output_0.cairo similarity index 100% rename from tests/src/nodes/cumsum_fp16x16_1d_exclusive/output_0.cairo rename to tests/nodes/cumsum_fp16x16_1d_exclusive/output_0.cairo diff --git a/tests/src/nodes/cumsum_fp16x16_1d_reverse.cairo b/tests/nodes/cumsum_fp16x16_1d_reverse.cairo similarity index 100% rename from tests/src/nodes/cumsum_fp16x16_1d_reverse.cairo rename to tests/nodes/cumsum_fp16x16_1d_reverse.cairo diff --git a/tests/src/nodes/cumsum_fp16x16_1d_reverse/input_0.cairo b/tests/nodes/cumsum_fp16x16_1d_reverse/input_0.cairo similarity index 100% rename from tests/src/nodes/cumsum_fp16x16_1d_reverse/input_0.cairo rename to tests/nodes/cumsum_fp16x16_1d_reverse/input_0.cairo diff --git a/tests/src/nodes/cumsum_fp16x16_1d_reverse/output_0.cairo b/tests/nodes/cumsum_fp16x16_1d_reverse/output_0.cairo similarity index 100% rename from tests/src/nodes/cumsum_fp16x16_1d_reverse/output_0.cairo rename to tests/nodes/cumsum_fp16x16_1d_reverse/output_0.cairo diff --git a/tests/src/nodes/cumsum_fp16x16_1d_reverse_exclusive.cairo b/tests/nodes/cumsum_fp16x16_1d_reverse_exclusive.cairo similarity index 100% rename from tests/src/nodes/cumsum_fp16x16_1d_reverse_exclusive.cairo rename to tests/nodes/cumsum_fp16x16_1d_reverse_exclusive.cairo diff --git a/tests/src/nodes/cumsum_fp16x16_1d_reverse_exclusive/input_0.cairo b/tests/nodes/cumsum_fp16x16_1d_reverse_exclusive/input_0.cairo similarity index 100% rename from tests/src/nodes/cumsum_fp16x16_1d_reverse_exclusive/input_0.cairo rename to tests/nodes/cumsum_fp16x16_1d_reverse_exclusive/input_0.cairo diff --git a/tests/src/nodes/cumsum_fp16x16_1d_reverse_exclusive/output_0.cairo b/tests/nodes/cumsum_fp16x16_1d_reverse_exclusive/output_0.cairo similarity index 100% rename from tests/src/nodes/cumsum_fp16x16_1d_reverse_exclusive/output_0.cairo rename to tests/nodes/cumsum_fp16x16_1d_reverse_exclusive/output_0.cairo diff --git a/tests/src/nodes/cumsum_fp16x16_2d_axis_0.cairo b/tests/nodes/cumsum_fp16x16_2d_axis_0.cairo similarity index 100% rename from tests/src/nodes/cumsum_fp16x16_2d_axis_0.cairo rename to tests/nodes/cumsum_fp16x16_2d_axis_0.cairo diff --git a/tests/src/nodes/cumsum_fp16x16_2d_axis_0/input_0.cairo b/tests/nodes/cumsum_fp16x16_2d_axis_0/input_0.cairo similarity index 100% rename from tests/src/nodes/cumsum_fp16x16_2d_axis_0/input_0.cairo rename to tests/nodes/cumsum_fp16x16_2d_axis_0/input_0.cairo diff --git a/tests/src/nodes/cumsum_fp16x16_2d_axis_0/output_0.cairo b/tests/nodes/cumsum_fp16x16_2d_axis_0/output_0.cairo similarity index 100% rename from tests/src/nodes/cumsum_fp16x16_2d_axis_0/output_0.cairo rename to tests/nodes/cumsum_fp16x16_2d_axis_0/output_0.cairo diff --git a/tests/src/nodes/cumsum_fp16x16_2d_axis_1.cairo b/tests/nodes/cumsum_fp16x16_2d_axis_1.cairo similarity index 100% rename from tests/src/nodes/cumsum_fp16x16_2d_axis_1.cairo rename to tests/nodes/cumsum_fp16x16_2d_axis_1.cairo diff --git a/tests/src/nodes/cumsum_fp16x16_2d_axis_1/input_0.cairo b/tests/nodes/cumsum_fp16x16_2d_axis_1/input_0.cairo similarity index 100% rename from tests/src/nodes/cumsum_fp16x16_2d_axis_1/input_0.cairo rename to tests/nodes/cumsum_fp16x16_2d_axis_1/input_0.cairo diff --git a/tests/src/nodes/cumsum_fp16x16_2d_axis_1/output_0.cairo b/tests/nodes/cumsum_fp16x16_2d_axis_1/output_0.cairo similarity index 100% rename from tests/src/nodes/cumsum_fp16x16_2d_axis_1/output_0.cairo rename to tests/nodes/cumsum_fp16x16_2d_axis_1/output_0.cairo diff --git a/tests/src/nodes/cumsum_fp8x23_1d_default.cairo b/tests/nodes/cumsum_fp8x23_1d_default.cairo similarity index 100% rename from tests/src/nodes/cumsum_fp8x23_1d_default.cairo rename to tests/nodes/cumsum_fp8x23_1d_default.cairo diff --git a/tests/src/nodes/cumsum_fp8x23_1d_default/input_0.cairo b/tests/nodes/cumsum_fp8x23_1d_default/input_0.cairo similarity index 100% rename from tests/src/nodes/cumsum_fp8x23_1d_default/input_0.cairo rename to tests/nodes/cumsum_fp8x23_1d_default/input_0.cairo diff --git a/tests/src/nodes/cumsum_fp8x23_1d_default/output_0.cairo b/tests/nodes/cumsum_fp8x23_1d_default/output_0.cairo similarity index 100% rename from tests/src/nodes/cumsum_fp8x23_1d_default/output_0.cairo rename to tests/nodes/cumsum_fp8x23_1d_default/output_0.cairo diff --git a/tests/src/nodes/cumsum_fp8x23_1d_exclusive.cairo b/tests/nodes/cumsum_fp8x23_1d_exclusive.cairo similarity index 100% rename from tests/src/nodes/cumsum_fp8x23_1d_exclusive.cairo rename to tests/nodes/cumsum_fp8x23_1d_exclusive.cairo diff --git a/tests/src/nodes/cumsum_fp8x23_1d_exclusive/input_0.cairo b/tests/nodes/cumsum_fp8x23_1d_exclusive/input_0.cairo similarity index 100% rename from tests/src/nodes/cumsum_fp8x23_1d_exclusive/input_0.cairo rename to tests/nodes/cumsum_fp8x23_1d_exclusive/input_0.cairo diff --git a/tests/src/nodes/cumsum_fp8x23_1d_exclusive/output_0.cairo b/tests/nodes/cumsum_fp8x23_1d_exclusive/output_0.cairo similarity index 100% rename from tests/src/nodes/cumsum_fp8x23_1d_exclusive/output_0.cairo rename to tests/nodes/cumsum_fp8x23_1d_exclusive/output_0.cairo diff --git a/tests/src/nodes/cumsum_fp8x23_1d_reverse.cairo b/tests/nodes/cumsum_fp8x23_1d_reverse.cairo similarity index 100% rename from tests/src/nodes/cumsum_fp8x23_1d_reverse.cairo rename to tests/nodes/cumsum_fp8x23_1d_reverse.cairo diff --git a/tests/src/nodes/cumsum_fp8x23_1d_reverse/input_0.cairo b/tests/nodes/cumsum_fp8x23_1d_reverse/input_0.cairo similarity index 100% rename from tests/src/nodes/cumsum_fp8x23_1d_reverse/input_0.cairo rename to tests/nodes/cumsum_fp8x23_1d_reverse/input_0.cairo diff --git a/tests/src/nodes/cumsum_fp8x23_1d_reverse/output_0.cairo b/tests/nodes/cumsum_fp8x23_1d_reverse/output_0.cairo similarity index 100% rename from tests/src/nodes/cumsum_fp8x23_1d_reverse/output_0.cairo rename to tests/nodes/cumsum_fp8x23_1d_reverse/output_0.cairo diff --git a/tests/src/nodes/cumsum_fp8x23_1d_reverse_exclusive.cairo b/tests/nodes/cumsum_fp8x23_1d_reverse_exclusive.cairo similarity index 100% rename from tests/src/nodes/cumsum_fp8x23_1d_reverse_exclusive.cairo rename to tests/nodes/cumsum_fp8x23_1d_reverse_exclusive.cairo diff --git a/tests/src/nodes/cumsum_fp8x23_1d_reverse_exclusive/input_0.cairo b/tests/nodes/cumsum_fp8x23_1d_reverse_exclusive/input_0.cairo similarity index 100% rename from tests/src/nodes/cumsum_fp8x23_1d_reverse_exclusive/input_0.cairo rename to tests/nodes/cumsum_fp8x23_1d_reverse_exclusive/input_0.cairo diff --git a/tests/src/nodes/cumsum_fp8x23_1d_reverse_exclusive/output_0.cairo b/tests/nodes/cumsum_fp8x23_1d_reverse_exclusive/output_0.cairo similarity index 100% rename from tests/src/nodes/cumsum_fp8x23_1d_reverse_exclusive/output_0.cairo rename to tests/nodes/cumsum_fp8x23_1d_reverse_exclusive/output_0.cairo diff --git a/tests/src/nodes/cumsum_fp8x23_2d_axis_0.cairo b/tests/nodes/cumsum_fp8x23_2d_axis_0.cairo similarity index 100% rename from tests/src/nodes/cumsum_fp8x23_2d_axis_0.cairo rename to tests/nodes/cumsum_fp8x23_2d_axis_0.cairo diff --git a/tests/src/nodes/cumsum_fp8x23_2d_axis_0/input_0.cairo b/tests/nodes/cumsum_fp8x23_2d_axis_0/input_0.cairo similarity index 100% rename from tests/src/nodes/cumsum_fp8x23_2d_axis_0/input_0.cairo rename to tests/nodes/cumsum_fp8x23_2d_axis_0/input_0.cairo diff --git a/tests/src/nodes/cumsum_fp8x23_2d_axis_0/output_0.cairo b/tests/nodes/cumsum_fp8x23_2d_axis_0/output_0.cairo similarity index 100% rename from tests/src/nodes/cumsum_fp8x23_2d_axis_0/output_0.cairo rename to tests/nodes/cumsum_fp8x23_2d_axis_0/output_0.cairo diff --git a/tests/src/nodes/cumsum_fp8x23_2d_axis_1.cairo b/tests/nodes/cumsum_fp8x23_2d_axis_1.cairo similarity index 100% rename from tests/src/nodes/cumsum_fp8x23_2d_axis_1.cairo rename to tests/nodes/cumsum_fp8x23_2d_axis_1.cairo diff --git a/tests/src/nodes/cumsum_fp8x23_2d_axis_1/input_0.cairo b/tests/nodes/cumsum_fp8x23_2d_axis_1/input_0.cairo similarity index 100% rename from tests/src/nodes/cumsum_fp8x23_2d_axis_1/input_0.cairo rename to tests/nodes/cumsum_fp8x23_2d_axis_1/input_0.cairo diff --git a/tests/src/nodes/cumsum_fp8x23_2d_axis_1/output_0.cairo b/tests/nodes/cumsum_fp8x23_2d_axis_1/output_0.cairo similarity index 100% rename from tests/src/nodes/cumsum_fp8x23_2d_axis_1/output_0.cairo rename to tests/nodes/cumsum_fp8x23_2d_axis_1/output_0.cairo diff --git a/tests/src/nodes/cumsum_i32_1d_default.cairo b/tests/nodes/cumsum_i32_1d_default.cairo similarity index 100% rename from tests/src/nodes/cumsum_i32_1d_default.cairo rename to tests/nodes/cumsum_i32_1d_default.cairo diff --git a/tests/src/nodes/cumsum_i32_1d_default/input_0.cairo b/tests/nodes/cumsum_i32_1d_default/input_0.cairo similarity index 100% rename from tests/src/nodes/cumsum_i32_1d_default/input_0.cairo rename to tests/nodes/cumsum_i32_1d_default/input_0.cairo diff --git a/tests/src/nodes/cumsum_i32_1d_default/output_0.cairo b/tests/nodes/cumsum_i32_1d_default/output_0.cairo similarity index 100% rename from tests/src/nodes/cumsum_i32_1d_default/output_0.cairo rename to tests/nodes/cumsum_i32_1d_default/output_0.cairo diff --git a/tests/src/nodes/cumsum_i32_1d_exclusive.cairo b/tests/nodes/cumsum_i32_1d_exclusive.cairo similarity index 100% rename from tests/src/nodes/cumsum_i32_1d_exclusive.cairo rename to tests/nodes/cumsum_i32_1d_exclusive.cairo diff --git a/tests/src/nodes/cumsum_i32_1d_exclusive/input_0.cairo b/tests/nodes/cumsum_i32_1d_exclusive/input_0.cairo similarity index 100% rename from tests/src/nodes/cumsum_i32_1d_exclusive/input_0.cairo rename to tests/nodes/cumsum_i32_1d_exclusive/input_0.cairo diff --git a/tests/src/nodes/cumsum_i32_1d_exclusive/output_0.cairo b/tests/nodes/cumsum_i32_1d_exclusive/output_0.cairo similarity index 100% rename from tests/src/nodes/cumsum_i32_1d_exclusive/output_0.cairo rename to tests/nodes/cumsum_i32_1d_exclusive/output_0.cairo diff --git a/tests/src/nodes/cumsum_i32_1d_reverse.cairo b/tests/nodes/cumsum_i32_1d_reverse.cairo similarity index 100% rename from tests/src/nodes/cumsum_i32_1d_reverse.cairo rename to tests/nodes/cumsum_i32_1d_reverse.cairo diff --git a/tests/src/nodes/cumsum_i32_1d_reverse/input_0.cairo b/tests/nodes/cumsum_i32_1d_reverse/input_0.cairo similarity index 100% rename from tests/src/nodes/cumsum_i32_1d_reverse/input_0.cairo rename to tests/nodes/cumsum_i32_1d_reverse/input_0.cairo diff --git a/tests/src/nodes/cumsum_i32_1d_reverse/output_0.cairo b/tests/nodes/cumsum_i32_1d_reverse/output_0.cairo similarity index 100% rename from tests/src/nodes/cumsum_i32_1d_reverse/output_0.cairo rename to tests/nodes/cumsum_i32_1d_reverse/output_0.cairo diff --git a/tests/src/nodes/cumsum_i32_1d_reverse_exclusive.cairo b/tests/nodes/cumsum_i32_1d_reverse_exclusive.cairo similarity index 100% rename from tests/src/nodes/cumsum_i32_1d_reverse_exclusive.cairo rename to tests/nodes/cumsum_i32_1d_reverse_exclusive.cairo diff --git a/tests/src/nodes/cumsum_i32_1d_reverse_exclusive/input_0.cairo b/tests/nodes/cumsum_i32_1d_reverse_exclusive/input_0.cairo similarity index 100% rename from tests/src/nodes/cumsum_i32_1d_reverse_exclusive/input_0.cairo rename to tests/nodes/cumsum_i32_1d_reverse_exclusive/input_0.cairo diff --git a/tests/src/nodes/cumsum_i32_1d_reverse_exclusive/output_0.cairo b/tests/nodes/cumsum_i32_1d_reverse_exclusive/output_0.cairo similarity index 100% rename from tests/src/nodes/cumsum_i32_1d_reverse_exclusive/output_0.cairo rename to tests/nodes/cumsum_i32_1d_reverse_exclusive/output_0.cairo diff --git a/tests/src/nodes/cumsum_i32_2d_axis_0.cairo b/tests/nodes/cumsum_i32_2d_axis_0.cairo similarity index 100% rename from tests/src/nodes/cumsum_i32_2d_axis_0.cairo rename to tests/nodes/cumsum_i32_2d_axis_0.cairo diff --git a/tests/src/nodes/cumsum_i32_2d_axis_0/input_0.cairo b/tests/nodes/cumsum_i32_2d_axis_0/input_0.cairo similarity index 100% rename from tests/src/nodes/cumsum_i32_2d_axis_0/input_0.cairo rename to tests/nodes/cumsum_i32_2d_axis_0/input_0.cairo diff --git a/tests/src/nodes/cumsum_i32_2d_axis_0/output_0.cairo b/tests/nodes/cumsum_i32_2d_axis_0/output_0.cairo similarity index 100% rename from tests/src/nodes/cumsum_i32_2d_axis_0/output_0.cairo rename to tests/nodes/cumsum_i32_2d_axis_0/output_0.cairo diff --git a/tests/src/nodes/cumsum_i32_2d_axis_1.cairo b/tests/nodes/cumsum_i32_2d_axis_1.cairo similarity index 100% rename from tests/src/nodes/cumsum_i32_2d_axis_1.cairo rename to tests/nodes/cumsum_i32_2d_axis_1.cairo diff --git a/tests/src/nodes/cumsum_i32_2d_axis_1/input_0.cairo b/tests/nodes/cumsum_i32_2d_axis_1/input_0.cairo similarity index 100% rename from tests/src/nodes/cumsum_i32_2d_axis_1/input_0.cairo rename to tests/nodes/cumsum_i32_2d_axis_1/input_0.cairo diff --git a/tests/src/nodes/cumsum_i32_2d_axis_1/output_0.cairo b/tests/nodes/cumsum_i32_2d_axis_1/output_0.cairo similarity index 100% rename from tests/src/nodes/cumsum_i32_2d_axis_1/output_0.cairo rename to tests/nodes/cumsum_i32_2d_axis_1/output_0.cairo diff --git a/tests/src/nodes/cumsum_i8_1d_default.cairo b/tests/nodes/cumsum_i8_1d_default.cairo similarity index 100% rename from tests/src/nodes/cumsum_i8_1d_default.cairo rename to tests/nodes/cumsum_i8_1d_default.cairo diff --git a/tests/src/nodes/cumsum_i8_1d_default/input_0.cairo b/tests/nodes/cumsum_i8_1d_default/input_0.cairo similarity index 100% rename from tests/src/nodes/cumsum_i8_1d_default/input_0.cairo rename to tests/nodes/cumsum_i8_1d_default/input_0.cairo diff --git a/tests/src/nodes/cumsum_i8_1d_default/output_0.cairo b/tests/nodes/cumsum_i8_1d_default/output_0.cairo similarity index 100% rename from tests/src/nodes/cumsum_i8_1d_default/output_0.cairo rename to tests/nodes/cumsum_i8_1d_default/output_0.cairo diff --git a/tests/src/nodes/cumsum_i8_1d_exclusive.cairo b/tests/nodes/cumsum_i8_1d_exclusive.cairo similarity index 100% rename from tests/src/nodes/cumsum_i8_1d_exclusive.cairo rename to tests/nodes/cumsum_i8_1d_exclusive.cairo diff --git a/tests/src/nodes/cumsum_i8_1d_exclusive/input_0.cairo b/tests/nodes/cumsum_i8_1d_exclusive/input_0.cairo similarity index 100% rename from tests/src/nodes/cumsum_i8_1d_exclusive/input_0.cairo rename to tests/nodes/cumsum_i8_1d_exclusive/input_0.cairo diff --git a/tests/src/nodes/cumsum_i8_1d_exclusive/output_0.cairo b/tests/nodes/cumsum_i8_1d_exclusive/output_0.cairo similarity index 100% rename from tests/src/nodes/cumsum_i8_1d_exclusive/output_0.cairo rename to tests/nodes/cumsum_i8_1d_exclusive/output_0.cairo diff --git a/tests/src/nodes/cumsum_i8_1d_reverse.cairo b/tests/nodes/cumsum_i8_1d_reverse.cairo similarity index 100% rename from tests/src/nodes/cumsum_i8_1d_reverse.cairo rename to tests/nodes/cumsum_i8_1d_reverse.cairo diff --git a/tests/src/nodes/cumsum_i8_1d_reverse/input_0.cairo b/tests/nodes/cumsum_i8_1d_reverse/input_0.cairo similarity index 100% rename from tests/src/nodes/cumsum_i8_1d_reverse/input_0.cairo rename to tests/nodes/cumsum_i8_1d_reverse/input_0.cairo diff --git a/tests/src/nodes/cumsum_i8_1d_reverse/output_0.cairo b/tests/nodes/cumsum_i8_1d_reverse/output_0.cairo similarity index 100% rename from tests/src/nodes/cumsum_i8_1d_reverse/output_0.cairo rename to tests/nodes/cumsum_i8_1d_reverse/output_0.cairo diff --git a/tests/src/nodes/cumsum_i8_1d_reverse_exclusive.cairo b/tests/nodes/cumsum_i8_1d_reverse_exclusive.cairo similarity index 100% rename from tests/src/nodes/cumsum_i8_1d_reverse_exclusive.cairo rename to tests/nodes/cumsum_i8_1d_reverse_exclusive.cairo diff --git a/tests/src/nodes/cumsum_i8_1d_reverse_exclusive/input_0.cairo b/tests/nodes/cumsum_i8_1d_reverse_exclusive/input_0.cairo similarity index 100% rename from tests/src/nodes/cumsum_i8_1d_reverse_exclusive/input_0.cairo rename to tests/nodes/cumsum_i8_1d_reverse_exclusive/input_0.cairo diff --git a/tests/src/nodes/cumsum_i8_1d_reverse_exclusive/output_0.cairo b/tests/nodes/cumsum_i8_1d_reverse_exclusive/output_0.cairo similarity index 100% rename from tests/src/nodes/cumsum_i8_1d_reverse_exclusive/output_0.cairo rename to tests/nodes/cumsum_i8_1d_reverse_exclusive/output_0.cairo diff --git a/tests/src/nodes/cumsum_i8_2d_axis_0.cairo b/tests/nodes/cumsum_i8_2d_axis_0.cairo similarity index 100% rename from tests/src/nodes/cumsum_i8_2d_axis_0.cairo rename to tests/nodes/cumsum_i8_2d_axis_0.cairo diff --git a/tests/src/nodes/cumsum_i8_2d_axis_0/input_0.cairo b/tests/nodes/cumsum_i8_2d_axis_0/input_0.cairo similarity index 100% rename from tests/src/nodes/cumsum_i8_2d_axis_0/input_0.cairo rename to tests/nodes/cumsum_i8_2d_axis_0/input_0.cairo diff --git a/tests/src/nodes/cumsum_i8_2d_axis_0/output_0.cairo b/tests/nodes/cumsum_i8_2d_axis_0/output_0.cairo similarity index 100% rename from tests/src/nodes/cumsum_i8_2d_axis_0/output_0.cairo rename to tests/nodes/cumsum_i8_2d_axis_0/output_0.cairo diff --git a/tests/src/nodes/cumsum_i8_2d_axis_1.cairo b/tests/nodes/cumsum_i8_2d_axis_1.cairo similarity index 100% rename from tests/src/nodes/cumsum_i8_2d_axis_1.cairo rename to tests/nodes/cumsum_i8_2d_axis_1.cairo diff --git a/tests/src/nodes/cumsum_i8_2d_axis_1/input_0.cairo b/tests/nodes/cumsum_i8_2d_axis_1/input_0.cairo similarity index 100% rename from tests/src/nodes/cumsum_i8_2d_axis_1/input_0.cairo rename to tests/nodes/cumsum_i8_2d_axis_1/input_0.cairo diff --git a/tests/src/nodes/cumsum_i8_2d_axis_1/output_0.cairo b/tests/nodes/cumsum_i8_2d_axis_1/output_0.cairo similarity index 100% rename from tests/src/nodes/cumsum_i8_2d_axis_1/output_0.cairo rename to tests/nodes/cumsum_i8_2d_axis_1/output_0.cairo diff --git a/tests/src/nodes/cumsum_u32_1d_default.cairo b/tests/nodes/cumsum_u32_1d_default.cairo similarity index 100% rename from tests/src/nodes/cumsum_u32_1d_default.cairo rename to tests/nodes/cumsum_u32_1d_default.cairo diff --git a/tests/src/nodes/cumsum_u32_1d_default/input_0.cairo b/tests/nodes/cumsum_u32_1d_default/input_0.cairo similarity index 100% rename from tests/src/nodes/cumsum_u32_1d_default/input_0.cairo rename to tests/nodes/cumsum_u32_1d_default/input_0.cairo diff --git a/tests/src/nodes/cumsum_u32_1d_default/output_0.cairo b/tests/nodes/cumsum_u32_1d_default/output_0.cairo similarity index 100% rename from tests/src/nodes/cumsum_u32_1d_default/output_0.cairo rename to tests/nodes/cumsum_u32_1d_default/output_0.cairo diff --git a/tests/src/nodes/cumsum_u32_1d_exclusive.cairo b/tests/nodes/cumsum_u32_1d_exclusive.cairo similarity index 100% rename from tests/src/nodes/cumsum_u32_1d_exclusive.cairo rename to tests/nodes/cumsum_u32_1d_exclusive.cairo diff --git a/tests/src/nodes/cumsum_u32_1d_exclusive/input_0.cairo b/tests/nodes/cumsum_u32_1d_exclusive/input_0.cairo similarity index 100% rename from tests/src/nodes/cumsum_u32_1d_exclusive/input_0.cairo rename to tests/nodes/cumsum_u32_1d_exclusive/input_0.cairo diff --git a/tests/src/nodes/cumsum_u32_1d_exclusive/output_0.cairo b/tests/nodes/cumsum_u32_1d_exclusive/output_0.cairo similarity index 100% rename from tests/src/nodes/cumsum_u32_1d_exclusive/output_0.cairo rename to tests/nodes/cumsum_u32_1d_exclusive/output_0.cairo diff --git a/tests/src/nodes/cumsum_u32_1d_reverse.cairo b/tests/nodes/cumsum_u32_1d_reverse.cairo similarity index 100% rename from tests/src/nodes/cumsum_u32_1d_reverse.cairo rename to tests/nodes/cumsum_u32_1d_reverse.cairo diff --git a/tests/src/nodes/cumsum_u32_1d_reverse/input_0.cairo b/tests/nodes/cumsum_u32_1d_reverse/input_0.cairo similarity index 100% rename from tests/src/nodes/cumsum_u32_1d_reverse/input_0.cairo rename to tests/nodes/cumsum_u32_1d_reverse/input_0.cairo diff --git a/tests/src/nodes/cumsum_u32_1d_reverse/output_0.cairo b/tests/nodes/cumsum_u32_1d_reverse/output_0.cairo similarity index 100% rename from tests/src/nodes/cumsum_u32_1d_reverse/output_0.cairo rename to tests/nodes/cumsum_u32_1d_reverse/output_0.cairo diff --git a/tests/src/nodes/cumsum_u32_1d_reverse_exclusive.cairo b/tests/nodes/cumsum_u32_1d_reverse_exclusive.cairo similarity index 100% rename from tests/src/nodes/cumsum_u32_1d_reverse_exclusive.cairo rename to tests/nodes/cumsum_u32_1d_reverse_exclusive.cairo diff --git a/tests/src/nodes/cumsum_u32_1d_reverse_exclusive/input_0.cairo b/tests/nodes/cumsum_u32_1d_reverse_exclusive/input_0.cairo similarity index 100% rename from tests/src/nodes/cumsum_u32_1d_reverse_exclusive/input_0.cairo rename to tests/nodes/cumsum_u32_1d_reverse_exclusive/input_0.cairo diff --git a/tests/src/nodes/cumsum_u32_1d_reverse_exclusive/output_0.cairo b/tests/nodes/cumsum_u32_1d_reverse_exclusive/output_0.cairo similarity index 100% rename from tests/src/nodes/cumsum_u32_1d_reverse_exclusive/output_0.cairo rename to tests/nodes/cumsum_u32_1d_reverse_exclusive/output_0.cairo diff --git a/tests/src/nodes/cumsum_u32_2d_axis_0.cairo b/tests/nodes/cumsum_u32_2d_axis_0.cairo similarity index 100% rename from tests/src/nodes/cumsum_u32_2d_axis_0.cairo rename to tests/nodes/cumsum_u32_2d_axis_0.cairo diff --git a/tests/src/nodes/cumsum_u32_2d_axis_0/input_0.cairo b/tests/nodes/cumsum_u32_2d_axis_0/input_0.cairo similarity index 100% rename from tests/src/nodes/cumsum_u32_2d_axis_0/input_0.cairo rename to tests/nodes/cumsum_u32_2d_axis_0/input_0.cairo diff --git a/tests/src/nodes/cumsum_u32_2d_axis_0/output_0.cairo b/tests/nodes/cumsum_u32_2d_axis_0/output_0.cairo similarity index 100% rename from tests/src/nodes/cumsum_u32_2d_axis_0/output_0.cairo rename to tests/nodes/cumsum_u32_2d_axis_0/output_0.cairo diff --git a/tests/src/nodes/cumsum_u32_2d_axis_1.cairo b/tests/nodes/cumsum_u32_2d_axis_1.cairo similarity index 100% rename from tests/src/nodes/cumsum_u32_2d_axis_1.cairo rename to tests/nodes/cumsum_u32_2d_axis_1.cairo diff --git a/tests/src/nodes/cumsum_u32_2d_axis_1/input_0.cairo b/tests/nodes/cumsum_u32_2d_axis_1/input_0.cairo similarity index 100% rename from tests/src/nodes/cumsum_u32_2d_axis_1/input_0.cairo rename to tests/nodes/cumsum_u32_2d_axis_1/input_0.cairo diff --git a/tests/src/nodes/cumsum_u32_2d_axis_1/output_0.cairo b/tests/nodes/cumsum_u32_2d_axis_1/output_0.cairo similarity index 100% rename from tests/src/nodes/cumsum_u32_2d_axis_1/output_0.cairo rename to tests/nodes/cumsum_u32_2d_axis_1/output_0.cairo diff --git a/tests/src/nodes/div_fp16x16.cairo b/tests/nodes/div_fp16x16.cairo similarity index 100% rename from tests/src/nodes/div_fp16x16.cairo rename to tests/nodes/div_fp16x16.cairo diff --git a/tests/src/nodes/div_fp16x16/input_0.cairo b/tests/nodes/div_fp16x16/input_0.cairo similarity index 100% rename from tests/src/nodes/div_fp16x16/input_0.cairo rename to tests/nodes/div_fp16x16/input_0.cairo diff --git a/tests/src/nodes/div_fp16x16/input_1.cairo b/tests/nodes/div_fp16x16/input_1.cairo similarity index 100% rename from tests/src/nodes/div_fp16x16/input_1.cairo rename to tests/nodes/div_fp16x16/input_1.cairo diff --git a/tests/src/nodes/div_fp16x16/output_0.cairo b/tests/nodes/div_fp16x16/output_0.cairo similarity index 100% rename from tests/src/nodes/div_fp16x16/output_0.cairo rename to tests/nodes/div_fp16x16/output_0.cairo diff --git a/tests/src/nodes/div_fp16x16_broadcast.cairo b/tests/nodes/div_fp16x16_broadcast.cairo similarity index 100% rename from tests/src/nodes/div_fp16x16_broadcast.cairo rename to tests/nodes/div_fp16x16_broadcast.cairo diff --git a/tests/src/nodes/div_fp16x16_broadcast/input_0.cairo b/tests/nodes/div_fp16x16_broadcast/input_0.cairo similarity index 100% rename from tests/src/nodes/div_fp16x16_broadcast/input_0.cairo rename to tests/nodes/div_fp16x16_broadcast/input_0.cairo diff --git a/tests/src/nodes/div_fp16x16_broadcast/input_1.cairo b/tests/nodes/div_fp16x16_broadcast/input_1.cairo similarity index 100% rename from tests/src/nodes/div_fp16x16_broadcast/input_1.cairo rename to tests/nodes/div_fp16x16_broadcast/input_1.cairo diff --git a/tests/src/nodes/div_fp16x16_broadcast/output_0.cairo b/tests/nodes/div_fp16x16_broadcast/output_0.cairo similarity index 100% rename from tests/src/nodes/div_fp16x16_broadcast/output_0.cairo rename to tests/nodes/div_fp16x16_broadcast/output_0.cairo diff --git a/tests/src/nodes/div_fp8x23.cairo b/tests/nodes/div_fp8x23.cairo similarity index 100% rename from tests/src/nodes/div_fp8x23.cairo rename to tests/nodes/div_fp8x23.cairo diff --git a/tests/src/nodes/div_fp8x23/input_0.cairo b/tests/nodes/div_fp8x23/input_0.cairo similarity index 100% rename from tests/src/nodes/div_fp8x23/input_0.cairo rename to tests/nodes/div_fp8x23/input_0.cairo diff --git a/tests/src/nodes/div_fp8x23/input_1.cairo b/tests/nodes/div_fp8x23/input_1.cairo similarity index 100% rename from tests/src/nodes/div_fp8x23/input_1.cairo rename to tests/nodes/div_fp8x23/input_1.cairo diff --git a/tests/src/nodes/div_fp8x23/output_0.cairo b/tests/nodes/div_fp8x23/output_0.cairo similarity index 100% rename from tests/src/nodes/div_fp8x23/output_0.cairo rename to tests/nodes/div_fp8x23/output_0.cairo diff --git a/tests/src/nodes/div_fp8x23_broadcast.cairo b/tests/nodes/div_fp8x23_broadcast.cairo similarity index 100% rename from tests/src/nodes/div_fp8x23_broadcast.cairo rename to tests/nodes/div_fp8x23_broadcast.cairo diff --git a/tests/src/nodes/div_fp8x23_broadcast/input_0.cairo b/tests/nodes/div_fp8x23_broadcast/input_0.cairo similarity index 100% rename from tests/src/nodes/div_fp8x23_broadcast/input_0.cairo rename to tests/nodes/div_fp8x23_broadcast/input_0.cairo diff --git a/tests/src/nodes/div_fp8x23_broadcast/input_1.cairo b/tests/nodes/div_fp8x23_broadcast/input_1.cairo similarity index 100% rename from tests/src/nodes/div_fp8x23_broadcast/input_1.cairo rename to tests/nodes/div_fp8x23_broadcast/input_1.cairo diff --git a/tests/src/nodes/div_fp8x23_broadcast/output_0.cairo b/tests/nodes/div_fp8x23_broadcast/output_0.cairo similarity index 100% rename from tests/src/nodes/div_fp8x23_broadcast/output_0.cairo rename to tests/nodes/div_fp8x23_broadcast/output_0.cairo diff --git a/tests/src/nodes/div_i32.cairo b/tests/nodes/div_i32.cairo similarity index 100% rename from tests/src/nodes/div_i32.cairo rename to tests/nodes/div_i32.cairo diff --git a/tests/src/nodes/div_i32/input_0.cairo b/tests/nodes/div_i32/input_0.cairo similarity index 100% rename from tests/src/nodes/div_i32/input_0.cairo rename to tests/nodes/div_i32/input_0.cairo diff --git a/tests/src/nodes/div_i32/input_1.cairo b/tests/nodes/div_i32/input_1.cairo similarity index 100% rename from tests/src/nodes/div_i32/input_1.cairo rename to tests/nodes/div_i32/input_1.cairo diff --git a/tests/src/nodes/div_i32/output_0.cairo b/tests/nodes/div_i32/output_0.cairo similarity index 100% rename from tests/src/nodes/div_i32/output_0.cairo rename to tests/nodes/div_i32/output_0.cairo diff --git a/tests/src/nodes/div_i32_broadcast.cairo b/tests/nodes/div_i32_broadcast.cairo similarity index 100% rename from tests/src/nodes/div_i32_broadcast.cairo rename to tests/nodes/div_i32_broadcast.cairo diff --git a/tests/src/nodes/div_i32_broadcast/input_0.cairo b/tests/nodes/div_i32_broadcast/input_0.cairo similarity index 100% rename from tests/src/nodes/div_i32_broadcast/input_0.cairo rename to tests/nodes/div_i32_broadcast/input_0.cairo diff --git a/tests/src/nodes/div_i32_broadcast/input_1.cairo b/tests/nodes/div_i32_broadcast/input_1.cairo similarity index 100% rename from tests/src/nodes/div_i32_broadcast/input_1.cairo rename to tests/nodes/div_i32_broadcast/input_1.cairo diff --git a/tests/src/nodes/div_i32_broadcast/output_0.cairo b/tests/nodes/div_i32_broadcast/output_0.cairo similarity index 100% rename from tests/src/nodes/div_i32_broadcast/output_0.cairo rename to tests/nodes/div_i32_broadcast/output_0.cairo diff --git a/tests/src/nodes/div_i8.cairo b/tests/nodes/div_i8.cairo similarity index 100% rename from tests/src/nodes/div_i8.cairo rename to tests/nodes/div_i8.cairo diff --git a/tests/src/nodes/div_i8/input_0.cairo b/tests/nodes/div_i8/input_0.cairo similarity index 100% rename from tests/src/nodes/div_i8/input_0.cairo rename to tests/nodes/div_i8/input_0.cairo diff --git a/tests/src/nodes/div_i8/input_1.cairo b/tests/nodes/div_i8/input_1.cairo similarity index 100% rename from tests/src/nodes/div_i8/input_1.cairo rename to tests/nodes/div_i8/input_1.cairo diff --git a/tests/src/nodes/div_i8/output_0.cairo b/tests/nodes/div_i8/output_0.cairo similarity index 100% rename from tests/src/nodes/div_i8/output_0.cairo rename to tests/nodes/div_i8/output_0.cairo diff --git a/tests/src/nodes/div_i8_broadcast.cairo b/tests/nodes/div_i8_broadcast.cairo similarity index 100% rename from tests/src/nodes/div_i8_broadcast.cairo rename to tests/nodes/div_i8_broadcast.cairo diff --git a/tests/src/nodes/div_i8_broadcast/input_0.cairo b/tests/nodes/div_i8_broadcast/input_0.cairo similarity index 100% rename from tests/src/nodes/div_i8_broadcast/input_0.cairo rename to tests/nodes/div_i8_broadcast/input_0.cairo diff --git a/tests/src/nodes/div_i8_broadcast/input_1.cairo b/tests/nodes/div_i8_broadcast/input_1.cairo similarity index 100% rename from tests/src/nodes/div_i8_broadcast/input_1.cairo rename to tests/nodes/div_i8_broadcast/input_1.cairo diff --git a/tests/src/nodes/div_i8_broadcast/output_0.cairo b/tests/nodes/div_i8_broadcast/output_0.cairo similarity index 100% rename from tests/src/nodes/div_i8_broadcast/output_0.cairo rename to tests/nodes/div_i8_broadcast/output_0.cairo diff --git a/tests/src/nodes/div_u32.cairo b/tests/nodes/div_u32.cairo similarity index 100% rename from tests/src/nodes/div_u32.cairo rename to tests/nodes/div_u32.cairo diff --git a/tests/src/nodes/div_u32/input_0.cairo b/tests/nodes/div_u32/input_0.cairo similarity index 100% rename from tests/src/nodes/div_u32/input_0.cairo rename to tests/nodes/div_u32/input_0.cairo diff --git a/tests/src/nodes/div_u32/input_1.cairo b/tests/nodes/div_u32/input_1.cairo similarity index 100% rename from tests/src/nodes/div_u32/input_1.cairo rename to tests/nodes/div_u32/input_1.cairo diff --git a/tests/src/nodes/div_u32/output_0.cairo b/tests/nodes/div_u32/output_0.cairo similarity index 100% rename from tests/src/nodes/div_u32/output_0.cairo rename to tests/nodes/div_u32/output_0.cairo diff --git a/tests/src/nodes/div_u32_broadcast.cairo b/tests/nodes/div_u32_broadcast.cairo similarity index 100% rename from tests/src/nodes/div_u32_broadcast.cairo rename to tests/nodes/div_u32_broadcast.cairo diff --git a/tests/src/nodes/div_u32_broadcast/input_0.cairo b/tests/nodes/div_u32_broadcast/input_0.cairo similarity index 100% rename from tests/src/nodes/div_u32_broadcast/input_0.cairo rename to tests/nodes/div_u32_broadcast/input_0.cairo diff --git a/tests/src/nodes/div_u32_broadcast/input_1.cairo b/tests/nodes/div_u32_broadcast/input_1.cairo similarity index 100% rename from tests/src/nodes/div_u32_broadcast/input_1.cairo rename to tests/nodes/div_u32_broadcast/input_1.cairo diff --git a/tests/src/nodes/div_u32_broadcast/output_0.cairo b/tests/nodes/div_u32_broadcast/output_0.cairo similarity index 100% rename from tests/src/nodes/div_u32_broadcast/output_0.cairo rename to tests/nodes/div_u32_broadcast/output_0.cairo diff --git a/tests/src/nodes/equal_fp16x16.cairo b/tests/nodes/equal_fp16x16.cairo similarity index 100% rename from tests/src/nodes/equal_fp16x16.cairo rename to tests/nodes/equal_fp16x16.cairo diff --git a/tests/src/nodes/equal_fp16x16/input_0.cairo b/tests/nodes/equal_fp16x16/input_0.cairo similarity index 100% rename from tests/src/nodes/equal_fp16x16/input_0.cairo rename to tests/nodes/equal_fp16x16/input_0.cairo diff --git a/tests/src/nodes/equal_fp16x16/input_1.cairo b/tests/nodes/equal_fp16x16/input_1.cairo similarity index 100% rename from tests/src/nodes/equal_fp16x16/input_1.cairo rename to tests/nodes/equal_fp16x16/input_1.cairo diff --git a/tests/src/nodes/equal_fp16x16/output_0.cairo b/tests/nodes/equal_fp16x16/output_0.cairo similarity index 100% rename from tests/src/nodes/equal_fp16x16/output_0.cairo rename to tests/nodes/equal_fp16x16/output_0.cairo diff --git a/tests/src/nodes/equal_fp16x16_broadcast.cairo b/tests/nodes/equal_fp16x16_broadcast.cairo similarity index 100% rename from tests/src/nodes/equal_fp16x16_broadcast.cairo rename to tests/nodes/equal_fp16x16_broadcast.cairo diff --git a/tests/src/nodes/equal_fp16x16_broadcast/input_0.cairo b/tests/nodes/equal_fp16x16_broadcast/input_0.cairo similarity index 100% rename from tests/src/nodes/equal_fp16x16_broadcast/input_0.cairo rename to tests/nodes/equal_fp16x16_broadcast/input_0.cairo diff --git a/tests/src/nodes/equal_fp16x16_broadcast/input_1.cairo b/tests/nodes/equal_fp16x16_broadcast/input_1.cairo similarity index 100% rename from tests/src/nodes/equal_fp16x16_broadcast/input_1.cairo rename to tests/nodes/equal_fp16x16_broadcast/input_1.cairo diff --git a/tests/src/nodes/equal_fp16x16_broadcast/output_0.cairo b/tests/nodes/equal_fp16x16_broadcast/output_0.cairo similarity index 100% rename from tests/src/nodes/equal_fp16x16_broadcast/output_0.cairo rename to tests/nodes/equal_fp16x16_broadcast/output_0.cairo diff --git a/tests/src/nodes/equal_fp8x23.cairo b/tests/nodes/equal_fp8x23.cairo similarity index 100% rename from tests/src/nodes/equal_fp8x23.cairo rename to tests/nodes/equal_fp8x23.cairo diff --git a/tests/src/nodes/equal_fp8x23/input_0.cairo b/tests/nodes/equal_fp8x23/input_0.cairo similarity index 100% rename from tests/src/nodes/equal_fp8x23/input_0.cairo rename to tests/nodes/equal_fp8x23/input_0.cairo diff --git a/tests/src/nodes/equal_fp8x23/input_1.cairo b/tests/nodes/equal_fp8x23/input_1.cairo similarity index 100% rename from tests/src/nodes/equal_fp8x23/input_1.cairo rename to tests/nodes/equal_fp8x23/input_1.cairo diff --git a/tests/src/nodes/equal_fp8x23/output_0.cairo b/tests/nodes/equal_fp8x23/output_0.cairo similarity index 100% rename from tests/src/nodes/equal_fp8x23/output_0.cairo rename to tests/nodes/equal_fp8x23/output_0.cairo diff --git a/tests/src/nodes/equal_fp8x23_broadcast.cairo b/tests/nodes/equal_fp8x23_broadcast.cairo similarity index 100% rename from tests/src/nodes/equal_fp8x23_broadcast.cairo rename to tests/nodes/equal_fp8x23_broadcast.cairo diff --git a/tests/src/nodes/equal_fp8x23_broadcast/input_0.cairo b/tests/nodes/equal_fp8x23_broadcast/input_0.cairo similarity index 100% rename from tests/src/nodes/equal_fp8x23_broadcast/input_0.cairo rename to tests/nodes/equal_fp8x23_broadcast/input_0.cairo diff --git a/tests/src/nodes/equal_fp8x23_broadcast/input_1.cairo b/tests/nodes/equal_fp8x23_broadcast/input_1.cairo similarity index 100% rename from tests/src/nodes/equal_fp8x23_broadcast/input_1.cairo rename to tests/nodes/equal_fp8x23_broadcast/input_1.cairo diff --git a/tests/src/nodes/equal_fp8x23_broadcast/output_0.cairo b/tests/nodes/equal_fp8x23_broadcast/output_0.cairo similarity index 100% rename from tests/src/nodes/equal_fp8x23_broadcast/output_0.cairo rename to tests/nodes/equal_fp8x23_broadcast/output_0.cairo diff --git a/tests/src/nodes/equal_i32.cairo b/tests/nodes/equal_i32.cairo similarity index 100% rename from tests/src/nodes/equal_i32.cairo rename to tests/nodes/equal_i32.cairo diff --git a/tests/src/nodes/equal_i32/input_0.cairo b/tests/nodes/equal_i32/input_0.cairo similarity index 100% rename from tests/src/nodes/equal_i32/input_0.cairo rename to tests/nodes/equal_i32/input_0.cairo diff --git a/tests/src/nodes/equal_i32/input_1.cairo b/tests/nodes/equal_i32/input_1.cairo similarity index 100% rename from tests/src/nodes/equal_i32/input_1.cairo rename to tests/nodes/equal_i32/input_1.cairo diff --git a/tests/src/nodes/equal_i32/output_0.cairo b/tests/nodes/equal_i32/output_0.cairo similarity index 100% rename from tests/src/nodes/equal_i32/output_0.cairo rename to tests/nodes/equal_i32/output_0.cairo diff --git a/tests/src/nodes/equal_i32_broadcast.cairo b/tests/nodes/equal_i32_broadcast.cairo similarity index 100% rename from tests/src/nodes/equal_i32_broadcast.cairo rename to tests/nodes/equal_i32_broadcast.cairo diff --git a/tests/src/nodes/equal_i32_broadcast/input_0.cairo b/tests/nodes/equal_i32_broadcast/input_0.cairo similarity index 100% rename from tests/src/nodes/equal_i32_broadcast/input_0.cairo rename to tests/nodes/equal_i32_broadcast/input_0.cairo diff --git a/tests/src/nodes/equal_i32_broadcast/input_1.cairo b/tests/nodes/equal_i32_broadcast/input_1.cairo similarity index 100% rename from tests/src/nodes/equal_i32_broadcast/input_1.cairo rename to tests/nodes/equal_i32_broadcast/input_1.cairo diff --git a/tests/src/nodes/equal_i32_broadcast/output_0.cairo b/tests/nodes/equal_i32_broadcast/output_0.cairo similarity index 100% rename from tests/src/nodes/equal_i32_broadcast/output_0.cairo rename to tests/nodes/equal_i32_broadcast/output_0.cairo diff --git a/tests/src/nodes/equal_i8.cairo b/tests/nodes/equal_i8.cairo similarity index 100% rename from tests/src/nodes/equal_i8.cairo rename to tests/nodes/equal_i8.cairo diff --git a/tests/src/nodes/equal_i8/input_0.cairo b/tests/nodes/equal_i8/input_0.cairo similarity index 100% rename from tests/src/nodes/equal_i8/input_0.cairo rename to tests/nodes/equal_i8/input_0.cairo diff --git a/tests/src/nodes/equal_i8/input_1.cairo b/tests/nodes/equal_i8/input_1.cairo similarity index 100% rename from tests/src/nodes/equal_i8/input_1.cairo rename to tests/nodes/equal_i8/input_1.cairo diff --git a/tests/src/nodes/equal_i8/output_0.cairo b/tests/nodes/equal_i8/output_0.cairo similarity index 100% rename from tests/src/nodes/equal_i8/output_0.cairo rename to tests/nodes/equal_i8/output_0.cairo diff --git a/tests/src/nodes/equal_i8_broadcast.cairo b/tests/nodes/equal_i8_broadcast.cairo similarity index 100% rename from tests/src/nodes/equal_i8_broadcast.cairo rename to tests/nodes/equal_i8_broadcast.cairo diff --git a/tests/src/nodes/equal_i8_broadcast/input_0.cairo b/tests/nodes/equal_i8_broadcast/input_0.cairo similarity index 100% rename from tests/src/nodes/equal_i8_broadcast/input_0.cairo rename to tests/nodes/equal_i8_broadcast/input_0.cairo diff --git a/tests/src/nodes/equal_i8_broadcast/input_1.cairo b/tests/nodes/equal_i8_broadcast/input_1.cairo similarity index 100% rename from tests/src/nodes/equal_i8_broadcast/input_1.cairo rename to tests/nodes/equal_i8_broadcast/input_1.cairo diff --git a/tests/src/nodes/equal_i8_broadcast/output_0.cairo b/tests/nodes/equal_i8_broadcast/output_0.cairo similarity index 100% rename from tests/src/nodes/equal_i8_broadcast/output_0.cairo rename to tests/nodes/equal_i8_broadcast/output_0.cairo diff --git a/tests/src/nodes/equal_u32.cairo b/tests/nodes/equal_u32.cairo similarity index 100% rename from tests/src/nodes/equal_u32.cairo rename to tests/nodes/equal_u32.cairo diff --git a/tests/src/nodes/equal_u32/input_0.cairo b/tests/nodes/equal_u32/input_0.cairo similarity index 100% rename from tests/src/nodes/equal_u32/input_0.cairo rename to tests/nodes/equal_u32/input_0.cairo diff --git a/tests/src/nodes/equal_u32/input_1.cairo b/tests/nodes/equal_u32/input_1.cairo similarity index 100% rename from tests/src/nodes/equal_u32/input_1.cairo rename to tests/nodes/equal_u32/input_1.cairo diff --git a/tests/src/nodes/equal_u32/output_0.cairo b/tests/nodes/equal_u32/output_0.cairo similarity index 100% rename from tests/src/nodes/equal_u32/output_0.cairo rename to tests/nodes/equal_u32/output_0.cairo diff --git a/tests/src/nodes/equal_u32_broadcast.cairo b/tests/nodes/equal_u32_broadcast.cairo similarity index 100% rename from tests/src/nodes/equal_u32_broadcast.cairo rename to tests/nodes/equal_u32_broadcast.cairo diff --git a/tests/src/nodes/equal_u32_broadcast/input_0.cairo b/tests/nodes/equal_u32_broadcast/input_0.cairo similarity index 100% rename from tests/src/nodes/equal_u32_broadcast/input_0.cairo rename to tests/nodes/equal_u32_broadcast/input_0.cairo diff --git a/tests/src/nodes/equal_u32_broadcast/input_1.cairo b/tests/nodes/equal_u32_broadcast/input_1.cairo similarity index 100% rename from tests/src/nodes/equal_u32_broadcast/input_1.cairo rename to tests/nodes/equal_u32_broadcast/input_1.cairo diff --git a/tests/src/nodes/equal_u32_broadcast/output_0.cairo b/tests/nodes/equal_u32_broadcast/output_0.cairo similarity index 100% rename from tests/src/nodes/equal_u32_broadcast/output_0.cairo rename to tests/nodes/equal_u32_broadcast/output_0.cairo diff --git a/tests/src/nodes/exp_fp16x16.cairo b/tests/nodes/exp_fp16x16.cairo similarity index 100% rename from tests/src/nodes/exp_fp16x16.cairo rename to tests/nodes/exp_fp16x16.cairo diff --git a/tests/src/nodes/exp_fp16x16/input_0.cairo b/tests/nodes/exp_fp16x16/input_0.cairo similarity index 100% rename from tests/src/nodes/exp_fp16x16/input_0.cairo rename to tests/nodes/exp_fp16x16/input_0.cairo diff --git a/tests/src/nodes/exp_fp16x16/output_0.cairo b/tests/nodes/exp_fp16x16/output_0.cairo similarity index 100% rename from tests/src/nodes/exp_fp16x16/output_0.cairo rename to tests/nodes/exp_fp16x16/output_0.cairo diff --git a/tests/src/nodes/exp_fp8x23.cairo b/tests/nodes/exp_fp8x23.cairo similarity index 100% rename from tests/src/nodes/exp_fp8x23.cairo rename to tests/nodes/exp_fp8x23.cairo diff --git a/tests/src/nodes/exp_fp8x23/input_0.cairo b/tests/nodes/exp_fp8x23/input_0.cairo similarity index 100% rename from tests/src/nodes/exp_fp8x23/input_0.cairo rename to tests/nodes/exp_fp8x23/input_0.cairo diff --git a/tests/src/nodes/exp_fp8x23/output_0.cairo b/tests/nodes/exp_fp8x23/output_0.cairo similarity index 100% rename from tests/src/nodes/exp_fp8x23/output_0.cairo rename to tests/nodes/exp_fp8x23/output_0.cairo diff --git a/tests/src/nodes/gather_fp16x16_3d_axis1.cairo b/tests/nodes/gather_fp16x16_3d_axis1.cairo similarity index 100% rename from tests/src/nodes/gather_fp16x16_3d_axis1.cairo rename to tests/nodes/gather_fp16x16_3d_axis1.cairo diff --git a/tests/src/nodes/gather_fp16x16_3d_axis1/input_0.cairo b/tests/nodes/gather_fp16x16_3d_axis1/input_0.cairo similarity index 100% rename from tests/src/nodes/gather_fp16x16_3d_axis1/input_0.cairo rename to tests/nodes/gather_fp16x16_3d_axis1/input_0.cairo diff --git a/tests/src/nodes/gather_fp16x16_3d_axis1/input_1.cairo b/tests/nodes/gather_fp16x16_3d_axis1/input_1.cairo similarity index 100% rename from tests/src/nodes/gather_fp16x16_3d_axis1/input_1.cairo rename to tests/nodes/gather_fp16x16_3d_axis1/input_1.cairo diff --git a/tests/src/nodes/gather_fp16x16_3d_axis1/output_0.cairo b/tests/nodes/gather_fp16x16_3d_axis1/output_0.cairo similarity index 100% rename from tests/src/nodes/gather_fp16x16_3d_axis1/output_0.cairo rename to tests/nodes/gather_fp16x16_3d_axis1/output_0.cairo diff --git a/tests/src/nodes/gather_fp16x16_3d_axis2.cairo b/tests/nodes/gather_fp16x16_3d_axis2.cairo similarity index 100% rename from tests/src/nodes/gather_fp16x16_3d_axis2.cairo rename to tests/nodes/gather_fp16x16_3d_axis2.cairo diff --git a/tests/src/nodes/gather_fp16x16_3d_axis2/input_0.cairo b/tests/nodes/gather_fp16x16_3d_axis2/input_0.cairo similarity index 100% rename from tests/src/nodes/gather_fp16x16_3d_axis2/input_0.cairo rename to tests/nodes/gather_fp16x16_3d_axis2/input_0.cairo diff --git a/tests/src/nodes/gather_fp16x16_3d_axis2/input_1.cairo b/tests/nodes/gather_fp16x16_3d_axis2/input_1.cairo similarity index 100% rename from tests/src/nodes/gather_fp16x16_3d_axis2/input_1.cairo rename to tests/nodes/gather_fp16x16_3d_axis2/input_1.cairo diff --git a/tests/src/nodes/gather_fp16x16_3d_axis2/output_0.cairo b/tests/nodes/gather_fp16x16_3d_axis2/output_0.cairo similarity index 100% rename from tests/src/nodes/gather_fp16x16_3d_axis2/output_0.cairo rename to tests/nodes/gather_fp16x16_3d_axis2/output_0.cairo diff --git a/tests/src/nodes/gather_fp16x16_3d_default.cairo b/tests/nodes/gather_fp16x16_3d_default.cairo similarity index 100% rename from tests/src/nodes/gather_fp16x16_3d_default.cairo rename to tests/nodes/gather_fp16x16_3d_default.cairo diff --git a/tests/src/nodes/gather_fp16x16_3d_default/input_0.cairo b/tests/nodes/gather_fp16x16_3d_default/input_0.cairo similarity index 100% rename from tests/src/nodes/gather_fp16x16_3d_default/input_0.cairo rename to tests/nodes/gather_fp16x16_3d_default/input_0.cairo diff --git a/tests/src/nodes/gather_fp16x16_3d_default/input_1.cairo b/tests/nodes/gather_fp16x16_3d_default/input_1.cairo similarity index 100% rename from tests/src/nodes/gather_fp16x16_3d_default/input_1.cairo rename to tests/nodes/gather_fp16x16_3d_default/input_1.cairo diff --git a/tests/src/nodes/gather_fp16x16_3d_default/output_0.cairo b/tests/nodes/gather_fp16x16_3d_default/output_0.cairo similarity index 100% rename from tests/src/nodes/gather_fp16x16_3d_default/output_0.cairo rename to tests/nodes/gather_fp16x16_3d_default/output_0.cairo diff --git a/tests/src/nodes/gather_fp8x23_3d_axis1.cairo b/tests/nodes/gather_fp8x23_3d_axis1.cairo similarity index 100% rename from tests/src/nodes/gather_fp8x23_3d_axis1.cairo rename to tests/nodes/gather_fp8x23_3d_axis1.cairo diff --git a/tests/src/nodes/gather_fp8x23_3d_axis1/input_0.cairo b/tests/nodes/gather_fp8x23_3d_axis1/input_0.cairo similarity index 100% rename from tests/src/nodes/gather_fp8x23_3d_axis1/input_0.cairo rename to tests/nodes/gather_fp8x23_3d_axis1/input_0.cairo diff --git a/tests/src/nodes/gather_fp8x23_3d_axis1/input_1.cairo b/tests/nodes/gather_fp8x23_3d_axis1/input_1.cairo similarity index 100% rename from tests/src/nodes/gather_fp8x23_3d_axis1/input_1.cairo rename to tests/nodes/gather_fp8x23_3d_axis1/input_1.cairo diff --git a/tests/src/nodes/gather_fp8x23_3d_axis1/output_0.cairo b/tests/nodes/gather_fp8x23_3d_axis1/output_0.cairo similarity index 100% rename from tests/src/nodes/gather_fp8x23_3d_axis1/output_0.cairo rename to tests/nodes/gather_fp8x23_3d_axis1/output_0.cairo diff --git a/tests/src/nodes/gather_fp8x23_3d_axis2.cairo b/tests/nodes/gather_fp8x23_3d_axis2.cairo similarity index 100% rename from tests/src/nodes/gather_fp8x23_3d_axis2.cairo rename to tests/nodes/gather_fp8x23_3d_axis2.cairo diff --git a/tests/src/nodes/gather_fp8x23_3d_axis2/input_0.cairo b/tests/nodes/gather_fp8x23_3d_axis2/input_0.cairo similarity index 100% rename from tests/src/nodes/gather_fp8x23_3d_axis2/input_0.cairo rename to tests/nodes/gather_fp8x23_3d_axis2/input_0.cairo diff --git a/tests/src/nodes/gather_fp8x23_3d_axis2/input_1.cairo b/tests/nodes/gather_fp8x23_3d_axis2/input_1.cairo similarity index 100% rename from tests/src/nodes/gather_fp8x23_3d_axis2/input_1.cairo rename to tests/nodes/gather_fp8x23_3d_axis2/input_1.cairo diff --git a/tests/src/nodes/gather_fp8x23_3d_axis2/output_0.cairo b/tests/nodes/gather_fp8x23_3d_axis2/output_0.cairo similarity index 100% rename from tests/src/nodes/gather_fp8x23_3d_axis2/output_0.cairo rename to tests/nodes/gather_fp8x23_3d_axis2/output_0.cairo diff --git a/tests/src/nodes/gather_fp8x23_3d_default.cairo b/tests/nodes/gather_fp8x23_3d_default.cairo similarity index 100% rename from tests/src/nodes/gather_fp8x23_3d_default.cairo rename to tests/nodes/gather_fp8x23_3d_default.cairo diff --git a/tests/src/nodes/gather_fp8x23_3d_default/input_0.cairo b/tests/nodes/gather_fp8x23_3d_default/input_0.cairo similarity index 100% rename from tests/src/nodes/gather_fp8x23_3d_default/input_0.cairo rename to tests/nodes/gather_fp8x23_3d_default/input_0.cairo diff --git a/tests/src/nodes/gather_fp8x23_3d_default/input_1.cairo b/tests/nodes/gather_fp8x23_3d_default/input_1.cairo similarity index 100% rename from tests/src/nodes/gather_fp8x23_3d_default/input_1.cairo rename to tests/nodes/gather_fp8x23_3d_default/input_1.cairo diff --git a/tests/src/nodes/gather_fp8x23_3d_default/output_0.cairo b/tests/nodes/gather_fp8x23_3d_default/output_0.cairo similarity index 100% rename from tests/src/nodes/gather_fp8x23_3d_default/output_0.cairo rename to tests/nodes/gather_fp8x23_3d_default/output_0.cairo diff --git a/tests/src/nodes/gather_i32_3d_axis1.cairo b/tests/nodes/gather_i32_3d_axis1.cairo similarity index 100% rename from tests/src/nodes/gather_i32_3d_axis1.cairo rename to tests/nodes/gather_i32_3d_axis1.cairo diff --git a/tests/src/nodes/gather_i32_3d_axis1/input_0.cairo b/tests/nodes/gather_i32_3d_axis1/input_0.cairo similarity index 100% rename from tests/src/nodes/gather_i32_3d_axis1/input_0.cairo rename to tests/nodes/gather_i32_3d_axis1/input_0.cairo diff --git a/tests/src/nodes/gather_i32_3d_axis1/input_1.cairo b/tests/nodes/gather_i32_3d_axis1/input_1.cairo similarity index 100% rename from tests/src/nodes/gather_i32_3d_axis1/input_1.cairo rename to tests/nodes/gather_i32_3d_axis1/input_1.cairo diff --git a/tests/src/nodes/gather_i32_3d_axis1/output_0.cairo b/tests/nodes/gather_i32_3d_axis1/output_0.cairo similarity index 100% rename from tests/src/nodes/gather_i32_3d_axis1/output_0.cairo rename to tests/nodes/gather_i32_3d_axis1/output_0.cairo diff --git a/tests/src/nodes/gather_i32_3d_axis2.cairo b/tests/nodes/gather_i32_3d_axis2.cairo similarity index 100% rename from tests/src/nodes/gather_i32_3d_axis2.cairo rename to tests/nodes/gather_i32_3d_axis2.cairo diff --git a/tests/src/nodes/gather_i32_3d_axis2/input_0.cairo b/tests/nodes/gather_i32_3d_axis2/input_0.cairo similarity index 100% rename from tests/src/nodes/gather_i32_3d_axis2/input_0.cairo rename to tests/nodes/gather_i32_3d_axis2/input_0.cairo diff --git a/tests/src/nodes/gather_i32_3d_axis2/input_1.cairo b/tests/nodes/gather_i32_3d_axis2/input_1.cairo similarity index 100% rename from tests/src/nodes/gather_i32_3d_axis2/input_1.cairo rename to tests/nodes/gather_i32_3d_axis2/input_1.cairo diff --git a/tests/src/nodes/gather_i32_3d_axis2/output_0.cairo b/tests/nodes/gather_i32_3d_axis2/output_0.cairo similarity index 100% rename from tests/src/nodes/gather_i32_3d_axis2/output_0.cairo rename to tests/nodes/gather_i32_3d_axis2/output_0.cairo diff --git a/tests/src/nodes/gather_i32_3d_default.cairo b/tests/nodes/gather_i32_3d_default.cairo similarity index 100% rename from tests/src/nodes/gather_i32_3d_default.cairo rename to tests/nodes/gather_i32_3d_default.cairo diff --git a/tests/src/nodes/gather_i32_3d_default/input_0.cairo b/tests/nodes/gather_i32_3d_default/input_0.cairo similarity index 100% rename from tests/src/nodes/gather_i32_3d_default/input_0.cairo rename to tests/nodes/gather_i32_3d_default/input_0.cairo diff --git a/tests/src/nodes/gather_i32_3d_default/input_1.cairo b/tests/nodes/gather_i32_3d_default/input_1.cairo similarity index 100% rename from tests/src/nodes/gather_i32_3d_default/input_1.cairo rename to tests/nodes/gather_i32_3d_default/input_1.cairo diff --git a/tests/src/nodes/gather_i32_3d_default/output_0.cairo b/tests/nodes/gather_i32_3d_default/output_0.cairo similarity index 100% rename from tests/src/nodes/gather_i32_3d_default/output_0.cairo rename to tests/nodes/gather_i32_3d_default/output_0.cairo diff --git a/tests/src/nodes/gather_i8_3d_axis1.cairo b/tests/nodes/gather_i8_3d_axis1.cairo similarity index 100% rename from tests/src/nodes/gather_i8_3d_axis1.cairo rename to tests/nodes/gather_i8_3d_axis1.cairo diff --git a/tests/src/nodes/gather_i8_3d_axis1/input_0.cairo b/tests/nodes/gather_i8_3d_axis1/input_0.cairo similarity index 100% rename from tests/src/nodes/gather_i8_3d_axis1/input_0.cairo rename to tests/nodes/gather_i8_3d_axis1/input_0.cairo diff --git a/tests/src/nodes/gather_i8_3d_axis1/input_1.cairo b/tests/nodes/gather_i8_3d_axis1/input_1.cairo similarity index 100% rename from tests/src/nodes/gather_i8_3d_axis1/input_1.cairo rename to tests/nodes/gather_i8_3d_axis1/input_1.cairo diff --git a/tests/src/nodes/gather_i8_3d_axis1/output_0.cairo b/tests/nodes/gather_i8_3d_axis1/output_0.cairo similarity index 100% rename from tests/src/nodes/gather_i8_3d_axis1/output_0.cairo rename to tests/nodes/gather_i8_3d_axis1/output_0.cairo diff --git a/tests/src/nodes/gather_i8_3d_axis2.cairo b/tests/nodes/gather_i8_3d_axis2.cairo similarity index 100% rename from tests/src/nodes/gather_i8_3d_axis2.cairo rename to tests/nodes/gather_i8_3d_axis2.cairo diff --git a/tests/src/nodes/gather_i8_3d_axis2/input_0.cairo b/tests/nodes/gather_i8_3d_axis2/input_0.cairo similarity index 100% rename from tests/src/nodes/gather_i8_3d_axis2/input_0.cairo rename to tests/nodes/gather_i8_3d_axis2/input_0.cairo diff --git a/tests/src/nodes/gather_i8_3d_axis2/input_1.cairo b/tests/nodes/gather_i8_3d_axis2/input_1.cairo similarity index 100% rename from tests/src/nodes/gather_i8_3d_axis2/input_1.cairo rename to tests/nodes/gather_i8_3d_axis2/input_1.cairo diff --git a/tests/src/nodes/gather_i8_3d_axis2/output_0.cairo b/tests/nodes/gather_i8_3d_axis2/output_0.cairo similarity index 100% rename from tests/src/nodes/gather_i8_3d_axis2/output_0.cairo rename to tests/nodes/gather_i8_3d_axis2/output_0.cairo diff --git a/tests/src/nodes/gather_i8_3d_default.cairo b/tests/nodes/gather_i8_3d_default.cairo similarity index 100% rename from tests/src/nodes/gather_i8_3d_default.cairo rename to tests/nodes/gather_i8_3d_default.cairo diff --git a/tests/src/nodes/gather_i8_3d_default/input_0.cairo b/tests/nodes/gather_i8_3d_default/input_0.cairo similarity index 100% rename from tests/src/nodes/gather_i8_3d_default/input_0.cairo rename to tests/nodes/gather_i8_3d_default/input_0.cairo diff --git a/tests/src/nodes/gather_i8_3d_default/input_1.cairo b/tests/nodes/gather_i8_3d_default/input_1.cairo similarity index 100% rename from tests/src/nodes/gather_i8_3d_default/input_1.cairo rename to tests/nodes/gather_i8_3d_default/input_1.cairo diff --git a/tests/src/nodes/gather_i8_3d_default/output_0.cairo b/tests/nodes/gather_i8_3d_default/output_0.cairo similarity index 100% rename from tests/src/nodes/gather_i8_3d_default/output_0.cairo rename to tests/nodes/gather_i8_3d_default/output_0.cairo diff --git a/tests/src/nodes/gather_u32_3d_axis1.cairo b/tests/nodes/gather_u32_3d_axis1.cairo similarity index 100% rename from tests/src/nodes/gather_u32_3d_axis1.cairo rename to tests/nodes/gather_u32_3d_axis1.cairo diff --git a/tests/src/nodes/gather_u32_3d_axis1/input_0.cairo b/tests/nodes/gather_u32_3d_axis1/input_0.cairo similarity index 100% rename from tests/src/nodes/gather_u32_3d_axis1/input_0.cairo rename to tests/nodes/gather_u32_3d_axis1/input_0.cairo diff --git a/tests/src/nodes/gather_u32_3d_axis1/input_1.cairo b/tests/nodes/gather_u32_3d_axis1/input_1.cairo similarity index 100% rename from tests/src/nodes/gather_u32_3d_axis1/input_1.cairo rename to tests/nodes/gather_u32_3d_axis1/input_1.cairo diff --git a/tests/src/nodes/gather_u32_3d_axis1/output_0.cairo b/tests/nodes/gather_u32_3d_axis1/output_0.cairo similarity index 100% rename from tests/src/nodes/gather_u32_3d_axis1/output_0.cairo rename to tests/nodes/gather_u32_3d_axis1/output_0.cairo diff --git a/tests/src/nodes/gather_u32_3d_axis2.cairo b/tests/nodes/gather_u32_3d_axis2.cairo similarity index 100% rename from tests/src/nodes/gather_u32_3d_axis2.cairo rename to tests/nodes/gather_u32_3d_axis2.cairo diff --git a/tests/src/nodes/gather_u32_3d_axis2/input_0.cairo b/tests/nodes/gather_u32_3d_axis2/input_0.cairo similarity index 100% rename from tests/src/nodes/gather_u32_3d_axis2/input_0.cairo rename to tests/nodes/gather_u32_3d_axis2/input_0.cairo diff --git a/tests/src/nodes/gather_u32_3d_axis2/input_1.cairo b/tests/nodes/gather_u32_3d_axis2/input_1.cairo similarity index 100% rename from tests/src/nodes/gather_u32_3d_axis2/input_1.cairo rename to tests/nodes/gather_u32_3d_axis2/input_1.cairo diff --git a/tests/src/nodes/gather_u32_3d_axis2/output_0.cairo b/tests/nodes/gather_u32_3d_axis2/output_0.cairo similarity index 100% rename from tests/src/nodes/gather_u32_3d_axis2/output_0.cairo rename to tests/nodes/gather_u32_3d_axis2/output_0.cairo diff --git a/tests/src/nodes/gather_u32_3d_default.cairo b/tests/nodes/gather_u32_3d_default.cairo similarity index 100% rename from tests/src/nodes/gather_u32_3d_default.cairo rename to tests/nodes/gather_u32_3d_default.cairo diff --git a/tests/src/nodes/gather_u32_3d_default/input_0.cairo b/tests/nodes/gather_u32_3d_default/input_0.cairo similarity index 100% rename from tests/src/nodes/gather_u32_3d_default/input_0.cairo rename to tests/nodes/gather_u32_3d_default/input_0.cairo diff --git a/tests/src/nodes/gather_u32_3d_default/input_1.cairo b/tests/nodes/gather_u32_3d_default/input_1.cairo similarity index 100% rename from tests/src/nodes/gather_u32_3d_default/input_1.cairo rename to tests/nodes/gather_u32_3d_default/input_1.cairo diff --git a/tests/src/nodes/gather_u32_3d_default/output_0.cairo b/tests/nodes/gather_u32_3d_default/output_0.cairo similarity index 100% rename from tests/src/nodes/gather_u32_3d_default/output_0.cairo rename to tests/nodes/gather_u32_3d_default/output_0.cairo diff --git a/tests/src/nodes/gemm_all_attributes.cairo b/tests/nodes/gemm_all_attributes.cairo similarity index 100% rename from tests/src/nodes/gemm_all_attributes.cairo rename to tests/nodes/gemm_all_attributes.cairo diff --git a/tests/src/nodes/gemm_all_attributes/input_0.cairo b/tests/nodes/gemm_all_attributes/input_0.cairo similarity index 100% rename from tests/src/nodes/gemm_all_attributes/input_0.cairo rename to tests/nodes/gemm_all_attributes/input_0.cairo diff --git a/tests/src/nodes/gemm_all_attributes/input_1.cairo b/tests/nodes/gemm_all_attributes/input_1.cairo similarity index 100% rename from tests/src/nodes/gemm_all_attributes/input_1.cairo rename to tests/nodes/gemm_all_attributes/input_1.cairo diff --git a/tests/src/nodes/gemm_all_attributes/input_2.cairo b/tests/nodes/gemm_all_attributes/input_2.cairo similarity index 100% rename from tests/src/nodes/gemm_all_attributes/input_2.cairo rename to tests/nodes/gemm_all_attributes/input_2.cairo diff --git a/tests/src/nodes/gemm_all_attributes/output_0.cairo b/tests/nodes/gemm_all_attributes/output_0.cairo similarity index 100% rename from tests/src/nodes/gemm_all_attributes/output_0.cairo rename to tests/nodes/gemm_all_attributes/output_0.cairo diff --git a/tests/src/nodes/gemm_alpha.cairo b/tests/nodes/gemm_alpha.cairo similarity index 100% rename from tests/src/nodes/gemm_alpha.cairo rename to tests/nodes/gemm_alpha.cairo diff --git a/tests/src/nodes/gemm_alpha/input_0.cairo b/tests/nodes/gemm_alpha/input_0.cairo similarity index 100% rename from tests/src/nodes/gemm_alpha/input_0.cairo rename to tests/nodes/gemm_alpha/input_0.cairo diff --git a/tests/src/nodes/gemm_alpha/input_1.cairo b/tests/nodes/gemm_alpha/input_1.cairo similarity index 100% rename from tests/src/nodes/gemm_alpha/input_1.cairo rename to tests/nodes/gemm_alpha/input_1.cairo diff --git a/tests/src/nodes/gemm_alpha/output_0.cairo b/tests/nodes/gemm_alpha/output_0.cairo similarity index 100% rename from tests/src/nodes/gemm_alpha/output_0.cairo rename to tests/nodes/gemm_alpha/output_0.cairo diff --git a/tests/src/nodes/gemm_beta.cairo b/tests/nodes/gemm_beta.cairo similarity index 100% rename from tests/src/nodes/gemm_beta.cairo rename to tests/nodes/gemm_beta.cairo diff --git a/tests/src/nodes/gemm_beta/input_0.cairo b/tests/nodes/gemm_beta/input_0.cairo similarity index 100% rename from tests/src/nodes/gemm_beta/input_0.cairo rename to tests/nodes/gemm_beta/input_0.cairo diff --git a/tests/src/nodes/gemm_beta/input_1.cairo b/tests/nodes/gemm_beta/input_1.cairo similarity index 100% rename from tests/src/nodes/gemm_beta/input_1.cairo rename to tests/nodes/gemm_beta/input_1.cairo diff --git a/tests/src/nodes/gemm_beta/input_2.cairo b/tests/nodes/gemm_beta/input_2.cairo similarity index 100% rename from tests/src/nodes/gemm_beta/input_2.cairo rename to tests/nodes/gemm_beta/input_2.cairo diff --git a/tests/src/nodes/gemm_beta/output_0.cairo b/tests/nodes/gemm_beta/output_0.cairo similarity index 100% rename from tests/src/nodes/gemm_beta/output_0.cairo rename to tests/nodes/gemm_beta/output_0.cairo diff --git a/tests/src/nodes/gemm_default_matrix_bias.cairo b/tests/nodes/gemm_default_matrix_bias.cairo similarity index 100% rename from tests/src/nodes/gemm_default_matrix_bias.cairo rename to tests/nodes/gemm_default_matrix_bias.cairo diff --git a/tests/src/nodes/gemm_default_matrix_bias/input_0.cairo b/tests/nodes/gemm_default_matrix_bias/input_0.cairo similarity index 100% rename from tests/src/nodes/gemm_default_matrix_bias/input_0.cairo rename to tests/nodes/gemm_default_matrix_bias/input_0.cairo diff --git a/tests/src/nodes/gemm_default_matrix_bias/input_1.cairo b/tests/nodes/gemm_default_matrix_bias/input_1.cairo similarity index 100% rename from tests/src/nodes/gemm_default_matrix_bias/input_1.cairo rename to tests/nodes/gemm_default_matrix_bias/input_1.cairo diff --git a/tests/src/nodes/gemm_default_matrix_bias/input_2.cairo b/tests/nodes/gemm_default_matrix_bias/input_2.cairo similarity index 100% rename from tests/src/nodes/gemm_default_matrix_bias/input_2.cairo rename to tests/nodes/gemm_default_matrix_bias/input_2.cairo diff --git a/tests/src/nodes/gemm_default_matrix_bias/output_0.cairo b/tests/nodes/gemm_default_matrix_bias/output_0.cairo similarity index 100% rename from tests/src/nodes/gemm_default_matrix_bias/output_0.cairo rename to tests/nodes/gemm_default_matrix_bias/output_0.cairo diff --git a/tests/src/nodes/gemm_default_no_bias.cairo b/tests/nodes/gemm_default_no_bias.cairo similarity index 100% rename from tests/src/nodes/gemm_default_no_bias.cairo rename to tests/nodes/gemm_default_no_bias.cairo diff --git a/tests/src/nodes/gemm_default_no_bias/input_0.cairo b/tests/nodes/gemm_default_no_bias/input_0.cairo similarity index 100% rename from tests/src/nodes/gemm_default_no_bias/input_0.cairo rename to tests/nodes/gemm_default_no_bias/input_0.cairo diff --git a/tests/src/nodes/gemm_default_no_bias/input_1.cairo b/tests/nodes/gemm_default_no_bias/input_1.cairo similarity index 100% rename from tests/src/nodes/gemm_default_no_bias/input_1.cairo rename to tests/nodes/gemm_default_no_bias/input_1.cairo diff --git a/tests/src/nodes/gemm_default_no_bias/output_0.cairo b/tests/nodes/gemm_default_no_bias/output_0.cairo similarity index 100% rename from tests/src/nodes/gemm_default_no_bias/output_0.cairo rename to tests/nodes/gemm_default_no_bias/output_0.cairo diff --git a/tests/src/nodes/gemm_default_vector_bias.cairo b/tests/nodes/gemm_default_vector_bias.cairo similarity index 100% rename from tests/src/nodes/gemm_default_vector_bias.cairo rename to tests/nodes/gemm_default_vector_bias.cairo diff --git a/tests/src/nodes/gemm_default_vector_bias/input_0.cairo b/tests/nodes/gemm_default_vector_bias/input_0.cairo similarity index 100% rename from tests/src/nodes/gemm_default_vector_bias/input_0.cairo rename to tests/nodes/gemm_default_vector_bias/input_0.cairo diff --git a/tests/src/nodes/gemm_default_vector_bias/input_1.cairo b/tests/nodes/gemm_default_vector_bias/input_1.cairo similarity index 100% rename from tests/src/nodes/gemm_default_vector_bias/input_1.cairo rename to tests/nodes/gemm_default_vector_bias/input_1.cairo diff --git a/tests/src/nodes/gemm_default_vector_bias/input_2.cairo b/tests/nodes/gemm_default_vector_bias/input_2.cairo similarity index 100% rename from tests/src/nodes/gemm_default_vector_bias/input_2.cairo rename to tests/nodes/gemm_default_vector_bias/input_2.cairo diff --git a/tests/src/nodes/gemm_default_vector_bias/output_0.cairo b/tests/nodes/gemm_default_vector_bias/output_0.cairo similarity index 100% rename from tests/src/nodes/gemm_default_vector_bias/output_0.cairo rename to tests/nodes/gemm_default_vector_bias/output_0.cairo diff --git a/tests/src/nodes/gemm_transposeA.cairo b/tests/nodes/gemm_transposeA.cairo similarity index 100% rename from tests/src/nodes/gemm_transposeA.cairo rename to tests/nodes/gemm_transposeA.cairo diff --git a/tests/src/nodes/gemm_transposeA/input_0.cairo b/tests/nodes/gemm_transposeA/input_0.cairo similarity index 100% rename from tests/src/nodes/gemm_transposeA/input_0.cairo rename to tests/nodes/gemm_transposeA/input_0.cairo diff --git a/tests/src/nodes/gemm_transposeA/input_1.cairo b/tests/nodes/gemm_transposeA/input_1.cairo similarity index 100% rename from tests/src/nodes/gemm_transposeA/input_1.cairo rename to tests/nodes/gemm_transposeA/input_1.cairo diff --git a/tests/src/nodes/gemm_transposeA/output_0.cairo b/tests/nodes/gemm_transposeA/output_0.cairo similarity index 100% rename from tests/src/nodes/gemm_transposeA/output_0.cairo rename to tests/nodes/gemm_transposeA/output_0.cairo diff --git a/tests/src/nodes/gemm_transposeB.cairo b/tests/nodes/gemm_transposeB.cairo similarity index 100% rename from tests/src/nodes/gemm_transposeB.cairo rename to tests/nodes/gemm_transposeB.cairo diff --git a/tests/src/nodes/gemm_transposeB/input_0.cairo b/tests/nodes/gemm_transposeB/input_0.cairo similarity index 100% rename from tests/src/nodes/gemm_transposeB/input_0.cairo rename to tests/nodes/gemm_transposeB/input_0.cairo diff --git a/tests/src/nodes/gemm_transposeB/input_1.cairo b/tests/nodes/gemm_transposeB/input_1.cairo similarity index 100% rename from tests/src/nodes/gemm_transposeB/input_1.cairo rename to tests/nodes/gemm_transposeB/input_1.cairo diff --git a/tests/src/nodes/gemm_transposeB/output_0.cairo b/tests/nodes/gemm_transposeB/output_0.cairo similarity index 100% rename from tests/src/nodes/gemm_transposeB/output_0.cairo rename to tests/nodes/gemm_transposeB/output_0.cairo diff --git a/tests/src/nodes/greater_equal_fp16x16.cairo b/tests/nodes/greater_equal_fp16x16.cairo similarity index 100% rename from tests/src/nodes/greater_equal_fp16x16.cairo rename to tests/nodes/greater_equal_fp16x16.cairo diff --git a/tests/src/nodes/greater_equal_fp16x16/input_0.cairo b/tests/nodes/greater_equal_fp16x16/input_0.cairo similarity index 100% rename from tests/src/nodes/greater_equal_fp16x16/input_0.cairo rename to tests/nodes/greater_equal_fp16x16/input_0.cairo diff --git a/tests/src/nodes/greater_equal_fp16x16/input_1.cairo b/tests/nodes/greater_equal_fp16x16/input_1.cairo similarity index 100% rename from tests/src/nodes/greater_equal_fp16x16/input_1.cairo rename to tests/nodes/greater_equal_fp16x16/input_1.cairo diff --git a/tests/src/nodes/greater_equal_fp16x16/output_0.cairo b/tests/nodes/greater_equal_fp16x16/output_0.cairo similarity index 100% rename from tests/src/nodes/greater_equal_fp16x16/output_0.cairo rename to tests/nodes/greater_equal_fp16x16/output_0.cairo diff --git a/tests/src/nodes/greater_equal_fp16x16_broadcast.cairo b/tests/nodes/greater_equal_fp16x16_broadcast.cairo similarity index 100% rename from tests/src/nodes/greater_equal_fp16x16_broadcast.cairo rename to tests/nodes/greater_equal_fp16x16_broadcast.cairo diff --git a/tests/src/nodes/greater_equal_fp16x16_broadcast/input_0.cairo b/tests/nodes/greater_equal_fp16x16_broadcast/input_0.cairo similarity index 100% rename from tests/src/nodes/greater_equal_fp16x16_broadcast/input_0.cairo rename to tests/nodes/greater_equal_fp16x16_broadcast/input_0.cairo diff --git a/tests/src/nodes/greater_equal_fp16x16_broadcast/input_1.cairo b/tests/nodes/greater_equal_fp16x16_broadcast/input_1.cairo similarity index 100% rename from tests/src/nodes/greater_equal_fp16x16_broadcast/input_1.cairo rename to tests/nodes/greater_equal_fp16x16_broadcast/input_1.cairo diff --git a/tests/src/nodes/greater_equal_fp16x16_broadcast/output_0.cairo b/tests/nodes/greater_equal_fp16x16_broadcast/output_0.cairo similarity index 100% rename from tests/src/nodes/greater_equal_fp16x16_broadcast/output_0.cairo rename to tests/nodes/greater_equal_fp16x16_broadcast/output_0.cairo diff --git a/tests/src/nodes/greater_equal_fp8x23.cairo b/tests/nodes/greater_equal_fp8x23.cairo similarity index 100% rename from tests/src/nodes/greater_equal_fp8x23.cairo rename to tests/nodes/greater_equal_fp8x23.cairo diff --git a/tests/src/nodes/greater_equal_fp8x23/input_0.cairo b/tests/nodes/greater_equal_fp8x23/input_0.cairo similarity index 100% rename from tests/src/nodes/greater_equal_fp8x23/input_0.cairo rename to tests/nodes/greater_equal_fp8x23/input_0.cairo diff --git a/tests/src/nodes/greater_equal_fp8x23/input_1.cairo b/tests/nodes/greater_equal_fp8x23/input_1.cairo similarity index 100% rename from tests/src/nodes/greater_equal_fp8x23/input_1.cairo rename to tests/nodes/greater_equal_fp8x23/input_1.cairo diff --git a/tests/src/nodes/greater_equal_fp8x23/output_0.cairo b/tests/nodes/greater_equal_fp8x23/output_0.cairo similarity index 100% rename from tests/src/nodes/greater_equal_fp8x23/output_0.cairo rename to tests/nodes/greater_equal_fp8x23/output_0.cairo diff --git a/tests/src/nodes/greater_equal_fp8x23_broadcast.cairo b/tests/nodes/greater_equal_fp8x23_broadcast.cairo similarity index 100% rename from tests/src/nodes/greater_equal_fp8x23_broadcast.cairo rename to tests/nodes/greater_equal_fp8x23_broadcast.cairo diff --git a/tests/src/nodes/greater_equal_fp8x23_broadcast/input_0.cairo b/tests/nodes/greater_equal_fp8x23_broadcast/input_0.cairo similarity index 100% rename from tests/src/nodes/greater_equal_fp8x23_broadcast/input_0.cairo rename to tests/nodes/greater_equal_fp8x23_broadcast/input_0.cairo diff --git a/tests/src/nodes/greater_equal_fp8x23_broadcast/input_1.cairo b/tests/nodes/greater_equal_fp8x23_broadcast/input_1.cairo similarity index 100% rename from tests/src/nodes/greater_equal_fp8x23_broadcast/input_1.cairo rename to tests/nodes/greater_equal_fp8x23_broadcast/input_1.cairo diff --git a/tests/src/nodes/greater_equal_fp8x23_broadcast/output_0.cairo b/tests/nodes/greater_equal_fp8x23_broadcast/output_0.cairo similarity index 100% rename from tests/src/nodes/greater_equal_fp8x23_broadcast/output_0.cairo rename to tests/nodes/greater_equal_fp8x23_broadcast/output_0.cairo diff --git a/tests/src/nodes/greater_equal_i32.cairo b/tests/nodes/greater_equal_i32.cairo similarity index 100% rename from tests/src/nodes/greater_equal_i32.cairo rename to tests/nodes/greater_equal_i32.cairo diff --git a/tests/src/nodes/greater_equal_i32/input_0.cairo b/tests/nodes/greater_equal_i32/input_0.cairo similarity index 100% rename from tests/src/nodes/greater_equal_i32/input_0.cairo rename to tests/nodes/greater_equal_i32/input_0.cairo diff --git a/tests/src/nodes/greater_equal_i32/input_1.cairo b/tests/nodes/greater_equal_i32/input_1.cairo similarity index 100% rename from tests/src/nodes/greater_equal_i32/input_1.cairo rename to tests/nodes/greater_equal_i32/input_1.cairo diff --git a/tests/src/nodes/greater_equal_i32/output_0.cairo b/tests/nodes/greater_equal_i32/output_0.cairo similarity index 100% rename from tests/src/nodes/greater_equal_i32/output_0.cairo rename to tests/nodes/greater_equal_i32/output_0.cairo diff --git a/tests/src/nodes/greater_equal_i32_broadcast.cairo b/tests/nodes/greater_equal_i32_broadcast.cairo similarity index 100% rename from tests/src/nodes/greater_equal_i32_broadcast.cairo rename to tests/nodes/greater_equal_i32_broadcast.cairo diff --git a/tests/src/nodes/greater_equal_i32_broadcast/input_0.cairo b/tests/nodes/greater_equal_i32_broadcast/input_0.cairo similarity index 100% rename from tests/src/nodes/greater_equal_i32_broadcast/input_0.cairo rename to tests/nodes/greater_equal_i32_broadcast/input_0.cairo diff --git a/tests/src/nodes/greater_equal_i32_broadcast/input_1.cairo b/tests/nodes/greater_equal_i32_broadcast/input_1.cairo similarity index 100% rename from tests/src/nodes/greater_equal_i32_broadcast/input_1.cairo rename to tests/nodes/greater_equal_i32_broadcast/input_1.cairo diff --git a/tests/src/nodes/greater_equal_i32_broadcast/output_0.cairo b/tests/nodes/greater_equal_i32_broadcast/output_0.cairo similarity index 100% rename from tests/src/nodes/greater_equal_i32_broadcast/output_0.cairo rename to tests/nodes/greater_equal_i32_broadcast/output_0.cairo diff --git a/tests/src/nodes/greater_equal_i8.cairo b/tests/nodes/greater_equal_i8.cairo similarity index 100% rename from tests/src/nodes/greater_equal_i8.cairo rename to tests/nodes/greater_equal_i8.cairo diff --git a/tests/src/nodes/greater_equal_i8/input_0.cairo b/tests/nodes/greater_equal_i8/input_0.cairo similarity index 100% rename from tests/src/nodes/greater_equal_i8/input_0.cairo rename to tests/nodes/greater_equal_i8/input_0.cairo diff --git a/tests/src/nodes/greater_equal_i8/input_1.cairo b/tests/nodes/greater_equal_i8/input_1.cairo similarity index 100% rename from tests/src/nodes/greater_equal_i8/input_1.cairo rename to tests/nodes/greater_equal_i8/input_1.cairo diff --git a/tests/src/nodes/greater_equal_i8/output_0.cairo b/tests/nodes/greater_equal_i8/output_0.cairo similarity index 100% rename from tests/src/nodes/greater_equal_i8/output_0.cairo rename to tests/nodes/greater_equal_i8/output_0.cairo diff --git a/tests/src/nodes/greater_equal_i8_broadcast.cairo b/tests/nodes/greater_equal_i8_broadcast.cairo similarity index 100% rename from tests/src/nodes/greater_equal_i8_broadcast.cairo rename to tests/nodes/greater_equal_i8_broadcast.cairo diff --git a/tests/src/nodes/greater_equal_i8_broadcast/input_0.cairo b/tests/nodes/greater_equal_i8_broadcast/input_0.cairo similarity index 100% rename from tests/src/nodes/greater_equal_i8_broadcast/input_0.cairo rename to tests/nodes/greater_equal_i8_broadcast/input_0.cairo diff --git a/tests/src/nodes/greater_equal_i8_broadcast/input_1.cairo b/tests/nodes/greater_equal_i8_broadcast/input_1.cairo similarity index 100% rename from tests/src/nodes/greater_equal_i8_broadcast/input_1.cairo rename to tests/nodes/greater_equal_i8_broadcast/input_1.cairo diff --git a/tests/src/nodes/greater_equal_i8_broadcast/output_0.cairo b/tests/nodes/greater_equal_i8_broadcast/output_0.cairo similarity index 100% rename from tests/src/nodes/greater_equal_i8_broadcast/output_0.cairo rename to tests/nodes/greater_equal_i8_broadcast/output_0.cairo diff --git a/tests/src/nodes/greater_equal_u32.cairo b/tests/nodes/greater_equal_u32.cairo similarity index 100% rename from tests/src/nodes/greater_equal_u32.cairo rename to tests/nodes/greater_equal_u32.cairo diff --git a/tests/src/nodes/greater_equal_u32/input_0.cairo b/tests/nodes/greater_equal_u32/input_0.cairo similarity index 100% rename from tests/src/nodes/greater_equal_u32/input_0.cairo rename to tests/nodes/greater_equal_u32/input_0.cairo diff --git a/tests/src/nodes/greater_equal_u32/input_1.cairo b/tests/nodes/greater_equal_u32/input_1.cairo similarity index 100% rename from tests/src/nodes/greater_equal_u32/input_1.cairo rename to tests/nodes/greater_equal_u32/input_1.cairo diff --git a/tests/src/nodes/greater_equal_u32/output_0.cairo b/tests/nodes/greater_equal_u32/output_0.cairo similarity index 100% rename from tests/src/nodes/greater_equal_u32/output_0.cairo rename to tests/nodes/greater_equal_u32/output_0.cairo diff --git a/tests/src/nodes/greater_equal_u32_broadcast.cairo b/tests/nodes/greater_equal_u32_broadcast.cairo similarity index 100% rename from tests/src/nodes/greater_equal_u32_broadcast.cairo rename to tests/nodes/greater_equal_u32_broadcast.cairo diff --git a/tests/src/nodes/greater_equal_u32_broadcast/input_0.cairo b/tests/nodes/greater_equal_u32_broadcast/input_0.cairo similarity index 100% rename from tests/src/nodes/greater_equal_u32_broadcast/input_0.cairo rename to tests/nodes/greater_equal_u32_broadcast/input_0.cairo diff --git a/tests/src/nodes/greater_equal_u32_broadcast/input_1.cairo b/tests/nodes/greater_equal_u32_broadcast/input_1.cairo similarity index 100% rename from tests/src/nodes/greater_equal_u32_broadcast/input_1.cairo rename to tests/nodes/greater_equal_u32_broadcast/input_1.cairo diff --git a/tests/src/nodes/greater_equal_u32_broadcast/output_0.cairo b/tests/nodes/greater_equal_u32_broadcast/output_0.cairo similarity index 100% rename from tests/src/nodes/greater_equal_u32_broadcast/output_0.cairo rename to tests/nodes/greater_equal_u32_broadcast/output_0.cairo diff --git a/tests/src/nodes/greater_fp16x16.cairo b/tests/nodes/greater_fp16x16.cairo similarity index 100% rename from tests/src/nodes/greater_fp16x16.cairo rename to tests/nodes/greater_fp16x16.cairo diff --git a/tests/src/nodes/greater_fp16x16/input_0.cairo b/tests/nodes/greater_fp16x16/input_0.cairo similarity index 100% rename from tests/src/nodes/greater_fp16x16/input_0.cairo rename to tests/nodes/greater_fp16x16/input_0.cairo diff --git a/tests/src/nodes/greater_fp16x16/input_1.cairo b/tests/nodes/greater_fp16x16/input_1.cairo similarity index 100% rename from tests/src/nodes/greater_fp16x16/input_1.cairo rename to tests/nodes/greater_fp16x16/input_1.cairo diff --git a/tests/src/nodes/greater_fp16x16/output_0.cairo b/tests/nodes/greater_fp16x16/output_0.cairo similarity index 100% rename from tests/src/nodes/greater_fp16x16/output_0.cairo rename to tests/nodes/greater_fp16x16/output_0.cairo diff --git a/tests/src/nodes/greater_fp16x16_broadcast.cairo b/tests/nodes/greater_fp16x16_broadcast.cairo similarity index 100% rename from tests/src/nodes/greater_fp16x16_broadcast.cairo rename to tests/nodes/greater_fp16x16_broadcast.cairo diff --git a/tests/src/nodes/greater_fp16x16_broadcast/input_0.cairo b/tests/nodes/greater_fp16x16_broadcast/input_0.cairo similarity index 100% rename from tests/src/nodes/greater_fp16x16_broadcast/input_0.cairo rename to tests/nodes/greater_fp16x16_broadcast/input_0.cairo diff --git a/tests/src/nodes/greater_fp16x16_broadcast/input_1.cairo b/tests/nodes/greater_fp16x16_broadcast/input_1.cairo similarity index 100% rename from tests/src/nodes/greater_fp16x16_broadcast/input_1.cairo rename to tests/nodes/greater_fp16x16_broadcast/input_1.cairo diff --git a/tests/src/nodes/greater_fp16x16_broadcast/output_0.cairo b/tests/nodes/greater_fp16x16_broadcast/output_0.cairo similarity index 100% rename from tests/src/nodes/greater_fp16x16_broadcast/output_0.cairo rename to tests/nodes/greater_fp16x16_broadcast/output_0.cairo diff --git a/tests/src/nodes/greater_fp8x23.cairo b/tests/nodes/greater_fp8x23.cairo similarity index 100% rename from tests/src/nodes/greater_fp8x23.cairo rename to tests/nodes/greater_fp8x23.cairo diff --git a/tests/src/nodes/greater_fp8x23/input_0.cairo b/tests/nodes/greater_fp8x23/input_0.cairo similarity index 100% rename from tests/src/nodes/greater_fp8x23/input_0.cairo rename to tests/nodes/greater_fp8x23/input_0.cairo diff --git a/tests/src/nodes/greater_fp8x23/input_1.cairo b/tests/nodes/greater_fp8x23/input_1.cairo similarity index 100% rename from tests/src/nodes/greater_fp8x23/input_1.cairo rename to tests/nodes/greater_fp8x23/input_1.cairo diff --git a/tests/src/nodes/greater_fp8x23/output_0.cairo b/tests/nodes/greater_fp8x23/output_0.cairo similarity index 100% rename from tests/src/nodes/greater_fp8x23/output_0.cairo rename to tests/nodes/greater_fp8x23/output_0.cairo diff --git a/tests/src/nodes/greater_fp8x23_broadcast.cairo b/tests/nodes/greater_fp8x23_broadcast.cairo similarity index 100% rename from tests/src/nodes/greater_fp8x23_broadcast.cairo rename to tests/nodes/greater_fp8x23_broadcast.cairo diff --git a/tests/src/nodes/greater_fp8x23_broadcast/input_0.cairo b/tests/nodes/greater_fp8x23_broadcast/input_0.cairo similarity index 100% rename from tests/src/nodes/greater_fp8x23_broadcast/input_0.cairo rename to tests/nodes/greater_fp8x23_broadcast/input_0.cairo diff --git a/tests/src/nodes/greater_fp8x23_broadcast/input_1.cairo b/tests/nodes/greater_fp8x23_broadcast/input_1.cairo similarity index 100% rename from tests/src/nodes/greater_fp8x23_broadcast/input_1.cairo rename to tests/nodes/greater_fp8x23_broadcast/input_1.cairo diff --git a/tests/src/nodes/greater_fp8x23_broadcast/output_0.cairo b/tests/nodes/greater_fp8x23_broadcast/output_0.cairo similarity index 100% rename from tests/src/nodes/greater_fp8x23_broadcast/output_0.cairo rename to tests/nodes/greater_fp8x23_broadcast/output_0.cairo diff --git a/tests/src/nodes/greater_i32.cairo b/tests/nodes/greater_i32.cairo similarity index 100% rename from tests/src/nodes/greater_i32.cairo rename to tests/nodes/greater_i32.cairo diff --git a/tests/src/nodes/greater_i32/input_0.cairo b/tests/nodes/greater_i32/input_0.cairo similarity index 100% rename from tests/src/nodes/greater_i32/input_0.cairo rename to tests/nodes/greater_i32/input_0.cairo diff --git a/tests/src/nodes/greater_i32/input_1.cairo b/tests/nodes/greater_i32/input_1.cairo similarity index 100% rename from tests/src/nodes/greater_i32/input_1.cairo rename to tests/nodes/greater_i32/input_1.cairo diff --git a/tests/src/nodes/greater_i32/output_0.cairo b/tests/nodes/greater_i32/output_0.cairo similarity index 100% rename from tests/src/nodes/greater_i32/output_0.cairo rename to tests/nodes/greater_i32/output_0.cairo diff --git a/tests/src/nodes/greater_i32_broadcast.cairo b/tests/nodes/greater_i32_broadcast.cairo similarity index 100% rename from tests/src/nodes/greater_i32_broadcast.cairo rename to tests/nodes/greater_i32_broadcast.cairo diff --git a/tests/src/nodes/greater_i32_broadcast/input_0.cairo b/tests/nodes/greater_i32_broadcast/input_0.cairo similarity index 100% rename from tests/src/nodes/greater_i32_broadcast/input_0.cairo rename to tests/nodes/greater_i32_broadcast/input_0.cairo diff --git a/tests/src/nodes/greater_i32_broadcast/input_1.cairo b/tests/nodes/greater_i32_broadcast/input_1.cairo similarity index 100% rename from tests/src/nodes/greater_i32_broadcast/input_1.cairo rename to tests/nodes/greater_i32_broadcast/input_1.cairo diff --git a/tests/src/nodes/greater_i32_broadcast/output_0.cairo b/tests/nodes/greater_i32_broadcast/output_0.cairo similarity index 100% rename from tests/src/nodes/greater_i32_broadcast/output_0.cairo rename to tests/nodes/greater_i32_broadcast/output_0.cairo diff --git a/tests/src/nodes/greater_i8.cairo b/tests/nodes/greater_i8.cairo similarity index 100% rename from tests/src/nodes/greater_i8.cairo rename to tests/nodes/greater_i8.cairo diff --git a/tests/src/nodes/greater_i8/input_0.cairo b/tests/nodes/greater_i8/input_0.cairo similarity index 100% rename from tests/src/nodes/greater_i8/input_0.cairo rename to tests/nodes/greater_i8/input_0.cairo diff --git a/tests/src/nodes/greater_i8/input_1.cairo b/tests/nodes/greater_i8/input_1.cairo similarity index 100% rename from tests/src/nodes/greater_i8/input_1.cairo rename to tests/nodes/greater_i8/input_1.cairo diff --git a/tests/src/nodes/greater_i8/output_0.cairo b/tests/nodes/greater_i8/output_0.cairo similarity index 100% rename from tests/src/nodes/greater_i8/output_0.cairo rename to tests/nodes/greater_i8/output_0.cairo diff --git a/tests/src/nodes/greater_i8_broadcast.cairo b/tests/nodes/greater_i8_broadcast.cairo similarity index 100% rename from tests/src/nodes/greater_i8_broadcast.cairo rename to tests/nodes/greater_i8_broadcast.cairo diff --git a/tests/src/nodes/greater_i8_broadcast/input_0.cairo b/tests/nodes/greater_i8_broadcast/input_0.cairo similarity index 100% rename from tests/src/nodes/greater_i8_broadcast/input_0.cairo rename to tests/nodes/greater_i8_broadcast/input_0.cairo diff --git a/tests/src/nodes/greater_i8_broadcast/input_1.cairo b/tests/nodes/greater_i8_broadcast/input_1.cairo similarity index 100% rename from tests/src/nodes/greater_i8_broadcast/input_1.cairo rename to tests/nodes/greater_i8_broadcast/input_1.cairo diff --git a/tests/src/nodes/greater_i8_broadcast/output_0.cairo b/tests/nodes/greater_i8_broadcast/output_0.cairo similarity index 100% rename from tests/src/nodes/greater_i8_broadcast/output_0.cairo rename to tests/nodes/greater_i8_broadcast/output_0.cairo diff --git a/tests/src/nodes/greater_u32.cairo b/tests/nodes/greater_u32.cairo similarity index 100% rename from tests/src/nodes/greater_u32.cairo rename to tests/nodes/greater_u32.cairo diff --git a/tests/src/nodes/greater_u32/input_0.cairo b/tests/nodes/greater_u32/input_0.cairo similarity index 100% rename from tests/src/nodes/greater_u32/input_0.cairo rename to tests/nodes/greater_u32/input_0.cairo diff --git a/tests/src/nodes/greater_u32/input_1.cairo b/tests/nodes/greater_u32/input_1.cairo similarity index 100% rename from tests/src/nodes/greater_u32/input_1.cairo rename to tests/nodes/greater_u32/input_1.cairo diff --git a/tests/src/nodes/greater_u32/output_0.cairo b/tests/nodes/greater_u32/output_0.cairo similarity index 100% rename from tests/src/nodes/greater_u32/output_0.cairo rename to tests/nodes/greater_u32/output_0.cairo diff --git a/tests/src/nodes/greater_u32_broadcast.cairo b/tests/nodes/greater_u32_broadcast.cairo similarity index 100% rename from tests/src/nodes/greater_u32_broadcast.cairo rename to tests/nodes/greater_u32_broadcast.cairo diff --git a/tests/src/nodes/greater_u32_broadcast/input_0.cairo b/tests/nodes/greater_u32_broadcast/input_0.cairo similarity index 100% rename from tests/src/nodes/greater_u32_broadcast/input_0.cairo rename to tests/nodes/greater_u32_broadcast/input_0.cairo diff --git a/tests/src/nodes/greater_u32_broadcast/input_1.cairo b/tests/nodes/greater_u32_broadcast/input_1.cairo similarity index 100% rename from tests/src/nodes/greater_u32_broadcast/input_1.cairo rename to tests/nodes/greater_u32_broadcast/input_1.cairo diff --git a/tests/src/nodes/greater_u32_broadcast/output_0.cairo b/tests/nodes/greater_u32_broadcast/output_0.cairo similarity index 100% rename from tests/src/nodes/greater_u32_broadcast/output_0.cairo rename to tests/nodes/greater_u32_broadcast/output_0.cairo diff --git a/tests/src/nodes/hard_sigmoid_fp16x16.cairo b/tests/nodes/hard_sigmoid_fp16x16.cairo similarity index 100% rename from tests/src/nodes/hard_sigmoid_fp16x16.cairo rename to tests/nodes/hard_sigmoid_fp16x16.cairo diff --git a/tests/src/nodes/hard_sigmoid_fp16x16/input_0.cairo b/tests/nodes/hard_sigmoid_fp16x16/input_0.cairo similarity index 100% rename from tests/src/nodes/hard_sigmoid_fp16x16/input_0.cairo rename to tests/nodes/hard_sigmoid_fp16x16/input_0.cairo diff --git a/tests/src/nodes/hard_sigmoid_fp16x16/output_0.cairo b/tests/nodes/hard_sigmoid_fp16x16/output_0.cairo similarity index 100% rename from tests/src/nodes/hard_sigmoid_fp16x16/output_0.cairo rename to tests/nodes/hard_sigmoid_fp16x16/output_0.cairo diff --git a/tests/src/nodes/hard_sigmoid_fp8x23.cairo b/tests/nodes/hard_sigmoid_fp8x23.cairo similarity index 100% rename from tests/src/nodes/hard_sigmoid_fp8x23.cairo rename to tests/nodes/hard_sigmoid_fp8x23.cairo diff --git a/tests/src/nodes/hard_sigmoid_fp8x23/input_0.cairo b/tests/nodes/hard_sigmoid_fp8x23/input_0.cairo similarity index 100% rename from tests/src/nodes/hard_sigmoid_fp8x23/input_0.cairo rename to tests/nodes/hard_sigmoid_fp8x23/input_0.cairo diff --git a/tests/src/nodes/hard_sigmoid_fp8x23/output_0.cairo b/tests/nodes/hard_sigmoid_fp8x23/output_0.cairo similarity index 100% rename from tests/src/nodes/hard_sigmoid_fp8x23/output_0.cairo rename to tests/nodes/hard_sigmoid_fp8x23/output_0.cairo diff --git a/tests/src/nodes/identity_fP16x16.cairo b/tests/nodes/identity_fP16x16.cairo similarity index 100% rename from tests/src/nodes/identity_fP16x16.cairo rename to tests/nodes/identity_fP16x16.cairo diff --git a/tests/src/nodes/identity_fP16x16/input_0.cairo b/tests/nodes/identity_fP16x16/input_0.cairo similarity index 100% rename from tests/src/nodes/identity_fP16x16/input_0.cairo rename to tests/nodes/identity_fP16x16/input_0.cairo diff --git a/tests/src/nodes/identity_fP16x16/output_0.cairo b/tests/nodes/identity_fP16x16/output_0.cairo similarity index 100% rename from tests/src/nodes/identity_fP16x16/output_0.cairo rename to tests/nodes/identity_fP16x16/output_0.cairo diff --git a/tests/src/nodes/identity_fP8x23.cairo b/tests/nodes/identity_fP8x23.cairo similarity index 100% rename from tests/src/nodes/identity_fP8x23.cairo rename to tests/nodes/identity_fP8x23.cairo diff --git a/tests/src/nodes/identity_fP8x23/input_0.cairo b/tests/nodes/identity_fP8x23/input_0.cairo similarity index 100% rename from tests/src/nodes/identity_fP8x23/input_0.cairo rename to tests/nodes/identity_fP8x23/input_0.cairo diff --git a/tests/src/nodes/identity_fP8x23/output_0.cairo b/tests/nodes/identity_fP8x23/output_0.cairo similarity index 100% rename from tests/src/nodes/identity_fP8x23/output_0.cairo rename to tests/nodes/identity_fP8x23/output_0.cairo diff --git a/tests/src/nodes/identity_i32.cairo b/tests/nodes/identity_i32.cairo similarity index 100% rename from tests/src/nodes/identity_i32.cairo rename to tests/nodes/identity_i32.cairo diff --git a/tests/src/nodes/identity_i32/input_0.cairo b/tests/nodes/identity_i32/input_0.cairo similarity index 100% rename from tests/src/nodes/identity_i32/input_0.cairo rename to tests/nodes/identity_i32/input_0.cairo diff --git a/tests/src/nodes/identity_i32/output_0.cairo b/tests/nodes/identity_i32/output_0.cairo similarity index 100% rename from tests/src/nodes/identity_i32/output_0.cairo rename to tests/nodes/identity_i32/output_0.cairo diff --git a/tests/src/nodes/identity_i8.cairo b/tests/nodes/identity_i8.cairo similarity index 100% rename from tests/src/nodes/identity_i8.cairo rename to tests/nodes/identity_i8.cairo diff --git a/tests/src/nodes/identity_i8/input_0.cairo b/tests/nodes/identity_i8/input_0.cairo similarity index 100% rename from tests/src/nodes/identity_i8/input_0.cairo rename to tests/nodes/identity_i8/input_0.cairo diff --git a/tests/src/nodes/identity_i8/output_0.cairo b/tests/nodes/identity_i8/output_0.cairo similarity index 100% rename from tests/src/nodes/identity_i8/output_0.cairo rename to tests/nodes/identity_i8/output_0.cairo diff --git a/tests/src/nodes/identity_u32.cairo b/tests/nodes/identity_u32.cairo similarity index 100% rename from tests/src/nodes/identity_u32.cairo rename to tests/nodes/identity_u32.cairo diff --git a/tests/src/nodes/identity_u32/input_0.cairo b/tests/nodes/identity_u32/input_0.cairo similarity index 100% rename from tests/src/nodes/identity_u32/input_0.cairo rename to tests/nodes/identity_u32/input_0.cairo diff --git a/tests/src/nodes/identity_u32/output_0.cairo b/tests/nodes/identity_u32/output_0.cairo similarity index 100% rename from tests/src/nodes/identity_u32/output_0.cairo rename to tests/nodes/identity_u32/output_0.cairo diff --git a/tests/src/nodes/leaky_relu_fp16x16.cairo b/tests/nodes/leaky_relu_fp16x16.cairo similarity index 100% rename from tests/src/nodes/leaky_relu_fp16x16.cairo rename to tests/nodes/leaky_relu_fp16x16.cairo diff --git a/tests/src/nodes/leaky_relu_fp16x16/input_0.cairo b/tests/nodes/leaky_relu_fp16x16/input_0.cairo similarity index 100% rename from tests/src/nodes/leaky_relu_fp16x16/input_0.cairo rename to tests/nodes/leaky_relu_fp16x16/input_0.cairo diff --git a/tests/src/nodes/leaky_relu_fp16x16/output_0.cairo b/tests/nodes/leaky_relu_fp16x16/output_0.cairo similarity index 100% rename from tests/src/nodes/leaky_relu_fp16x16/output_0.cairo rename to tests/nodes/leaky_relu_fp16x16/output_0.cairo diff --git a/tests/src/nodes/leaky_relu_fp8x23.cairo b/tests/nodes/leaky_relu_fp8x23.cairo similarity index 100% rename from tests/src/nodes/leaky_relu_fp8x23.cairo rename to tests/nodes/leaky_relu_fp8x23.cairo diff --git a/tests/src/nodes/leaky_relu_fp8x23/input_0.cairo b/tests/nodes/leaky_relu_fp8x23/input_0.cairo similarity index 100% rename from tests/src/nodes/leaky_relu_fp8x23/input_0.cairo rename to tests/nodes/leaky_relu_fp8x23/input_0.cairo diff --git a/tests/src/nodes/leaky_relu_fp8x23/output_0.cairo b/tests/nodes/leaky_relu_fp8x23/output_0.cairo similarity index 100% rename from tests/src/nodes/leaky_relu_fp8x23/output_0.cairo rename to tests/nodes/leaky_relu_fp8x23/output_0.cairo diff --git a/tests/src/nodes/less_equal_fp16x16.cairo b/tests/nodes/less_equal_fp16x16.cairo similarity index 100% rename from tests/src/nodes/less_equal_fp16x16.cairo rename to tests/nodes/less_equal_fp16x16.cairo diff --git a/tests/src/nodes/less_equal_fp16x16/input_0.cairo b/tests/nodes/less_equal_fp16x16/input_0.cairo similarity index 100% rename from tests/src/nodes/less_equal_fp16x16/input_0.cairo rename to tests/nodes/less_equal_fp16x16/input_0.cairo diff --git a/tests/src/nodes/less_equal_fp16x16/input_1.cairo b/tests/nodes/less_equal_fp16x16/input_1.cairo similarity index 100% rename from tests/src/nodes/less_equal_fp16x16/input_1.cairo rename to tests/nodes/less_equal_fp16x16/input_1.cairo diff --git a/tests/src/nodes/less_equal_fp16x16/output_0.cairo b/tests/nodes/less_equal_fp16x16/output_0.cairo similarity index 100% rename from tests/src/nodes/less_equal_fp16x16/output_0.cairo rename to tests/nodes/less_equal_fp16x16/output_0.cairo diff --git a/tests/src/nodes/less_equal_fp16x16_broadcast.cairo b/tests/nodes/less_equal_fp16x16_broadcast.cairo similarity index 100% rename from tests/src/nodes/less_equal_fp16x16_broadcast.cairo rename to tests/nodes/less_equal_fp16x16_broadcast.cairo diff --git a/tests/src/nodes/less_equal_fp16x16_broadcast/input_0.cairo b/tests/nodes/less_equal_fp16x16_broadcast/input_0.cairo similarity index 100% rename from tests/src/nodes/less_equal_fp16x16_broadcast/input_0.cairo rename to tests/nodes/less_equal_fp16x16_broadcast/input_0.cairo diff --git a/tests/src/nodes/less_equal_fp16x16_broadcast/input_1.cairo b/tests/nodes/less_equal_fp16x16_broadcast/input_1.cairo similarity index 100% rename from tests/src/nodes/less_equal_fp16x16_broadcast/input_1.cairo rename to tests/nodes/less_equal_fp16x16_broadcast/input_1.cairo diff --git a/tests/src/nodes/less_equal_fp16x16_broadcast/output_0.cairo b/tests/nodes/less_equal_fp16x16_broadcast/output_0.cairo similarity index 100% rename from tests/src/nodes/less_equal_fp16x16_broadcast/output_0.cairo rename to tests/nodes/less_equal_fp16x16_broadcast/output_0.cairo diff --git a/tests/src/nodes/less_equal_fp8x23.cairo b/tests/nodes/less_equal_fp8x23.cairo similarity index 100% rename from tests/src/nodes/less_equal_fp8x23.cairo rename to tests/nodes/less_equal_fp8x23.cairo diff --git a/tests/src/nodes/less_equal_fp8x23/input_0.cairo b/tests/nodes/less_equal_fp8x23/input_0.cairo similarity index 100% rename from tests/src/nodes/less_equal_fp8x23/input_0.cairo rename to tests/nodes/less_equal_fp8x23/input_0.cairo diff --git a/tests/src/nodes/less_equal_fp8x23/input_1.cairo b/tests/nodes/less_equal_fp8x23/input_1.cairo similarity index 100% rename from tests/src/nodes/less_equal_fp8x23/input_1.cairo rename to tests/nodes/less_equal_fp8x23/input_1.cairo diff --git a/tests/src/nodes/less_equal_fp8x23/output_0.cairo b/tests/nodes/less_equal_fp8x23/output_0.cairo similarity index 100% rename from tests/src/nodes/less_equal_fp8x23/output_0.cairo rename to tests/nodes/less_equal_fp8x23/output_0.cairo diff --git a/tests/src/nodes/less_equal_fp8x23_broadcast.cairo b/tests/nodes/less_equal_fp8x23_broadcast.cairo similarity index 100% rename from tests/src/nodes/less_equal_fp8x23_broadcast.cairo rename to tests/nodes/less_equal_fp8x23_broadcast.cairo diff --git a/tests/src/nodes/less_equal_fp8x23_broadcast/input_0.cairo b/tests/nodes/less_equal_fp8x23_broadcast/input_0.cairo similarity index 100% rename from tests/src/nodes/less_equal_fp8x23_broadcast/input_0.cairo rename to tests/nodes/less_equal_fp8x23_broadcast/input_0.cairo diff --git a/tests/src/nodes/less_equal_fp8x23_broadcast/input_1.cairo b/tests/nodes/less_equal_fp8x23_broadcast/input_1.cairo similarity index 100% rename from tests/src/nodes/less_equal_fp8x23_broadcast/input_1.cairo rename to tests/nodes/less_equal_fp8x23_broadcast/input_1.cairo diff --git a/tests/src/nodes/less_equal_fp8x23_broadcast/output_0.cairo b/tests/nodes/less_equal_fp8x23_broadcast/output_0.cairo similarity index 100% rename from tests/src/nodes/less_equal_fp8x23_broadcast/output_0.cairo rename to tests/nodes/less_equal_fp8x23_broadcast/output_0.cairo diff --git a/tests/src/nodes/less_equal_i32.cairo b/tests/nodes/less_equal_i32.cairo similarity index 100% rename from tests/src/nodes/less_equal_i32.cairo rename to tests/nodes/less_equal_i32.cairo diff --git a/tests/src/nodes/less_equal_i32/input_0.cairo b/tests/nodes/less_equal_i32/input_0.cairo similarity index 100% rename from tests/src/nodes/less_equal_i32/input_0.cairo rename to tests/nodes/less_equal_i32/input_0.cairo diff --git a/tests/src/nodes/less_equal_i32/input_1.cairo b/tests/nodes/less_equal_i32/input_1.cairo similarity index 100% rename from tests/src/nodes/less_equal_i32/input_1.cairo rename to tests/nodes/less_equal_i32/input_1.cairo diff --git a/tests/src/nodes/less_equal_i32/output_0.cairo b/tests/nodes/less_equal_i32/output_0.cairo similarity index 100% rename from tests/src/nodes/less_equal_i32/output_0.cairo rename to tests/nodes/less_equal_i32/output_0.cairo diff --git a/tests/src/nodes/less_equal_i32_broadcast.cairo b/tests/nodes/less_equal_i32_broadcast.cairo similarity index 100% rename from tests/src/nodes/less_equal_i32_broadcast.cairo rename to tests/nodes/less_equal_i32_broadcast.cairo diff --git a/tests/src/nodes/less_equal_i32_broadcast/input_0.cairo b/tests/nodes/less_equal_i32_broadcast/input_0.cairo similarity index 100% rename from tests/src/nodes/less_equal_i32_broadcast/input_0.cairo rename to tests/nodes/less_equal_i32_broadcast/input_0.cairo diff --git a/tests/src/nodes/less_equal_i32_broadcast/input_1.cairo b/tests/nodes/less_equal_i32_broadcast/input_1.cairo similarity index 100% rename from tests/src/nodes/less_equal_i32_broadcast/input_1.cairo rename to tests/nodes/less_equal_i32_broadcast/input_1.cairo diff --git a/tests/src/nodes/less_equal_i32_broadcast/output_0.cairo b/tests/nodes/less_equal_i32_broadcast/output_0.cairo similarity index 100% rename from tests/src/nodes/less_equal_i32_broadcast/output_0.cairo rename to tests/nodes/less_equal_i32_broadcast/output_0.cairo diff --git a/tests/src/nodes/less_equal_i8.cairo b/tests/nodes/less_equal_i8.cairo similarity index 100% rename from tests/src/nodes/less_equal_i8.cairo rename to tests/nodes/less_equal_i8.cairo diff --git a/tests/src/nodes/less_equal_i8/input_0.cairo b/tests/nodes/less_equal_i8/input_0.cairo similarity index 100% rename from tests/src/nodes/less_equal_i8/input_0.cairo rename to tests/nodes/less_equal_i8/input_0.cairo diff --git a/tests/src/nodes/less_equal_i8/input_1.cairo b/tests/nodes/less_equal_i8/input_1.cairo similarity index 100% rename from tests/src/nodes/less_equal_i8/input_1.cairo rename to tests/nodes/less_equal_i8/input_1.cairo diff --git a/tests/src/nodes/less_equal_i8/output_0.cairo b/tests/nodes/less_equal_i8/output_0.cairo similarity index 100% rename from tests/src/nodes/less_equal_i8/output_0.cairo rename to tests/nodes/less_equal_i8/output_0.cairo diff --git a/tests/src/nodes/less_equal_i8_broadcast.cairo b/tests/nodes/less_equal_i8_broadcast.cairo similarity index 100% rename from tests/src/nodes/less_equal_i8_broadcast.cairo rename to tests/nodes/less_equal_i8_broadcast.cairo diff --git a/tests/src/nodes/less_equal_i8_broadcast/input_0.cairo b/tests/nodes/less_equal_i8_broadcast/input_0.cairo similarity index 100% rename from tests/src/nodes/less_equal_i8_broadcast/input_0.cairo rename to tests/nodes/less_equal_i8_broadcast/input_0.cairo diff --git a/tests/src/nodes/less_equal_i8_broadcast/input_1.cairo b/tests/nodes/less_equal_i8_broadcast/input_1.cairo similarity index 100% rename from tests/src/nodes/less_equal_i8_broadcast/input_1.cairo rename to tests/nodes/less_equal_i8_broadcast/input_1.cairo diff --git a/tests/src/nodes/less_equal_i8_broadcast/output_0.cairo b/tests/nodes/less_equal_i8_broadcast/output_0.cairo similarity index 100% rename from tests/src/nodes/less_equal_i8_broadcast/output_0.cairo rename to tests/nodes/less_equal_i8_broadcast/output_0.cairo diff --git a/tests/src/nodes/less_equal_u32.cairo b/tests/nodes/less_equal_u32.cairo similarity index 100% rename from tests/src/nodes/less_equal_u32.cairo rename to tests/nodes/less_equal_u32.cairo diff --git a/tests/src/nodes/less_equal_u32/input_0.cairo b/tests/nodes/less_equal_u32/input_0.cairo similarity index 100% rename from tests/src/nodes/less_equal_u32/input_0.cairo rename to tests/nodes/less_equal_u32/input_0.cairo diff --git a/tests/src/nodes/less_equal_u32/input_1.cairo b/tests/nodes/less_equal_u32/input_1.cairo similarity index 100% rename from tests/src/nodes/less_equal_u32/input_1.cairo rename to tests/nodes/less_equal_u32/input_1.cairo diff --git a/tests/src/nodes/less_equal_u32/output_0.cairo b/tests/nodes/less_equal_u32/output_0.cairo similarity index 100% rename from tests/src/nodes/less_equal_u32/output_0.cairo rename to tests/nodes/less_equal_u32/output_0.cairo diff --git a/tests/src/nodes/less_equal_u32_broadcast.cairo b/tests/nodes/less_equal_u32_broadcast.cairo similarity index 100% rename from tests/src/nodes/less_equal_u32_broadcast.cairo rename to tests/nodes/less_equal_u32_broadcast.cairo diff --git a/tests/src/nodes/less_equal_u32_broadcast/input_0.cairo b/tests/nodes/less_equal_u32_broadcast/input_0.cairo similarity index 100% rename from tests/src/nodes/less_equal_u32_broadcast/input_0.cairo rename to tests/nodes/less_equal_u32_broadcast/input_0.cairo diff --git a/tests/src/nodes/less_equal_u32_broadcast/input_1.cairo b/tests/nodes/less_equal_u32_broadcast/input_1.cairo similarity index 100% rename from tests/src/nodes/less_equal_u32_broadcast/input_1.cairo rename to tests/nodes/less_equal_u32_broadcast/input_1.cairo diff --git a/tests/src/nodes/less_equal_u32_broadcast/output_0.cairo b/tests/nodes/less_equal_u32_broadcast/output_0.cairo similarity index 100% rename from tests/src/nodes/less_equal_u32_broadcast/output_0.cairo rename to tests/nodes/less_equal_u32_broadcast/output_0.cairo diff --git a/tests/src/nodes/less_fp16x16.cairo b/tests/nodes/less_fp16x16.cairo similarity index 100% rename from tests/src/nodes/less_fp16x16.cairo rename to tests/nodes/less_fp16x16.cairo diff --git a/tests/src/nodes/less_fp16x16/input_0.cairo b/tests/nodes/less_fp16x16/input_0.cairo similarity index 100% rename from tests/src/nodes/less_fp16x16/input_0.cairo rename to tests/nodes/less_fp16x16/input_0.cairo diff --git a/tests/src/nodes/less_fp16x16/input_1.cairo b/tests/nodes/less_fp16x16/input_1.cairo similarity index 100% rename from tests/src/nodes/less_fp16x16/input_1.cairo rename to tests/nodes/less_fp16x16/input_1.cairo diff --git a/tests/src/nodes/less_fp16x16/output_0.cairo b/tests/nodes/less_fp16x16/output_0.cairo similarity index 100% rename from tests/src/nodes/less_fp16x16/output_0.cairo rename to tests/nodes/less_fp16x16/output_0.cairo diff --git a/tests/src/nodes/less_fp16x16_broadcast.cairo b/tests/nodes/less_fp16x16_broadcast.cairo similarity index 100% rename from tests/src/nodes/less_fp16x16_broadcast.cairo rename to tests/nodes/less_fp16x16_broadcast.cairo diff --git a/tests/src/nodes/less_fp16x16_broadcast/input_0.cairo b/tests/nodes/less_fp16x16_broadcast/input_0.cairo similarity index 100% rename from tests/src/nodes/less_fp16x16_broadcast/input_0.cairo rename to tests/nodes/less_fp16x16_broadcast/input_0.cairo diff --git a/tests/src/nodes/less_fp16x16_broadcast/input_1.cairo b/tests/nodes/less_fp16x16_broadcast/input_1.cairo similarity index 100% rename from tests/src/nodes/less_fp16x16_broadcast/input_1.cairo rename to tests/nodes/less_fp16x16_broadcast/input_1.cairo diff --git a/tests/src/nodes/less_fp16x16_broadcast/output_0.cairo b/tests/nodes/less_fp16x16_broadcast/output_0.cairo similarity index 100% rename from tests/src/nodes/less_fp16x16_broadcast/output_0.cairo rename to tests/nodes/less_fp16x16_broadcast/output_0.cairo diff --git a/tests/src/nodes/less_fp8x23.cairo b/tests/nodes/less_fp8x23.cairo similarity index 100% rename from tests/src/nodes/less_fp8x23.cairo rename to tests/nodes/less_fp8x23.cairo diff --git a/tests/src/nodes/less_fp8x23/input_0.cairo b/tests/nodes/less_fp8x23/input_0.cairo similarity index 100% rename from tests/src/nodes/less_fp8x23/input_0.cairo rename to tests/nodes/less_fp8x23/input_0.cairo diff --git a/tests/src/nodes/less_fp8x23/input_1.cairo b/tests/nodes/less_fp8x23/input_1.cairo similarity index 100% rename from tests/src/nodes/less_fp8x23/input_1.cairo rename to tests/nodes/less_fp8x23/input_1.cairo diff --git a/tests/src/nodes/less_fp8x23/output_0.cairo b/tests/nodes/less_fp8x23/output_0.cairo similarity index 100% rename from tests/src/nodes/less_fp8x23/output_0.cairo rename to tests/nodes/less_fp8x23/output_0.cairo diff --git a/tests/src/nodes/less_fp8x23_broadcast.cairo b/tests/nodes/less_fp8x23_broadcast.cairo similarity index 100% rename from tests/src/nodes/less_fp8x23_broadcast.cairo rename to tests/nodes/less_fp8x23_broadcast.cairo diff --git a/tests/src/nodes/less_fp8x23_broadcast/input_0.cairo b/tests/nodes/less_fp8x23_broadcast/input_0.cairo similarity index 100% rename from tests/src/nodes/less_fp8x23_broadcast/input_0.cairo rename to tests/nodes/less_fp8x23_broadcast/input_0.cairo diff --git a/tests/src/nodes/less_fp8x23_broadcast/input_1.cairo b/tests/nodes/less_fp8x23_broadcast/input_1.cairo similarity index 100% rename from tests/src/nodes/less_fp8x23_broadcast/input_1.cairo rename to tests/nodes/less_fp8x23_broadcast/input_1.cairo diff --git a/tests/src/nodes/less_fp8x23_broadcast/output_0.cairo b/tests/nodes/less_fp8x23_broadcast/output_0.cairo similarity index 100% rename from tests/src/nodes/less_fp8x23_broadcast/output_0.cairo rename to tests/nodes/less_fp8x23_broadcast/output_0.cairo diff --git a/tests/src/nodes/less_i32.cairo b/tests/nodes/less_i32.cairo similarity index 100% rename from tests/src/nodes/less_i32.cairo rename to tests/nodes/less_i32.cairo diff --git a/tests/src/nodes/less_i32/input_0.cairo b/tests/nodes/less_i32/input_0.cairo similarity index 100% rename from tests/src/nodes/less_i32/input_0.cairo rename to tests/nodes/less_i32/input_0.cairo diff --git a/tests/src/nodes/less_i32/input_1.cairo b/tests/nodes/less_i32/input_1.cairo similarity index 100% rename from tests/src/nodes/less_i32/input_1.cairo rename to tests/nodes/less_i32/input_1.cairo diff --git a/tests/src/nodes/less_i32/output_0.cairo b/tests/nodes/less_i32/output_0.cairo similarity index 100% rename from tests/src/nodes/less_i32/output_0.cairo rename to tests/nodes/less_i32/output_0.cairo diff --git a/tests/src/nodes/less_i32_broadcast.cairo b/tests/nodes/less_i32_broadcast.cairo similarity index 100% rename from tests/src/nodes/less_i32_broadcast.cairo rename to tests/nodes/less_i32_broadcast.cairo diff --git a/tests/src/nodes/less_i32_broadcast/input_0.cairo b/tests/nodes/less_i32_broadcast/input_0.cairo similarity index 100% rename from tests/src/nodes/less_i32_broadcast/input_0.cairo rename to tests/nodes/less_i32_broadcast/input_0.cairo diff --git a/tests/src/nodes/less_i32_broadcast/input_1.cairo b/tests/nodes/less_i32_broadcast/input_1.cairo similarity index 100% rename from tests/src/nodes/less_i32_broadcast/input_1.cairo rename to tests/nodes/less_i32_broadcast/input_1.cairo diff --git a/tests/src/nodes/less_i32_broadcast/output_0.cairo b/tests/nodes/less_i32_broadcast/output_0.cairo similarity index 100% rename from tests/src/nodes/less_i32_broadcast/output_0.cairo rename to tests/nodes/less_i32_broadcast/output_0.cairo diff --git a/tests/src/nodes/less_i8.cairo b/tests/nodes/less_i8.cairo similarity index 100% rename from tests/src/nodes/less_i8.cairo rename to tests/nodes/less_i8.cairo diff --git a/tests/src/nodes/less_i8/input_0.cairo b/tests/nodes/less_i8/input_0.cairo similarity index 100% rename from tests/src/nodes/less_i8/input_0.cairo rename to tests/nodes/less_i8/input_0.cairo diff --git a/tests/src/nodes/less_i8/input_1.cairo b/tests/nodes/less_i8/input_1.cairo similarity index 100% rename from tests/src/nodes/less_i8/input_1.cairo rename to tests/nodes/less_i8/input_1.cairo diff --git a/tests/src/nodes/less_i8/output_0.cairo b/tests/nodes/less_i8/output_0.cairo similarity index 100% rename from tests/src/nodes/less_i8/output_0.cairo rename to tests/nodes/less_i8/output_0.cairo diff --git a/tests/src/nodes/less_i8_broadcast.cairo b/tests/nodes/less_i8_broadcast.cairo similarity index 100% rename from tests/src/nodes/less_i8_broadcast.cairo rename to tests/nodes/less_i8_broadcast.cairo diff --git a/tests/src/nodes/less_i8_broadcast/input_0.cairo b/tests/nodes/less_i8_broadcast/input_0.cairo similarity index 100% rename from tests/src/nodes/less_i8_broadcast/input_0.cairo rename to tests/nodes/less_i8_broadcast/input_0.cairo diff --git a/tests/src/nodes/less_i8_broadcast/input_1.cairo b/tests/nodes/less_i8_broadcast/input_1.cairo similarity index 100% rename from tests/src/nodes/less_i8_broadcast/input_1.cairo rename to tests/nodes/less_i8_broadcast/input_1.cairo diff --git a/tests/src/nodes/less_i8_broadcast/output_0.cairo b/tests/nodes/less_i8_broadcast/output_0.cairo similarity index 100% rename from tests/src/nodes/less_i8_broadcast/output_0.cairo rename to tests/nodes/less_i8_broadcast/output_0.cairo diff --git a/tests/src/nodes/less_u32.cairo b/tests/nodes/less_u32.cairo similarity index 100% rename from tests/src/nodes/less_u32.cairo rename to tests/nodes/less_u32.cairo diff --git a/tests/src/nodes/less_u32/input_0.cairo b/tests/nodes/less_u32/input_0.cairo similarity index 100% rename from tests/src/nodes/less_u32/input_0.cairo rename to tests/nodes/less_u32/input_0.cairo diff --git a/tests/src/nodes/less_u32/input_1.cairo b/tests/nodes/less_u32/input_1.cairo similarity index 100% rename from tests/src/nodes/less_u32/input_1.cairo rename to tests/nodes/less_u32/input_1.cairo diff --git a/tests/src/nodes/less_u32/output_0.cairo b/tests/nodes/less_u32/output_0.cairo similarity index 100% rename from tests/src/nodes/less_u32/output_0.cairo rename to tests/nodes/less_u32/output_0.cairo diff --git a/tests/src/nodes/less_u32_broadcast.cairo b/tests/nodes/less_u32_broadcast.cairo similarity index 100% rename from tests/src/nodes/less_u32_broadcast.cairo rename to tests/nodes/less_u32_broadcast.cairo diff --git a/tests/src/nodes/less_u32_broadcast/input_0.cairo b/tests/nodes/less_u32_broadcast/input_0.cairo similarity index 100% rename from tests/src/nodes/less_u32_broadcast/input_0.cairo rename to tests/nodes/less_u32_broadcast/input_0.cairo diff --git a/tests/src/nodes/less_u32_broadcast/input_1.cairo b/tests/nodes/less_u32_broadcast/input_1.cairo similarity index 100% rename from tests/src/nodes/less_u32_broadcast/input_1.cairo rename to tests/nodes/less_u32_broadcast/input_1.cairo diff --git a/tests/src/nodes/less_u32_broadcast/output_0.cairo b/tests/nodes/less_u32_broadcast/output_0.cairo similarity index 100% rename from tests/src/nodes/less_u32_broadcast/output_0.cairo rename to tests/nodes/less_u32_broadcast/output_0.cairo diff --git a/tests/src/nodes/linear_fp16x16.cairo b/tests/nodes/linear_fp16x16.cairo similarity index 100% rename from tests/src/nodes/linear_fp16x16.cairo rename to tests/nodes/linear_fp16x16.cairo diff --git a/tests/src/nodes/linear_fp16x16/input_0.cairo b/tests/nodes/linear_fp16x16/input_0.cairo similarity index 100% rename from tests/src/nodes/linear_fp16x16/input_0.cairo rename to tests/nodes/linear_fp16x16/input_0.cairo diff --git a/tests/src/nodes/linear_fp16x16/input_1.cairo b/tests/nodes/linear_fp16x16/input_1.cairo similarity index 100% rename from tests/src/nodes/linear_fp16x16/input_1.cairo rename to tests/nodes/linear_fp16x16/input_1.cairo diff --git a/tests/src/nodes/linear_fp16x16/input_2.cairo b/tests/nodes/linear_fp16x16/input_2.cairo similarity index 100% rename from tests/src/nodes/linear_fp16x16/input_2.cairo rename to tests/nodes/linear_fp16x16/input_2.cairo diff --git a/tests/src/nodes/linear_fp16x16/output_0.cairo b/tests/nodes/linear_fp16x16/output_0.cairo similarity index 100% rename from tests/src/nodes/linear_fp16x16/output_0.cairo rename to tests/nodes/linear_fp16x16/output_0.cairo diff --git a/tests/src/nodes/linear_fp8x23.cairo b/tests/nodes/linear_fp8x23.cairo similarity index 100% rename from tests/src/nodes/linear_fp8x23.cairo rename to tests/nodes/linear_fp8x23.cairo diff --git a/tests/src/nodes/linear_fp8x23/input_0.cairo b/tests/nodes/linear_fp8x23/input_0.cairo similarity index 100% rename from tests/src/nodes/linear_fp8x23/input_0.cairo rename to tests/nodes/linear_fp8x23/input_0.cairo diff --git a/tests/src/nodes/linear_fp8x23/input_1.cairo b/tests/nodes/linear_fp8x23/input_1.cairo similarity index 100% rename from tests/src/nodes/linear_fp8x23/input_1.cairo rename to tests/nodes/linear_fp8x23/input_1.cairo diff --git a/tests/src/nodes/linear_fp8x23/input_2.cairo b/tests/nodes/linear_fp8x23/input_2.cairo similarity index 100% rename from tests/src/nodes/linear_fp8x23/input_2.cairo rename to tests/nodes/linear_fp8x23/input_2.cairo diff --git a/tests/src/nodes/linear_fp8x23/output_0.cairo b/tests/nodes/linear_fp8x23/output_0.cairo similarity index 100% rename from tests/src/nodes/linear_fp8x23/output_0.cairo rename to tests/nodes/linear_fp8x23/output_0.cairo diff --git a/tests/src/nodes/linear_i32.cairo b/tests/nodes/linear_i32.cairo similarity index 100% rename from tests/src/nodes/linear_i32.cairo rename to tests/nodes/linear_i32.cairo diff --git a/tests/src/nodes/linear_i32/input_0.cairo b/tests/nodes/linear_i32/input_0.cairo similarity index 100% rename from tests/src/nodes/linear_i32/input_0.cairo rename to tests/nodes/linear_i32/input_0.cairo diff --git a/tests/src/nodes/linear_i32/input_1.cairo b/tests/nodes/linear_i32/input_1.cairo similarity index 100% rename from tests/src/nodes/linear_i32/input_1.cairo rename to tests/nodes/linear_i32/input_1.cairo diff --git a/tests/src/nodes/linear_i32/input_2.cairo b/tests/nodes/linear_i32/input_2.cairo similarity index 100% rename from tests/src/nodes/linear_i32/input_2.cairo rename to tests/nodes/linear_i32/input_2.cairo diff --git a/tests/src/nodes/linear_i32/output_0.cairo b/tests/nodes/linear_i32/output_0.cairo similarity index 100% rename from tests/src/nodes/linear_i32/output_0.cairo rename to tests/nodes/linear_i32/output_0.cairo diff --git a/tests/src/nodes/linear_i8.cairo b/tests/nodes/linear_i8.cairo similarity index 100% rename from tests/src/nodes/linear_i8.cairo rename to tests/nodes/linear_i8.cairo diff --git a/tests/src/nodes/linear_i8/input_0.cairo b/tests/nodes/linear_i8/input_0.cairo similarity index 100% rename from tests/src/nodes/linear_i8/input_0.cairo rename to tests/nodes/linear_i8/input_0.cairo diff --git a/tests/src/nodes/linear_i8/input_1.cairo b/tests/nodes/linear_i8/input_1.cairo similarity index 100% rename from tests/src/nodes/linear_i8/input_1.cairo rename to tests/nodes/linear_i8/input_1.cairo diff --git a/tests/src/nodes/linear_i8/input_2.cairo b/tests/nodes/linear_i8/input_2.cairo similarity index 100% rename from tests/src/nodes/linear_i8/input_2.cairo rename to tests/nodes/linear_i8/input_2.cairo diff --git a/tests/src/nodes/linear_i8/output_0.cairo b/tests/nodes/linear_i8/output_0.cairo similarity index 100% rename from tests/src/nodes/linear_i8/output_0.cairo rename to tests/nodes/linear_i8/output_0.cairo diff --git a/tests/src/nodes/linear_u32.cairo b/tests/nodes/linear_u32.cairo similarity index 100% rename from tests/src/nodes/linear_u32.cairo rename to tests/nodes/linear_u32.cairo diff --git a/tests/src/nodes/linear_u32/input_0.cairo b/tests/nodes/linear_u32/input_0.cairo similarity index 100% rename from tests/src/nodes/linear_u32/input_0.cairo rename to tests/nodes/linear_u32/input_0.cairo diff --git a/tests/src/nodes/linear_u32/input_1.cairo b/tests/nodes/linear_u32/input_1.cairo similarity index 100% rename from tests/src/nodes/linear_u32/input_1.cairo rename to tests/nodes/linear_u32/input_1.cairo diff --git a/tests/src/nodes/linear_u32/input_2.cairo b/tests/nodes/linear_u32/input_2.cairo similarity index 100% rename from tests/src/nodes/linear_u32/input_2.cairo rename to tests/nodes/linear_u32/input_2.cairo diff --git a/tests/src/nodes/linear_u32/output_0.cairo b/tests/nodes/linear_u32/output_0.cairo similarity index 100% rename from tests/src/nodes/linear_u32/output_0.cairo rename to tests/nodes/linear_u32/output_0.cairo diff --git a/tests/src/nodes/log_fp16x16.cairo b/tests/nodes/log_fp16x16.cairo similarity index 100% rename from tests/src/nodes/log_fp16x16.cairo rename to tests/nodes/log_fp16x16.cairo diff --git a/tests/src/nodes/log_fp16x16/input_0.cairo b/tests/nodes/log_fp16x16/input_0.cairo similarity index 100% rename from tests/src/nodes/log_fp16x16/input_0.cairo rename to tests/nodes/log_fp16x16/input_0.cairo diff --git a/tests/src/nodes/log_fp16x16/output_0.cairo b/tests/nodes/log_fp16x16/output_0.cairo similarity index 100% rename from tests/src/nodes/log_fp16x16/output_0.cairo rename to tests/nodes/log_fp16x16/output_0.cairo diff --git a/tests/src/nodes/log_fp8x23.cairo b/tests/nodes/log_fp8x23.cairo similarity index 100% rename from tests/src/nodes/log_fp8x23.cairo rename to tests/nodes/log_fp8x23.cairo diff --git a/tests/src/nodes/log_fp8x23/input_0.cairo b/tests/nodes/log_fp8x23/input_0.cairo similarity index 100% rename from tests/src/nodes/log_fp8x23/input_0.cairo rename to tests/nodes/log_fp8x23/input_0.cairo diff --git a/tests/src/nodes/log_fp8x23/output_0.cairo b/tests/nodes/log_fp8x23/output_0.cairo similarity index 100% rename from tests/src/nodes/log_fp8x23/output_0.cairo rename to tests/nodes/log_fp8x23/output_0.cairo diff --git a/tests/src/nodes/logsoftmax_fp16x16_axis_0.cairo b/tests/nodes/logsoftmax_fp16x16_axis_0.cairo similarity index 100% rename from tests/src/nodes/logsoftmax_fp16x16_axis_0.cairo rename to tests/nodes/logsoftmax_fp16x16_axis_0.cairo diff --git a/tests/src/nodes/logsoftmax_fp16x16_axis_0/input_0.cairo b/tests/nodes/logsoftmax_fp16x16_axis_0/input_0.cairo similarity index 100% rename from tests/src/nodes/logsoftmax_fp16x16_axis_0/input_0.cairo rename to tests/nodes/logsoftmax_fp16x16_axis_0/input_0.cairo diff --git a/tests/src/nodes/logsoftmax_fp16x16_axis_0/output_0.cairo b/tests/nodes/logsoftmax_fp16x16_axis_0/output_0.cairo similarity index 100% rename from tests/src/nodes/logsoftmax_fp16x16_axis_0/output_0.cairo rename to tests/nodes/logsoftmax_fp16x16_axis_0/output_0.cairo diff --git a/tests/src/nodes/logsoftmax_fp16x16_axis_1.cairo b/tests/nodes/logsoftmax_fp16x16_axis_1.cairo similarity index 100% rename from tests/src/nodes/logsoftmax_fp16x16_axis_1.cairo rename to tests/nodes/logsoftmax_fp16x16_axis_1.cairo diff --git a/tests/src/nodes/logsoftmax_fp16x16_axis_1/input_0.cairo b/tests/nodes/logsoftmax_fp16x16_axis_1/input_0.cairo similarity index 100% rename from tests/src/nodes/logsoftmax_fp16x16_axis_1/input_0.cairo rename to tests/nodes/logsoftmax_fp16x16_axis_1/input_0.cairo diff --git a/tests/src/nodes/logsoftmax_fp16x16_axis_1/output_0.cairo b/tests/nodes/logsoftmax_fp16x16_axis_1/output_0.cairo similarity index 100% rename from tests/src/nodes/logsoftmax_fp16x16_axis_1/output_0.cairo rename to tests/nodes/logsoftmax_fp16x16_axis_1/output_0.cairo diff --git a/tests/src/nodes/logsoftmax_fp8x23_axis_0.cairo b/tests/nodes/logsoftmax_fp8x23_axis_0.cairo similarity index 100% rename from tests/src/nodes/logsoftmax_fp8x23_axis_0.cairo rename to tests/nodes/logsoftmax_fp8x23_axis_0.cairo diff --git a/tests/src/nodes/logsoftmax_fp8x23_axis_0/input_0.cairo b/tests/nodes/logsoftmax_fp8x23_axis_0/input_0.cairo similarity index 100% rename from tests/src/nodes/logsoftmax_fp8x23_axis_0/input_0.cairo rename to tests/nodes/logsoftmax_fp8x23_axis_0/input_0.cairo diff --git a/tests/src/nodes/logsoftmax_fp8x23_axis_0/output_0.cairo b/tests/nodes/logsoftmax_fp8x23_axis_0/output_0.cairo similarity index 100% rename from tests/src/nodes/logsoftmax_fp8x23_axis_0/output_0.cairo rename to tests/nodes/logsoftmax_fp8x23_axis_0/output_0.cairo diff --git a/tests/src/nodes/logsoftmax_fp8x23_axis_1.cairo b/tests/nodes/logsoftmax_fp8x23_axis_1.cairo similarity index 100% rename from tests/src/nodes/logsoftmax_fp8x23_axis_1.cairo rename to tests/nodes/logsoftmax_fp8x23_axis_1.cairo diff --git a/tests/src/nodes/logsoftmax_fp8x23_axis_1/input_0.cairo b/tests/nodes/logsoftmax_fp8x23_axis_1/input_0.cairo similarity index 100% rename from tests/src/nodes/logsoftmax_fp8x23_axis_1/input_0.cairo rename to tests/nodes/logsoftmax_fp8x23_axis_1/input_0.cairo diff --git a/tests/src/nodes/logsoftmax_fp8x23_axis_1/output_0.cairo b/tests/nodes/logsoftmax_fp8x23_axis_1/output_0.cairo similarity index 100% rename from tests/src/nodes/logsoftmax_fp8x23_axis_1/output_0.cairo rename to tests/nodes/logsoftmax_fp8x23_axis_1/output_0.cairo diff --git a/tests/src/nodes/matmul_fp16x16_1d.cairo b/tests/nodes/matmul_fp16x16_1d.cairo similarity index 100% rename from tests/src/nodes/matmul_fp16x16_1d.cairo rename to tests/nodes/matmul_fp16x16_1d.cairo diff --git a/tests/src/nodes/matmul_fp16x16_1d/input_0.cairo b/tests/nodes/matmul_fp16x16_1d/input_0.cairo similarity index 100% rename from tests/src/nodes/matmul_fp16x16_1d/input_0.cairo rename to tests/nodes/matmul_fp16x16_1d/input_0.cairo diff --git a/tests/src/nodes/matmul_fp16x16_1d/input_1.cairo b/tests/nodes/matmul_fp16x16_1d/input_1.cairo similarity index 100% rename from tests/src/nodes/matmul_fp16x16_1d/input_1.cairo rename to tests/nodes/matmul_fp16x16_1d/input_1.cairo diff --git a/tests/src/nodes/matmul_fp16x16_1d/output_0.cairo b/tests/nodes/matmul_fp16x16_1d/output_0.cairo similarity index 100% rename from tests/src/nodes/matmul_fp16x16_1d/output_0.cairo rename to tests/nodes/matmul_fp16x16_1d/output_0.cairo diff --git a/tests/src/nodes/matmul_fp16x16_1x2.cairo b/tests/nodes/matmul_fp16x16_1x2.cairo similarity index 100% rename from tests/src/nodes/matmul_fp16x16_1x2.cairo rename to tests/nodes/matmul_fp16x16_1x2.cairo diff --git a/tests/src/nodes/matmul_fp16x16_1x2/input_0.cairo b/tests/nodes/matmul_fp16x16_1x2/input_0.cairo similarity index 100% rename from tests/src/nodes/matmul_fp16x16_1x2/input_0.cairo rename to tests/nodes/matmul_fp16x16_1x2/input_0.cairo diff --git a/tests/src/nodes/matmul_fp16x16_1x2/input_1.cairo b/tests/nodes/matmul_fp16x16_1x2/input_1.cairo similarity index 100% rename from tests/src/nodes/matmul_fp16x16_1x2/input_1.cairo rename to tests/nodes/matmul_fp16x16_1x2/input_1.cairo diff --git a/tests/src/nodes/matmul_fp16x16_1x2/output_0.cairo b/tests/nodes/matmul_fp16x16_1x2/output_0.cairo similarity index 100% rename from tests/src/nodes/matmul_fp16x16_1x2/output_0.cairo rename to tests/nodes/matmul_fp16x16_1x2/output_0.cairo diff --git a/tests/src/nodes/matmul_fp16x16_2x1.cairo b/tests/nodes/matmul_fp16x16_2x1.cairo similarity index 100% rename from tests/src/nodes/matmul_fp16x16_2x1.cairo rename to tests/nodes/matmul_fp16x16_2x1.cairo diff --git a/tests/src/nodes/matmul_fp16x16_2x1/input_0.cairo b/tests/nodes/matmul_fp16x16_2x1/input_0.cairo similarity index 100% rename from tests/src/nodes/matmul_fp16x16_2x1/input_0.cairo rename to tests/nodes/matmul_fp16x16_2x1/input_0.cairo diff --git a/tests/src/nodes/matmul_fp16x16_2x1/input_1.cairo b/tests/nodes/matmul_fp16x16_2x1/input_1.cairo similarity index 100% rename from tests/src/nodes/matmul_fp16x16_2x1/input_1.cairo rename to tests/nodes/matmul_fp16x16_2x1/input_1.cairo diff --git a/tests/src/nodes/matmul_fp16x16_2x1/output_0.cairo b/tests/nodes/matmul_fp16x16_2x1/output_0.cairo similarity index 100% rename from tests/src/nodes/matmul_fp16x16_2x1/output_0.cairo rename to tests/nodes/matmul_fp16x16_2x1/output_0.cairo diff --git a/tests/src/nodes/matmul_fp16x16_2x2.cairo b/tests/nodes/matmul_fp16x16_2x2.cairo similarity index 100% rename from tests/src/nodes/matmul_fp16x16_2x2.cairo rename to tests/nodes/matmul_fp16x16_2x2.cairo diff --git a/tests/src/nodes/matmul_fp16x16_2x2/input_0.cairo b/tests/nodes/matmul_fp16x16_2x2/input_0.cairo similarity index 100% rename from tests/src/nodes/matmul_fp16x16_2x2/input_0.cairo rename to tests/nodes/matmul_fp16x16_2x2/input_0.cairo diff --git a/tests/src/nodes/matmul_fp16x16_2x2/input_1.cairo b/tests/nodes/matmul_fp16x16_2x2/input_1.cairo similarity index 100% rename from tests/src/nodes/matmul_fp16x16_2x2/input_1.cairo rename to tests/nodes/matmul_fp16x16_2x2/input_1.cairo diff --git a/tests/src/nodes/matmul_fp16x16_2x2/output_0.cairo b/tests/nodes/matmul_fp16x16_2x2/output_0.cairo similarity index 100% rename from tests/src/nodes/matmul_fp16x16_2x2/output_0.cairo rename to tests/nodes/matmul_fp16x16_2x2/output_0.cairo diff --git a/tests/src/nodes/matmul_fp8x23_1d.cairo b/tests/nodes/matmul_fp8x23_1d.cairo similarity index 100% rename from tests/src/nodes/matmul_fp8x23_1d.cairo rename to tests/nodes/matmul_fp8x23_1d.cairo diff --git a/tests/src/nodes/matmul_fp8x23_1d/input_0.cairo b/tests/nodes/matmul_fp8x23_1d/input_0.cairo similarity index 100% rename from tests/src/nodes/matmul_fp8x23_1d/input_0.cairo rename to tests/nodes/matmul_fp8x23_1d/input_0.cairo diff --git a/tests/src/nodes/matmul_fp8x23_1d/input_1.cairo b/tests/nodes/matmul_fp8x23_1d/input_1.cairo similarity index 100% rename from tests/src/nodes/matmul_fp8x23_1d/input_1.cairo rename to tests/nodes/matmul_fp8x23_1d/input_1.cairo diff --git a/tests/src/nodes/matmul_fp8x23_1d/output_0.cairo b/tests/nodes/matmul_fp8x23_1d/output_0.cairo similarity index 100% rename from tests/src/nodes/matmul_fp8x23_1d/output_0.cairo rename to tests/nodes/matmul_fp8x23_1d/output_0.cairo diff --git a/tests/src/nodes/matmul_fp8x23_1x2.cairo b/tests/nodes/matmul_fp8x23_1x2.cairo similarity index 100% rename from tests/src/nodes/matmul_fp8x23_1x2.cairo rename to tests/nodes/matmul_fp8x23_1x2.cairo diff --git a/tests/src/nodes/matmul_fp8x23_1x2/input_0.cairo b/tests/nodes/matmul_fp8x23_1x2/input_0.cairo similarity index 100% rename from tests/src/nodes/matmul_fp8x23_1x2/input_0.cairo rename to tests/nodes/matmul_fp8x23_1x2/input_0.cairo diff --git a/tests/src/nodes/matmul_fp8x23_1x2/input_1.cairo b/tests/nodes/matmul_fp8x23_1x2/input_1.cairo similarity index 100% rename from tests/src/nodes/matmul_fp8x23_1x2/input_1.cairo rename to tests/nodes/matmul_fp8x23_1x2/input_1.cairo diff --git a/tests/src/nodes/matmul_fp8x23_1x2/output_0.cairo b/tests/nodes/matmul_fp8x23_1x2/output_0.cairo similarity index 100% rename from tests/src/nodes/matmul_fp8x23_1x2/output_0.cairo rename to tests/nodes/matmul_fp8x23_1x2/output_0.cairo diff --git a/tests/src/nodes/matmul_fp8x23_2x1.cairo b/tests/nodes/matmul_fp8x23_2x1.cairo similarity index 100% rename from tests/src/nodes/matmul_fp8x23_2x1.cairo rename to tests/nodes/matmul_fp8x23_2x1.cairo diff --git a/tests/src/nodes/matmul_fp8x23_2x1/input_0.cairo b/tests/nodes/matmul_fp8x23_2x1/input_0.cairo similarity index 100% rename from tests/src/nodes/matmul_fp8x23_2x1/input_0.cairo rename to tests/nodes/matmul_fp8x23_2x1/input_0.cairo diff --git a/tests/src/nodes/matmul_fp8x23_2x1/input_1.cairo b/tests/nodes/matmul_fp8x23_2x1/input_1.cairo similarity index 100% rename from tests/src/nodes/matmul_fp8x23_2x1/input_1.cairo rename to tests/nodes/matmul_fp8x23_2x1/input_1.cairo diff --git a/tests/src/nodes/matmul_fp8x23_2x1/output_0.cairo b/tests/nodes/matmul_fp8x23_2x1/output_0.cairo similarity index 100% rename from tests/src/nodes/matmul_fp8x23_2x1/output_0.cairo rename to tests/nodes/matmul_fp8x23_2x1/output_0.cairo diff --git a/tests/src/nodes/matmul_fp8x23_2x2.cairo b/tests/nodes/matmul_fp8x23_2x2.cairo similarity index 100% rename from tests/src/nodes/matmul_fp8x23_2x2.cairo rename to tests/nodes/matmul_fp8x23_2x2.cairo diff --git a/tests/src/nodes/matmul_fp8x23_2x2/input_0.cairo b/tests/nodes/matmul_fp8x23_2x2/input_0.cairo similarity index 100% rename from tests/src/nodes/matmul_fp8x23_2x2/input_0.cairo rename to tests/nodes/matmul_fp8x23_2x2/input_0.cairo diff --git a/tests/src/nodes/matmul_fp8x23_2x2/input_1.cairo b/tests/nodes/matmul_fp8x23_2x2/input_1.cairo similarity index 100% rename from tests/src/nodes/matmul_fp8x23_2x2/input_1.cairo rename to tests/nodes/matmul_fp8x23_2x2/input_1.cairo diff --git a/tests/src/nodes/matmul_fp8x23_2x2/output_0.cairo b/tests/nodes/matmul_fp8x23_2x2/output_0.cairo similarity index 100% rename from tests/src/nodes/matmul_fp8x23_2x2/output_0.cairo rename to tests/nodes/matmul_fp8x23_2x2/output_0.cairo diff --git a/tests/src/nodes/matmul_i32_1d.cairo b/tests/nodes/matmul_i32_1d.cairo similarity index 100% rename from tests/src/nodes/matmul_i32_1d.cairo rename to tests/nodes/matmul_i32_1d.cairo diff --git a/tests/src/nodes/matmul_i32_1d/input_0.cairo b/tests/nodes/matmul_i32_1d/input_0.cairo similarity index 100% rename from tests/src/nodes/matmul_i32_1d/input_0.cairo rename to tests/nodes/matmul_i32_1d/input_0.cairo diff --git a/tests/src/nodes/matmul_i32_1d/input_1.cairo b/tests/nodes/matmul_i32_1d/input_1.cairo similarity index 100% rename from tests/src/nodes/matmul_i32_1d/input_1.cairo rename to tests/nodes/matmul_i32_1d/input_1.cairo diff --git a/tests/src/nodes/matmul_i32_1d/output_0.cairo b/tests/nodes/matmul_i32_1d/output_0.cairo similarity index 100% rename from tests/src/nodes/matmul_i32_1d/output_0.cairo rename to tests/nodes/matmul_i32_1d/output_0.cairo diff --git a/tests/src/nodes/matmul_i32_1x2.cairo b/tests/nodes/matmul_i32_1x2.cairo similarity index 100% rename from tests/src/nodes/matmul_i32_1x2.cairo rename to tests/nodes/matmul_i32_1x2.cairo diff --git a/tests/src/nodes/matmul_i32_1x2/input_0.cairo b/tests/nodes/matmul_i32_1x2/input_0.cairo similarity index 100% rename from tests/src/nodes/matmul_i32_1x2/input_0.cairo rename to tests/nodes/matmul_i32_1x2/input_0.cairo diff --git a/tests/src/nodes/matmul_i32_1x2/input_1.cairo b/tests/nodes/matmul_i32_1x2/input_1.cairo similarity index 100% rename from tests/src/nodes/matmul_i32_1x2/input_1.cairo rename to tests/nodes/matmul_i32_1x2/input_1.cairo diff --git a/tests/src/nodes/matmul_i32_1x2/output_0.cairo b/tests/nodes/matmul_i32_1x2/output_0.cairo similarity index 100% rename from tests/src/nodes/matmul_i32_1x2/output_0.cairo rename to tests/nodes/matmul_i32_1x2/output_0.cairo diff --git a/tests/src/nodes/matmul_i32_2x1.cairo b/tests/nodes/matmul_i32_2x1.cairo similarity index 100% rename from tests/src/nodes/matmul_i32_2x1.cairo rename to tests/nodes/matmul_i32_2x1.cairo diff --git a/tests/src/nodes/matmul_i32_2x1/input_0.cairo b/tests/nodes/matmul_i32_2x1/input_0.cairo similarity index 100% rename from tests/src/nodes/matmul_i32_2x1/input_0.cairo rename to tests/nodes/matmul_i32_2x1/input_0.cairo diff --git a/tests/src/nodes/matmul_i32_2x1/input_1.cairo b/tests/nodes/matmul_i32_2x1/input_1.cairo similarity index 100% rename from tests/src/nodes/matmul_i32_2x1/input_1.cairo rename to tests/nodes/matmul_i32_2x1/input_1.cairo diff --git a/tests/src/nodes/matmul_i32_2x1/output_0.cairo b/tests/nodes/matmul_i32_2x1/output_0.cairo similarity index 100% rename from tests/src/nodes/matmul_i32_2x1/output_0.cairo rename to tests/nodes/matmul_i32_2x1/output_0.cairo diff --git a/tests/src/nodes/matmul_i32_2x2.cairo b/tests/nodes/matmul_i32_2x2.cairo similarity index 100% rename from tests/src/nodes/matmul_i32_2x2.cairo rename to tests/nodes/matmul_i32_2x2.cairo diff --git a/tests/src/nodes/matmul_i32_2x2/input_0.cairo b/tests/nodes/matmul_i32_2x2/input_0.cairo similarity index 100% rename from tests/src/nodes/matmul_i32_2x2/input_0.cairo rename to tests/nodes/matmul_i32_2x2/input_0.cairo diff --git a/tests/src/nodes/matmul_i32_2x2/input_1.cairo b/tests/nodes/matmul_i32_2x2/input_1.cairo similarity index 100% rename from tests/src/nodes/matmul_i32_2x2/input_1.cairo rename to tests/nodes/matmul_i32_2x2/input_1.cairo diff --git a/tests/src/nodes/matmul_i32_2x2/output_0.cairo b/tests/nodes/matmul_i32_2x2/output_0.cairo similarity index 100% rename from tests/src/nodes/matmul_i32_2x2/output_0.cairo rename to tests/nodes/matmul_i32_2x2/output_0.cairo diff --git a/tests/src/nodes/matmul_i8_1d.cairo b/tests/nodes/matmul_i8_1d.cairo similarity index 100% rename from tests/src/nodes/matmul_i8_1d.cairo rename to tests/nodes/matmul_i8_1d.cairo diff --git a/tests/src/nodes/matmul_i8_1d/input_0.cairo b/tests/nodes/matmul_i8_1d/input_0.cairo similarity index 100% rename from tests/src/nodes/matmul_i8_1d/input_0.cairo rename to tests/nodes/matmul_i8_1d/input_0.cairo diff --git a/tests/src/nodes/matmul_i8_1d/input_1.cairo b/tests/nodes/matmul_i8_1d/input_1.cairo similarity index 100% rename from tests/src/nodes/matmul_i8_1d/input_1.cairo rename to tests/nodes/matmul_i8_1d/input_1.cairo diff --git a/tests/src/nodes/matmul_i8_1d/output_0.cairo b/tests/nodes/matmul_i8_1d/output_0.cairo similarity index 100% rename from tests/src/nodes/matmul_i8_1d/output_0.cairo rename to tests/nodes/matmul_i8_1d/output_0.cairo diff --git a/tests/src/nodes/matmul_i8_1x2.cairo b/tests/nodes/matmul_i8_1x2.cairo similarity index 100% rename from tests/src/nodes/matmul_i8_1x2.cairo rename to tests/nodes/matmul_i8_1x2.cairo diff --git a/tests/src/nodes/matmul_i8_1x2/input_0.cairo b/tests/nodes/matmul_i8_1x2/input_0.cairo similarity index 100% rename from tests/src/nodes/matmul_i8_1x2/input_0.cairo rename to tests/nodes/matmul_i8_1x2/input_0.cairo diff --git a/tests/src/nodes/matmul_i8_1x2/input_1.cairo b/tests/nodes/matmul_i8_1x2/input_1.cairo similarity index 100% rename from tests/src/nodes/matmul_i8_1x2/input_1.cairo rename to tests/nodes/matmul_i8_1x2/input_1.cairo diff --git a/tests/src/nodes/matmul_i8_1x2/output_0.cairo b/tests/nodes/matmul_i8_1x2/output_0.cairo similarity index 100% rename from tests/src/nodes/matmul_i8_1x2/output_0.cairo rename to tests/nodes/matmul_i8_1x2/output_0.cairo diff --git a/tests/src/nodes/matmul_i8_2x1.cairo b/tests/nodes/matmul_i8_2x1.cairo similarity index 100% rename from tests/src/nodes/matmul_i8_2x1.cairo rename to tests/nodes/matmul_i8_2x1.cairo diff --git a/tests/src/nodes/matmul_i8_2x1/input_0.cairo b/tests/nodes/matmul_i8_2x1/input_0.cairo similarity index 100% rename from tests/src/nodes/matmul_i8_2x1/input_0.cairo rename to tests/nodes/matmul_i8_2x1/input_0.cairo diff --git a/tests/src/nodes/matmul_i8_2x1/input_1.cairo b/tests/nodes/matmul_i8_2x1/input_1.cairo similarity index 100% rename from tests/src/nodes/matmul_i8_2x1/input_1.cairo rename to tests/nodes/matmul_i8_2x1/input_1.cairo diff --git a/tests/src/nodes/matmul_i8_2x1/output_0.cairo b/tests/nodes/matmul_i8_2x1/output_0.cairo similarity index 100% rename from tests/src/nodes/matmul_i8_2x1/output_0.cairo rename to tests/nodes/matmul_i8_2x1/output_0.cairo diff --git a/tests/src/nodes/matmul_i8_2x2.cairo b/tests/nodes/matmul_i8_2x2.cairo similarity index 100% rename from tests/src/nodes/matmul_i8_2x2.cairo rename to tests/nodes/matmul_i8_2x2.cairo diff --git a/tests/src/nodes/matmul_i8_2x2/input_0.cairo b/tests/nodes/matmul_i8_2x2/input_0.cairo similarity index 100% rename from tests/src/nodes/matmul_i8_2x2/input_0.cairo rename to tests/nodes/matmul_i8_2x2/input_0.cairo diff --git a/tests/src/nodes/matmul_i8_2x2/input_1.cairo b/tests/nodes/matmul_i8_2x2/input_1.cairo similarity index 100% rename from tests/src/nodes/matmul_i8_2x2/input_1.cairo rename to tests/nodes/matmul_i8_2x2/input_1.cairo diff --git a/tests/src/nodes/matmul_i8_2x2/output_0.cairo b/tests/nodes/matmul_i8_2x2/output_0.cairo similarity index 100% rename from tests/src/nodes/matmul_i8_2x2/output_0.cairo rename to tests/nodes/matmul_i8_2x2/output_0.cairo diff --git a/tests/src/nodes/matmul_u32_1d.cairo b/tests/nodes/matmul_u32_1d.cairo similarity index 100% rename from tests/src/nodes/matmul_u32_1d.cairo rename to tests/nodes/matmul_u32_1d.cairo diff --git a/tests/src/nodes/matmul_u32_1d/input_0.cairo b/tests/nodes/matmul_u32_1d/input_0.cairo similarity index 100% rename from tests/src/nodes/matmul_u32_1d/input_0.cairo rename to tests/nodes/matmul_u32_1d/input_0.cairo diff --git a/tests/src/nodes/matmul_u32_1d/input_1.cairo b/tests/nodes/matmul_u32_1d/input_1.cairo similarity index 100% rename from tests/src/nodes/matmul_u32_1d/input_1.cairo rename to tests/nodes/matmul_u32_1d/input_1.cairo diff --git a/tests/src/nodes/matmul_u32_1d/output_0.cairo b/tests/nodes/matmul_u32_1d/output_0.cairo similarity index 100% rename from tests/src/nodes/matmul_u32_1d/output_0.cairo rename to tests/nodes/matmul_u32_1d/output_0.cairo diff --git a/tests/src/nodes/matmul_u32_1x2.cairo b/tests/nodes/matmul_u32_1x2.cairo similarity index 100% rename from tests/src/nodes/matmul_u32_1x2.cairo rename to tests/nodes/matmul_u32_1x2.cairo diff --git a/tests/src/nodes/matmul_u32_1x2/input_0.cairo b/tests/nodes/matmul_u32_1x2/input_0.cairo similarity index 100% rename from tests/src/nodes/matmul_u32_1x2/input_0.cairo rename to tests/nodes/matmul_u32_1x2/input_0.cairo diff --git a/tests/src/nodes/matmul_u32_1x2/input_1.cairo b/tests/nodes/matmul_u32_1x2/input_1.cairo similarity index 100% rename from tests/src/nodes/matmul_u32_1x2/input_1.cairo rename to tests/nodes/matmul_u32_1x2/input_1.cairo diff --git a/tests/src/nodes/matmul_u32_1x2/output_0.cairo b/tests/nodes/matmul_u32_1x2/output_0.cairo similarity index 100% rename from tests/src/nodes/matmul_u32_1x2/output_0.cairo rename to tests/nodes/matmul_u32_1x2/output_0.cairo diff --git a/tests/src/nodes/matmul_u32_2x1.cairo b/tests/nodes/matmul_u32_2x1.cairo similarity index 100% rename from tests/src/nodes/matmul_u32_2x1.cairo rename to tests/nodes/matmul_u32_2x1.cairo diff --git a/tests/src/nodes/matmul_u32_2x1/input_0.cairo b/tests/nodes/matmul_u32_2x1/input_0.cairo similarity index 100% rename from tests/src/nodes/matmul_u32_2x1/input_0.cairo rename to tests/nodes/matmul_u32_2x1/input_0.cairo diff --git a/tests/src/nodes/matmul_u32_2x1/input_1.cairo b/tests/nodes/matmul_u32_2x1/input_1.cairo similarity index 100% rename from tests/src/nodes/matmul_u32_2x1/input_1.cairo rename to tests/nodes/matmul_u32_2x1/input_1.cairo diff --git a/tests/src/nodes/matmul_u32_2x1/output_0.cairo b/tests/nodes/matmul_u32_2x1/output_0.cairo similarity index 100% rename from tests/src/nodes/matmul_u32_2x1/output_0.cairo rename to tests/nodes/matmul_u32_2x1/output_0.cairo diff --git a/tests/src/nodes/matmul_u32_2x2.cairo b/tests/nodes/matmul_u32_2x2.cairo similarity index 100% rename from tests/src/nodes/matmul_u32_2x2.cairo rename to tests/nodes/matmul_u32_2x2.cairo diff --git a/tests/src/nodes/matmul_u32_2x2/input_0.cairo b/tests/nodes/matmul_u32_2x2/input_0.cairo similarity index 100% rename from tests/src/nodes/matmul_u32_2x2/input_0.cairo rename to tests/nodes/matmul_u32_2x2/input_0.cairo diff --git a/tests/src/nodes/matmul_u32_2x2/input_1.cairo b/tests/nodes/matmul_u32_2x2/input_1.cairo similarity index 100% rename from tests/src/nodes/matmul_u32_2x2/input_1.cairo rename to tests/nodes/matmul_u32_2x2/input_1.cairo diff --git a/tests/src/nodes/matmul_u32_2x2/output_0.cairo b/tests/nodes/matmul_u32_2x2/output_0.cairo similarity index 100% rename from tests/src/nodes/matmul_u32_2x2/output_0.cairo rename to tests/nodes/matmul_u32_2x2/output_0.cairo diff --git a/tests/src/nodes/mul_fp16x16.cairo b/tests/nodes/mul_fp16x16.cairo similarity index 100% rename from tests/src/nodes/mul_fp16x16.cairo rename to tests/nodes/mul_fp16x16.cairo diff --git a/tests/src/nodes/mul_fp16x16/input_0.cairo b/tests/nodes/mul_fp16x16/input_0.cairo similarity index 100% rename from tests/src/nodes/mul_fp16x16/input_0.cairo rename to tests/nodes/mul_fp16x16/input_0.cairo diff --git a/tests/src/nodes/mul_fp16x16/input_1.cairo b/tests/nodes/mul_fp16x16/input_1.cairo similarity index 100% rename from tests/src/nodes/mul_fp16x16/input_1.cairo rename to tests/nodes/mul_fp16x16/input_1.cairo diff --git a/tests/src/nodes/mul_fp16x16/output_0.cairo b/tests/nodes/mul_fp16x16/output_0.cairo similarity index 100% rename from tests/src/nodes/mul_fp16x16/output_0.cairo rename to tests/nodes/mul_fp16x16/output_0.cairo diff --git a/tests/src/nodes/mul_fp16x16_broadcast.cairo b/tests/nodes/mul_fp16x16_broadcast.cairo similarity index 100% rename from tests/src/nodes/mul_fp16x16_broadcast.cairo rename to tests/nodes/mul_fp16x16_broadcast.cairo diff --git a/tests/src/nodes/mul_fp16x16_broadcast/input_0.cairo b/tests/nodes/mul_fp16x16_broadcast/input_0.cairo similarity index 100% rename from tests/src/nodes/mul_fp16x16_broadcast/input_0.cairo rename to tests/nodes/mul_fp16x16_broadcast/input_0.cairo diff --git a/tests/src/nodes/mul_fp16x16_broadcast/input_1.cairo b/tests/nodes/mul_fp16x16_broadcast/input_1.cairo similarity index 100% rename from tests/src/nodes/mul_fp16x16_broadcast/input_1.cairo rename to tests/nodes/mul_fp16x16_broadcast/input_1.cairo diff --git a/tests/src/nodes/mul_fp16x16_broadcast/output_0.cairo b/tests/nodes/mul_fp16x16_broadcast/output_0.cairo similarity index 100% rename from tests/src/nodes/mul_fp16x16_broadcast/output_0.cairo rename to tests/nodes/mul_fp16x16_broadcast/output_0.cairo diff --git a/tests/src/nodes/mul_fp8x23.cairo b/tests/nodes/mul_fp8x23.cairo similarity index 100% rename from tests/src/nodes/mul_fp8x23.cairo rename to tests/nodes/mul_fp8x23.cairo diff --git a/tests/src/nodes/mul_fp8x23/input_0.cairo b/tests/nodes/mul_fp8x23/input_0.cairo similarity index 100% rename from tests/src/nodes/mul_fp8x23/input_0.cairo rename to tests/nodes/mul_fp8x23/input_0.cairo diff --git a/tests/src/nodes/mul_fp8x23/input_1.cairo b/tests/nodes/mul_fp8x23/input_1.cairo similarity index 100% rename from tests/src/nodes/mul_fp8x23/input_1.cairo rename to tests/nodes/mul_fp8x23/input_1.cairo diff --git a/tests/src/nodes/mul_fp8x23/output_0.cairo b/tests/nodes/mul_fp8x23/output_0.cairo similarity index 100% rename from tests/src/nodes/mul_fp8x23/output_0.cairo rename to tests/nodes/mul_fp8x23/output_0.cairo diff --git a/tests/src/nodes/mul_fp8x23_broadcast.cairo b/tests/nodes/mul_fp8x23_broadcast.cairo similarity index 100% rename from tests/src/nodes/mul_fp8x23_broadcast.cairo rename to tests/nodes/mul_fp8x23_broadcast.cairo diff --git a/tests/src/nodes/mul_fp8x23_broadcast/input_0.cairo b/tests/nodes/mul_fp8x23_broadcast/input_0.cairo similarity index 100% rename from tests/src/nodes/mul_fp8x23_broadcast/input_0.cairo rename to tests/nodes/mul_fp8x23_broadcast/input_0.cairo diff --git a/tests/src/nodes/mul_fp8x23_broadcast/input_1.cairo b/tests/nodes/mul_fp8x23_broadcast/input_1.cairo similarity index 100% rename from tests/src/nodes/mul_fp8x23_broadcast/input_1.cairo rename to tests/nodes/mul_fp8x23_broadcast/input_1.cairo diff --git a/tests/src/nodes/mul_fp8x23_broadcast/output_0.cairo b/tests/nodes/mul_fp8x23_broadcast/output_0.cairo similarity index 100% rename from tests/src/nodes/mul_fp8x23_broadcast/output_0.cairo rename to tests/nodes/mul_fp8x23_broadcast/output_0.cairo diff --git a/tests/src/nodes/mul_i32.cairo b/tests/nodes/mul_i32.cairo similarity index 100% rename from tests/src/nodes/mul_i32.cairo rename to tests/nodes/mul_i32.cairo diff --git a/tests/src/nodes/mul_i32/input_0.cairo b/tests/nodes/mul_i32/input_0.cairo similarity index 100% rename from tests/src/nodes/mul_i32/input_0.cairo rename to tests/nodes/mul_i32/input_0.cairo diff --git a/tests/src/nodes/mul_i32/input_1.cairo b/tests/nodes/mul_i32/input_1.cairo similarity index 100% rename from tests/src/nodes/mul_i32/input_1.cairo rename to tests/nodes/mul_i32/input_1.cairo diff --git a/tests/src/nodes/mul_i32/output_0.cairo b/tests/nodes/mul_i32/output_0.cairo similarity index 100% rename from tests/src/nodes/mul_i32/output_0.cairo rename to tests/nodes/mul_i32/output_0.cairo diff --git a/tests/src/nodes/mul_i32_broadcast.cairo b/tests/nodes/mul_i32_broadcast.cairo similarity index 100% rename from tests/src/nodes/mul_i32_broadcast.cairo rename to tests/nodes/mul_i32_broadcast.cairo diff --git a/tests/src/nodes/mul_i32_broadcast/input_0.cairo b/tests/nodes/mul_i32_broadcast/input_0.cairo similarity index 100% rename from tests/src/nodes/mul_i32_broadcast/input_0.cairo rename to tests/nodes/mul_i32_broadcast/input_0.cairo diff --git a/tests/src/nodes/mul_i32_broadcast/input_1.cairo b/tests/nodes/mul_i32_broadcast/input_1.cairo similarity index 100% rename from tests/src/nodes/mul_i32_broadcast/input_1.cairo rename to tests/nodes/mul_i32_broadcast/input_1.cairo diff --git a/tests/src/nodes/mul_i32_broadcast/output_0.cairo b/tests/nodes/mul_i32_broadcast/output_0.cairo similarity index 100% rename from tests/src/nodes/mul_i32_broadcast/output_0.cairo rename to tests/nodes/mul_i32_broadcast/output_0.cairo diff --git a/tests/src/nodes/mul_i8.cairo b/tests/nodes/mul_i8.cairo similarity index 100% rename from tests/src/nodes/mul_i8.cairo rename to tests/nodes/mul_i8.cairo diff --git a/tests/src/nodes/mul_i8/input_0.cairo b/tests/nodes/mul_i8/input_0.cairo similarity index 100% rename from tests/src/nodes/mul_i8/input_0.cairo rename to tests/nodes/mul_i8/input_0.cairo diff --git a/tests/src/nodes/mul_i8/input_1.cairo b/tests/nodes/mul_i8/input_1.cairo similarity index 100% rename from tests/src/nodes/mul_i8/input_1.cairo rename to tests/nodes/mul_i8/input_1.cairo diff --git a/tests/src/nodes/mul_i8/output_0.cairo b/tests/nodes/mul_i8/output_0.cairo similarity index 100% rename from tests/src/nodes/mul_i8/output_0.cairo rename to tests/nodes/mul_i8/output_0.cairo diff --git a/tests/src/nodes/mul_i8_broadcast.cairo b/tests/nodes/mul_i8_broadcast.cairo similarity index 100% rename from tests/src/nodes/mul_i8_broadcast.cairo rename to tests/nodes/mul_i8_broadcast.cairo diff --git a/tests/src/nodes/mul_i8_broadcast/input_0.cairo b/tests/nodes/mul_i8_broadcast/input_0.cairo similarity index 100% rename from tests/src/nodes/mul_i8_broadcast/input_0.cairo rename to tests/nodes/mul_i8_broadcast/input_0.cairo diff --git a/tests/src/nodes/mul_i8_broadcast/input_1.cairo b/tests/nodes/mul_i8_broadcast/input_1.cairo similarity index 100% rename from tests/src/nodes/mul_i8_broadcast/input_1.cairo rename to tests/nodes/mul_i8_broadcast/input_1.cairo diff --git a/tests/src/nodes/mul_i8_broadcast/output_0.cairo b/tests/nodes/mul_i8_broadcast/output_0.cairo similarity index 100% rename from tests/src/nodes/mul_i8_broadcast/output_0.cairo rename to tests/nodes/mul_i8_broadcast/output_0.cairo diff --git a/tests/src/nodes/mul_u32.cairo b/tests/nodes/mul_u32.cairo similarity index 100% rename from tests/src/nodes/mul_u32.cairo rename to tests/nodes/mul_u32.cairo diff --git a/tests/src/nodes/mul_u32/input_0.cairo b/tests/nodes/mul_u32/input_0.cairo similarity index 100% rename from tests/src/nodes/mul_u32/input_0.cairo rename to tests/nodes/mul_u32/input_0.cairo diff --git a/tests/src/nodes/mul_u32/input_1.cairo b/tests/nodes/mul_u32/input_1.cairo similarity index 100% rename from tests/src/nodes/mul_u32/input_1.cairo rename to tests/nodes/mul_u32/input_1.cairo diff --git a/tests/src/nodes/mul_u32/output_0.cairo b/tests/nodes/mul_u32/output_0.cairo similarity index 100% rename from tests/src/nodes/mul_u32/output_0.cairo rename to tests/nodes/mul_u32/output_0.cairo diff --git a/tests/src/nodes/mul_u32_broadcast.cairo b/tests/nodes/mul_u32_broadcast.cairo similarity index 100% rename from tests/src/nodes/mul_u32_broadcast.cairo rename to tests/nodes/mul_u32_broadcast.cairo diff --git a/tests/src/nodes/mul_u32_broadcast/input_0.cairo b/tests/nodes/mul_u32_broadcast/input_0.cairo similarity index 100% rename from tests/src/nodes/mul_u32_broadcast/input_0.cairo rename to tests/nodes/mul_u32_broadcast/input_0.cairo diff --git a/tests/src/nodes/mul_u32_broadcast/input_1.cairo b/tests/nodes/mul_u32_broadcast/input_1.cairo similarity index 100% rename from tests/src/nodes/mul_u32_broadcast/input_1.cairo rename to tests/nodes/mul_u32_broadcast/input_1.cairo diff --git a/tests/src/nodes/mul_u32_broadcast/output_0.cairo b/tests/nodes/mul_u32_broadcast/output_0.cairo similarity index 100% rename from tests/src/nodes/mul_u32_broadcast/output_0.cairo rename to tests/nodes/mul_u32_broadcast/output_0.cairo diff --git a/tests/src/nodes/neg_fp16x16.cairo b/tests/nodes/neg_fp16x16.cairo similarity index 100% rename from tests/src/nodes/neg_fp16x16.cairo rename to tests/nodes/neg_fp16x16.cairo diff --git a/tests/src/nodes/neg_fp16x16/input_0.cairo b/tests/nodes/neg_fp16x16/input_0.cairo similarity index 100% rename from tests/src/nodes/neg_fp16x16/input_0.cairo rename to tests/nodes/neg_fp16x16/input_0.cairo diff --git a/tests/src/nodes/neg_fp16x16/output_0.cairo b/tests/nodes/neg_fp16x16/output_0.cairo similarity index 100% rename from tests/src/nodes/neg_fp16x16/output_0.cairo rename to tests/nodes/neg_fp16x16/output_0.cairo diff --git a/tests/src/nodes/neg_fp8x23.cairo b/tests/nodes/neg_fp8x23.cairo similarity index 100% rename from tests/src/nodes/neg_fp8x23.cairo rename to tests/nodes/neg_fp8x23.cairo diff --git a/tests/src/nodes/neg_fp8x23/input_0.cairo b/tests/nodes/neg_fp8x23/input_0.cairo similarity index 100% rename from tests/src/nodes/neg_fp8x23/input_0.cairo rename to tests/nodes/neg_fp8x23/input_0.cairo diff --git a/tests/src/nodes/neg_fp8x23/output_0.cairo b/tests/nodes/neg_fp8x23/output_0.cairo similarity index 100% rename from tests/src/nodes/neg_fp8x23/output_0.cairo rename to tests/nodes/neg_fp8x23/output_0.cairo diff --git a/tests/src/nodes/neg_i32.cairo b/tests/nodes/neg_i32.cairo similarity index 100% rename from tests/src/nodes/neg_i32.cairo rename to tests/nodes/neg_i32.cairo diff --git a/tests/src/nodes/neg_i32/input_0.cairo b/tests/nodes/neg_i32/input_0.cairo similarity index 100% rename from tests/src/nodes/neg_i32/input_0.cairo rename to tests/nodes/neg_i32/input_0.cairo diff --git a/tests/src/nodes/neg_i32/output_0.cairo b/tests/nodes/neg_i32/output_0.cairo similarity index 100% rename from tests/src/nodes/neg_i32/output_0.cairo rename to tests/nodes/neg_i32/output_0.cairo diff --git a/tests/src/nodes/neg_i8.cairo b/tests/nodes/neg_i8.cairo similarity index 100% rename from tests/src/nodes/neg_i8.cairo rename to tests/nodes/neg_i8.cairo diff --git a/tests/src/nodes/neg_i8/input_0.cairo b/tests/nodes/neg_i8/input_0.cairo similarity index 100% rename from tests/src/nodes/neg_i8/input_0.cairo rename to tests/nodes/neg_i8/input_0.cairo diff --git a/tests/src/nodes/neg_i8/output_0.cairo b/tests/nodes/neg_i8/output_0.cairo similarity index 100% rename from tests/src/nodes/neg_i8/output_0.cairo rename to tests/nodes/neg_i8/output_0.cairo diff --git a/tests/src/nodes/nonzero_fp16x16_2d.cairo b/tests/nodes/nonzero_fp16x16_2d.cairo similarity index 100% rename from tests/src/nodes/nonzero_fp16x16_2d.cairo rename to tests/nodes/nonzero_fp16x16_2d.cairo diff --git a/tests/src/nodes/nonzero_fp16x16_2d/input_0.cairo b/tests/nodes/nonzero_fp16x16_2d/input_0.cairo similarity index 100% rename from tests/src/nodes/nonzero_fp16x16_2d/input_0.cairo rename to tests/nodes/nonzero_fp16x16_2d/input_0.cairo diff --git a/tests/src/nodes/nonzero_fp16x16_2d/output_0.cairo b/tests/nodes/nonzero_fp16x16_2d/output_0.cairo similarity index 100% rename from tests/src/nodes/nonzero_fp16x16_2d/output_0.cairo rename to tests/nodes/nonzero_fp16x16_2d/output_0.cairo diff --git a/tests/src/nodes/nonzero_fp16x16_3d.cairo b/tests/nodes/nonzero_fp16x16_3d.cairo similarity index 100% rename from tests/src/nodes/nonzero_fp16x16_3d.cairo rename to tests/nodes/nonzero_fp16x16_3d.cairo diff --git a/tests/src/nodes/nonzero_fp16x16_3d/input_0.cairo b/tests/nodes/nonzero_fp16x16_3d/input_0.cairo similarity index 100% rename from tests/src/nodes/nonzero_fp16x16_3d/input_0.cairo rename to tests/nodes/nonzero_fp16x16_3d/input_0.cairo diff --git a/tests/src/nodes/nonzero_fp16x16_3d/output_0.cairo b/tests/nodes/nonzero_fp16x16_3d/output_0.cairo similarity index 100% rename from tests/src/nodes/nonzero_fp16x16_3d/output_0.cairo rename to tests/nodes/nonzero_fp16x16_3d/output_0.cairo diff --git a/tests/src/nodes/nonzero_fp8x23_2d.cairo b/tests/nodes/nonzero_fp8x23_2d.cairo similarity index 100% rename from tests/src/nodes/nonzero_fp8x23_2d.cairo rename to tests/nodes/nonzero_fp8x23_2d.cairo diff --git a/tests/src/nodes/nonzero_fp8x23_2d/input_0.cairo b/tests/nodes/nonzero_fp8x23_2d/input_0.cairo similarity index 100% rename from tests/src/nodes/nonzero_fp8x23_2d/input_0.cairo rename to tests/nodes/nonzero_fp8x23_2d/input_0.cairo diff --git a/tests/src/nodes/nonzero_fp8x23_2d/output_0.cairo b/tests/nodes/nonzero_fp8x23_2d/output_0.cairo similarity index 100% rename from tests/src/nodes/nonzero_fp8x23_2d/output_0.cairo rename to tests/nodes/nonzero_fp8x23_2d/output_0.cairo diff --git a/tests/src/nodes/nonzero_fp8x23_3d.cairo b/tests/nodes/nonzero_fp8x23_3d.cairo similarity index 100% rename from tests/src/nodes/nonzero_fp8x23_3d.cairo rename to tests/nodes/nonzero_fp8x23_3d.cairo diff --git a/tests/src/nodes/nonzero_fp8x23_3d/input_0.cairo b/tests/nodes/nonzero_fp8x23_3d/input_0.cairo similarity index 100% rename from tests/src/nodes/nonzero_fp8x23_3d/input_0.cairo rename to tests/nodes/nonzero_fp8x23_3d/input_0.cairo diff --git a/tests/src/nodes/nonzero_fp8x23_3d/output_0.cairo b/tests/nodes/nonzero_fp8x23_3d/output_0.cairo similarity index 100% rename from tests/src/nodes/nonzero_fp8x23_3d/output_0.cairo rename to tests/nodes/nonzero_fp8x23_3d/output_0.cairo diff --git a/tests/src/nodes/nonzero_i32_2d.cairo b/tests/nodes/nonzero_i32_2d.cairo similarity index 100% rename from tests/src/nodes/nonzero_i32_2d.cairo rename to tests/nodes/nonzero_i32_2d.cairo diff --git a/tests/src/nodes/nonzero_i32_2d/input_0.cairo b/tests/nodes/nonzero_i32_2d/input_0.cairo similarity index 100% rename from tests/src/nodes/nonzero_i32_2d/input_0.cairo rename to tests/nodes/nonzero_i32_2d/input_0.cairo diff --git a/tests/src/nodes/nonzero_i32_2d/output_0.cairo b/tests/nodes/nonzero_i32_2d/output_0.cairo similarity index 100% rename from tests/src/nodes/nonzero_i32_2d/output_0.cairo rename to tests/nodes/nonzero_i32_2d/output_0.cairo diff --git a/tests/src/nodes/nonzero_i32_3d.cairo b/tests/nodes/nonzero_i32_3d.cairo similarity index 100% rename from tests/src/nodes/nonzero_i32_3d.cairo rename to tests/nodes/nonzero_i32_3d.cairo diff --git a/tests/src/nodes/nonzero_i32_3d/input_0.cairo b/tests/nodes/nonzero_i32_3d/input_0.cairo similarity index 100% rename from tests/src/nodes/nonzero_i32_3d/input_0.cairo rename to tests/nodes/nonzero_i32_3d/input_0.cairo diff --git a/tests/src/nodes/nonzero_i32_3d/output_0.cairo b/tests/nodes/nonzero_i32_3d/output_0.cairo similarity index 100% rename from tests/src/nodes/nonzero_i32_3d/output_0.cairo rename to tests/nodes/nonzero_i32_3d/output_0.cairo diff --git a/tests/src/nodes/nonzero_i8_2d.cairo b/tests/nodes/nonzero_i8_2d.cairo similarity index 100% rename from tests/src/nodes/nonzero_i8_2d.cairo rename to tests/nodes/nonzero_i8_2d.cairo diff --git a/tests/src/nodes/nonzero_i8_2d/input_0.cairo b/tests/nodes/nonzero_i8_2d/input_0.cairo similarity index 100% rename from tests/src/nodes/nonzero_i8_2d/input_0.cairo rename to tests/nodes/nonzero_i8_2d/input_0.cairo diff --git a/tests/src/nodes/nonzero_i8_2d/output_0.cairo b/tests/nodes/nonzero_i8_2d/output_0.cairo similarity index 100% rename from tests/src/nodes/nonzero_i8_2d/output_0.cairo rename to tests/nodes/nonzero_i8_2d/output_0.cairo diff --git a/tests/src/nodes/nonzero_i8_3d.cairo b/tests/nodes/nonzero_i8_3d.cairo similarity index 100% rename from tests/src/nodes/nonzero_i8_3d.cairo rename to tests/nodes/nonzero_i8_3d.cairo diff --git a/tests/src/nodes/nonzero_i8_3d/input_0.cairo b/tests/nodes/nonzero_i8_3d/input_0.cairo similarity index 100% rename from tests/src/nodes/nonzero_i8_3d/input_0.cairo rename to tests/nodes/nonzero_i8_3d/input_0.cairo diff --git a/tests/src/nodes/nonzero_i8_3d/output_0.cairo b/tests/nodes/nonzero_i8_3d/output_0.cairo similarity index 100% rename from tests/src/nodes/nonzero_i8_3d/output_0.cairo rename to tests/nodes/nonzero_i8_3d/output_0.cairo diff --git a/tests/src/nodes/nonzero_u32_2d.cairo b/tests/nodes/nonzero_u32_2d.cairo similarity index 100% rename from tests/src/nodes/nonzero_u32_2d.cairo rename to tests/nodes/nonzero_u32_2d.cairo diff --git a/tests/src/nodes/nonzero_u32_2d/input_0.cairo b/tests/nodes/nonzero_u32_2d/input_0.cairo similarity index 100% rename from tests/src/nodes/nonzero_u32_2d/input_0.cairo rename to tests/nodes/nonzero_u32_2d/input_0.cairo diff --git a/tests/src/nodes/nonzero_u32_2d/output_0.cairo b/tests/nodes/nonzero_u32_2d/output_0.cairo similarity index 100% rename from tests/src/nodes/nonzero_u32_2d/output_0.cairo rename to tests/nodes/nonzero_u32_2d/output_0.cairo diff --git a/tests/src/nodes/nonzero_u32_3d.cairo b/tests/nodes/nonzero_u32_3d.cairo similarity index 100% rename from tests/src/nodes/nonzero_u32_3d.cairo rename to tests/nodes/nonzero_u32_3d.cairo diff --git a/tests/src/nodes/nonzero_u32_3d/input_0.cairo b/tests/nodes/nonzero_u32_3d/input_0.cairo similarity index 100% rename from tests/src/nodes/nonzero_u32_3d/input_0.cairo rename to tests/nodes/nonzero_u32_3d/input_0.cairo diff --git a/tests/src/nodes/nonzero_u32_3d/output_0.cairo b/tests/nodes/nonzero_u32_3d/output_0.cairo similarity index 100% rename from tests/src/nodes/nonzero_u32_3d/output_0.cairo rename to tests/nodes/nonzero_u32_3d/output_0.cairo diff --git a/tests/src/nodes/or_fp16x16.cairo b/tests/nodes/or_fp16x16.cairo similarity index 100% rename from tests/src/nodes/or_fp16x16.cairo rename to tests/nodes/or_fp16x16.cairo diff --git a/tests/src/nodes/or_fp16x16/input_0.cairo b/tests/nodes/or_fp16x16/input_0.cairo similarity index 100% rename from tests/src/nodes/or_fp16x16/input_0.cairo rename to tests/nodes/or_fp16x16/input_0.cairo diff --git a/tests/src/nodes/or_fp16x16/input_1.cairo b/tests/nodes/or_fp16x16/input_1.cairo similarity index 100% rename from tests/src/nodes/or_fp16x16/input_1.cairo rename to tests/nodes/or_fp16x16/input_1.cairo diff --git a/tests/src/nodes/or_fp16x16/output_0.cairo b/tests/nodes/or_fp16x16/output_0.cairo similarity index 100% rename from tests/src/nodes/or_fp16x16/output_0.cairo rename to tests/nodes/or_fp16x16/output_0.cairo diff --git a/tests/src/nodes/or_fp16x16_broadcast.cairo b/tests/nodes/or_fp16x16_broadcast.cairo similarity index 100% rename from tests/src/nodes/or_fp16x16_broadcast.cairo rename to tests/nodes/or_fp16x16_broadcast.cairo diff --git a/tests/src/nodes/or_fp16x16_broadcast/input_0.cairo b/tests/nodes/or_fp16x16_broadcast/input_0.cairo similarity index 100% rename from tests/src/nodes/or_fp16x16_broadcast/input_0.cairo rename to tests/nodes/or_fp16x16_broadcast/input_0.cairo diff --git a/tests/src/nodes/or_fp16x16_broadcast/input_1.cairo b/tests/nodes/or_fp16x16_broadcast/input_1.cairo similarity index 100% rename from tests/src/nodes/or_fp16x16_broadcast/input_1.cairo rename to tests/nodes/or_fp16x16_broadcast/input_1.cairo diff --git a/tests/src/nodes/or_fp16x16_broadcast/output_0.cairo b/tests/nodes/or_fp16x16_broadcast/output_0.cairo similarity index 100% rename from tests/src/nodes/or_fp16x16_broadcast/output_0.cairo rename to tests/nodes/or_fp16x16_broadcast/output_0.cairo diff --git a/tests/src/nodes/or_fp8x23.cairo b/tests/nodes/or_fp8x23.cairo similarity index 100% rename from tests/src/nodes/or_fp8x23.cairo rename to tests/nodes/or_fp8x23.cairo diff --git a/tests/src/nodes/or_fp8x23/input_0.cairo b/tests/nodes/or_fp8x23/input_0.cairo similarity index 100% rename from tests/src/nodes/or_fp8x23/input_0.cairo rename to tests/nodes/or_fp8x23/input_0.cairo diff --git a/tests/src/nodes/or_fp8x23/input_1.cairo b/tests/nodes/or_fp8x23/input_1.cairo similarity index 100% rename from tests/src/nodes/or_fp8x23/input_1.cairo rename to tests/nodes/or_fp8x23/input_1.cairo diff --git a/tests/src/nodes/or_fp8x23/output_0.cairo b/tests/nodes/or_fp8x23/output_0.cairo similarity index 100% rename from tests/src/nodes/or_fp8x23/output_0.cairo rename to tests/nodes/or_fp8x23/output_0.cairo diff --git a/tests/src/nodes/or_fp8x23_broadcast.cairo b/tests/nodes/or_fp8x23_broadcast.cairo similarity index 100% rename from tests/src/nodes/or_fp8x23_broadcast.cairo rename to tests/nodes/or_fp8x23_broadcast.cairo diff --git a/tests/src/nodes/or_fp8x23_broadcast/input_0.cairo b/tests/nodes/or_fp8x23_broadcast/input_0.cairo similarity index 100% rename from tests/src/nodes/or_fp8x23_broadcast/input_0.cairo rename to tests/nodes/or_fp8x23_broadcast/input_0.cairo diff --git a/tests/src/nodes/or_fp8x23_broadcast/input_1.cairo b/tests/nodes/or_fp8x23_broadcast/input_1.cairo similarity index 100% rename from tests/src/nodes/or_fp8x23_broadcast/input_1.cairo rename to tests/nodes/or_fp8x23_broadcast/input_1.cairo diff --git a/tests/src/nodes/or_fp8x23_broadcast/output_0.cairo b/tests/nodes/or_fp8x23_broadcast/output_0.cairo similarity index 100% rename from tests/src/nodes/or_fp8x23_broadcast/output_0.cairo rename to tests/nodes/or_fp8x23_broadcast/output_0.cairo diff --git a/tests/src/nodes/or_i32.cairo b/tests/nodes/or_i32.cairo similarity index 100% rename from tests/src/nodes/or_i32.cairo rename to tests/nodes/or_i32.cairo diff --git a/tests/src/nodes/or_i32/input_0.cairo b/tests/nodes/or_i32/input_0.cairo similarity index 100% rename from tests/src/nodes/or_i32/input_0.cairo rename to tests/nodes/or_i32/input_0.cairo diff --git a/tests/src/nodes/or_i32/input_1.cairo b/tests/nodes/or_i32/input_1.cairo similarity index 100% rename from tests/src/nodes/or_i32/input_1.cairo rename to tests/nodes/or_i32/input_1.cairo diff --git a/tests/src/nodes/or_i32/output_0.cairo b/tests/nodes/or_i32/output_0.cairo similarity index 100% rename from tests/src/nodes/or_i32/output_0.cairo rename to tests/nodes/or_i32/output_0.cairo diff --git a/tests/src/nodes/or_i32_broadcast.cairo b/tests/nodes/or_i32_broadcast.cairo similarity index 100% rename from tests/src/nodes/or_i32_broadcast.cairo rename to tests/nodes/or_i32_broadcast.cairo diff --git a/tests/src/nodes/or_i32_broadcast/input_0.cairo b/tests/nodes/or_i32_broadcast/input_0.cairo similarity index 100% rename from tests/src/nodes/or_i32_broadcast/input_0.cairo rename to tests/nodes/or_i32_broadcast/input_0.cairo diff --git a/tests/src/nodes/or_i32_broadcast/input_1.cairo b/tests/nodes/or_i32_broadcast/input_1.cairo similarity index 100% rename from tests/src/nodes/or_i32_broadcast/input_1.cairo rename to tests/nodes/or_i32_broadcast/input_1.cairo diff --git a/tests/src/nodes/or_i32_broadcast/output_0.cairo b/tests/nodes/or_i32_broadcast/output_0.cairo similarity index 100% rename from tests/src/nodes/or_i32_broadcast/output_0.cairo rename to tests/nodes/or_i32_broadcast/output_0.cairo diff --git a/tests/src/nodes/or_i8.cairo b/tests/nodes/or_i8.cairo similarity index 100% rename from tests/src/nodes/or_i8.cairo rename to tests/nodes/or_i8.cairo diff --git a/tests/src/nodes/or_i8/input_0.cairo b/tests/nodes/or_i8/input_0.cairo similarity index 100% rename from tests/src/nodes/or_i8/input_0.cairo rename to tests/nodes/or_i8/input_0.cairo diff --git a/tests/src/nodes/or_i8/input_1.cairo b/tests/nodes/or_i8/input_1.cairo similarity index 100% rename from tests/src/nodes/or_i8/input_1.cairo rename to tests/nodes/or_i8/input_1.cairo diff --git a/tests/src/nodes/or_i8/output_0.cairo b/tests/nodes/or_i8/output_0.cairo similarity index 100% rename from tests/src/nodes/or_i8/output_0.cairo rename to tests/nodes/or_i8/output_0.cairo diff --git a/tests/src/nodes/or_i8_broadcast.cairo b/tests/nodes/or_i8_broadcast.cairo similarity index 100% rename from tests/src/nodes/or_i8_broadcast.cairo rename to tests/nodes/or_i8_broadcast.cairo diff --git a/tests/src/nodes/or_i8_broadcast/input_0.cairo b/tests/nodes/or_i8_broadcast/input_0.cairo similarity index 100% rename from tests/src/nodes/or_i8_broadcast/input_0.cairo rename to tests/nodes/or_i8_broadcast/input_0.cairo diff --git a/tests/src/nodes/or_i8_broadcast/input_1.cairo b/tests/nodes/or_i8_broadcast/input_1.cairo similarity index 100% rename from tests/src/nodes/or_i8_broadcast/input_1.cairo rename to tests/nodes/or_i8_broadcast/input_1.cairo diff --git a/tests/src/nodes/or_i8_broadcast/output_0.cairo b/tests/nodes/or_i8_broadcast/output_0.cairo similarity index 100% rename from tests/src/nodes/or_i8_broadcast/output_0.cairo rename to tests/nodes/or_i8_broadcast/output_0.cairo diff --git a/tests/src/nodes/or_u32.cairo b/tests/nodes/or_u32.cairo similarity index 100% rename from tests/src/nodes/or_u32.cairo rename to tests/nodes/or_u32.cairo diff --git a/tests/src/nodes/or_u32/input_0.cairo b/tests/nodes/or_u32/input_0.cairo similarity index 100% rename from tests/src/nodes/or_u32/input_0.cairo rename to tests/nodes/or_u32/input_0.cairo diff --git a/tests/src/nodes/or_u32/input_1.cairo b/tests/nodes/or_u32/input_1.cairo similarity index 100% rename from tests/src/nodes/or_u32/input_1.cairo rename to tests/nodes/or_u32/input_1.cairo diff --git a/tests/src/nodes/or_u32/output_0.cairo b/tests/nodes/or_u32/output_0.cairo similarity index 100% rename from tests/src/nodes/or_u32/output_0.cairo rename to tests/nodes/or_u32/output_0.cairo diff --git a/tests/src/nodes/or_u32_broadcast.cairo b/tests/nodes/or_u32_broadcast.cairo similarity index 100% rename from tests/src/nodes/or_u32_broadcast.cairo rename to tests/nodes/or_u32_broadcast.cairo diff --git a/tests/src/nodes/or_u32_broadcast/input_0.cairo b/tests/nodes/or_u32_broadcast/input_0.cairo similarity index 100% rename from tests/src/nodes/or_u32_broadcast/input_0.cairo rename to tests/nodes/or_u32_broadcast/input_0.cairo diff --git a/tests/src/nodes/or_u32_broadcast/input_1.cairo b/tests/nodes/or_u32_broadcast/input_1.cairo similarity index 100% rename from tests/src/nodes/or_u32_broadcast/input_1.cairo rename to tests/nodes/or_u32_broadcast/input_1.cairo diff --git a/tests/src/nodes/or_u32_broadcast/output_0.cairo b/tests/nodes/or_u32_broadcast/output_0.cairo similarity index 100% rename from tests/src/nodes/or_u32_broadcast/output_0.cairo rename to tests/nodes/or_u32_broadcast/output_0.cairo diff --git a/tests/src/nodes/reduce_sum_fp16x16_1D.cairo b/tests/nodes/reduce_sum_fp16x16_1D.cairo similarity index 100% rename from tests/src/nodes/reduce_sum_fp16x16_1D.cairo rename to tests/nodes/reduce_sum_fp16x16_1D.cairo diff --git a/tests/src/nodes/reduce_sum_fp16x16_1D/input_0.cairo b/tests/nodes/reduce_sum_fp16x16_1D/input_0.cairo similarity index 100% rename from tests/src/nodes/reduce_sum_fp16x16_1D/input_0.cairo rename to tests/nodes/reduce_sum_fp16x16_1D/input_0.cairo diff --git a/tests/src/nodes/reduce_sum_fp16x16_1D/output_0.cairo b/tests/nodes/reduce_sum_fp16x16_1D/output_0.cairo similarity index 100% rename from tests/src/nodes/reduce_sum_fp16x16_1D/output_0.cairo rename to tests/nodes/reduce_sum_fp16x16_1D/output_0.cairo diff --git a/tests/src/nodes/reduce_sum_fp16x16_2D_axis_1.cairo b/tests/nodes/reduce_sum_fp16x16_2D_axis_1.cairo similarity index 100% rename from tests/src/nodes/reduce_sum_fp16x16_2D_axis_1.cairo rename to tests/nodes/reduce_sum_fp16x16_2D_axis_1.cairo diff --git a/tests/src/nodes/reduce_sum_fp16x16_2D_axis_1/input_0.cairo b/tests/nodes/reduce_sum_fp16x16_2D_axis_1/input_0.cairo similarity index 100% rename from tests/src/nodes/reduce_sum_fp16x16_2D_axis_1/input_0.cairo rename to tests/nodes/reduce_sum_fp16x16_2D_axis_1/input_0.cairo diff --git a/tests/src/nodes/reduce_sum_fp16x16_2D_axis_1/output_0.cairo b/tests/nodes/reduce_sum_fp16x16_2D_axis_1/output_0.cairo similarity index 100% rename from tests/src/nodes/reduce_sum_fp16x16_2D_axis_1/output_0.cairo rename to tests/nodes/reduce_sum_fp16x16_2D_axis_1/output_0.cairo diff --git a/tests/src/nodes/reduce_sum_fp16x16_2D_default.cairo b/tests/nodes/reduce_sum_fp16x16_2D_default.cairo similarity index 100% rename from tests/src/nodes/reduce_sum_fp16x16_2D_default.cairo rename to tests/nodes/reduce_sum_fp16x16_2D_default.cairo diff --git a/tests/src/nodes/reduce_sum_fp16x16_2D_default/input_0.cairo b/tests/nodes/reduce_sum_fp16x16_2D_default/input_0.cairo similarity index 100% rename from tests/src/nodes/reduce_sum_fp16x16_2D_default/input_0.cairo rename to tests/nodes/reduce_sum_fp16x16_2D_default/input_0.cairo diff --git a/tests/src/nodes/reduce_sum_fp16x16_2D_default/output_0.cairo b/tests/nodes/reduce_sum_fp16x16_2D_default/output_0.cairo similarity index 100% rename from tests/src/nodes/reduce_sum_fp16x16_2D_default/output_0.cairo rename to tests/nodes/reduce_sum_fp16x16_2D_default/output_0.cairo diff --git a/tests/src/nodes/reduce_sum_fp16x16_2D_keepdims.cairo b/tests/nodes/reduce_sum_fp16x16_2D_keepdims.cairo similarity index 100% rename from tests/src/nodes/reduce_sum_fp16x16_2D_keepdims.cairo rename to tests/nodes/reduce_sum_fp16x16_2D_keepdims.cairo diff --git a/tests/src/nodes/reduce_sum_fp16x16_2D_keepdims/input_0.cairo b/tests/nodes/reduce_sum_fp16x16_2D_keepdims/input_0.cairo similarity index 100% rename from tests/src/nodes/reduce_sum_fp16x16_2D_keepdims/input_0.cairo rename to tests/nodes/reduce_sum_fp16x16_2D_keepdims/input_0.cairo diff --git a/tests/src/nodes/reduce_sum_fp16x16_2D_keepdims/output_0.cairo b/tests/nodes/reduce_sum_fp16x16_2D_keepdims/output_0.cairo similarity index 100% rename from tests/src/nodes/reduce_sum_fp16x16_2D_keepdims/output_0.cairo rename to tests/nodes/reduce_sum_fp16x16_2D_keepdims/output_0.cairo diff --git a/tests/src/nodes/reduce_sum_fp8x23_1D.cairo b/tests/nodes/reduce_sum_fp8x23_1D.cairo similarity index 100% rename from tests/src/nodes/reduce_sum_fp8x23_1D.cairo rename to tests/nodes/reduce_sum_fp8x23_1D.cairo diff --git a/tests/src/nodes/reduce_sum_fp8x23_1D/input_0.cairo b/tests/nodes/reduce_sum_fp8x23_1D/input_0.cairo similarity index 100% rename from tests/src/nodes/reduce_sum_fp8x23_1D/input_0.cairo rename to tests/nodes/reduce_sum_fp8x23_1D/input_0.cairo diff --git a/tests/src/nodes/reduce_sum_fp8x23_1D/output_0.cairo b/tests/nodes/reduce_sum_fp8x23_1D/output_0.cairo similarity index 100% rename from tests/src/nodes/reduce_sum_fp8x23_1D/output_0.cairo rename to tests/nodes/reduce_sum_fp8x23_1D/output_0.cairo diff --git a/tests/src/nodes/reduce_sum_fp8x23_2D_axis_1.cairo b/tests/nodes/reduce_sum_fp8x23_2D_axis_1.cairo similarity index 100% rename from tests/src/nodes/reduce_sum_fp8x23_2D_axis_1.cairo rename to tests/nodes/reduce_sum_fp8x23_2D_axis_1.cairo diff --git a/tests/src/nodes/reduce_sum_fp8x23_2D_axis_1/input_0.cairo b/tests/nodes/reduce_sum_fp8x23_2D_axis_1/input_0.cairo similarity index 100% rename from tests/src/nodes/reduce_sum_fp8x23_2D_axis_1/input_0.cairo rename to tests/nodes/reduce_sum_fp8x23_2D_axis_1/input_0.cairo diff --git a/tests/src/nodes/reduce_sum_fp8x23_2D_axis_1/output_0.cairo b/tests/nodes/reduce_sum_fp8x23_2D_axis_1/output_0.cairo similarity index 100% rename from tests/src/nodes/reduce_sum_fp8x23_2D_axis_1/output_0.cairo rename to tests/nodes/reduce_sum_fp8x23_2D_axis_1/output_0.cairo diff --git a/tests/src/nodes/reduce_sum_fp8x23_2D_default.cairo b/tests/nodes/reduce_sum_fp8x23_2D_default.cairo similarity index 100% rename from tests/src/nodes/reduce_sum_fp8x23_2D_default.cairo rename to tests/nodes/reduce_sum_fp8x23_2D_default.cairo diff --git a/tests/src/nodes/reduce_sum_fp8x23_2D_default/input_0.cairo b/tests/nodes/reduce_sum_fp8x23_2D_default/input_0.cairo similarity index 100% rename from tests/src/nodes/reduce_sum_fp8x23_2D_default/input_0.cairo rename to tests/nodes/reduce_sum_fp8x23_2D_default/input_0.cairo diff --git a/tests/src/nodes/reduce_sum_fp8x23_2D_default/output_0.cairo b/tests/nodes/reduce_sum_fp8x23_2D_default/output_0.cairo similarity index 100% rename from tests/src/nodes/reduce_sum_fp8x23_2D_default/output_0.cairo rename to tests/nodes/reduce_sum_fp8x23_2D_default/output_0.cairo diff --git a/tests/src/nodes/reduce_sum_fp8x23_2D_keepdims.cairo b/tests/nodes/reduce_sum_fp8x23_2D_keepdims.cairo similarity index 100% rename from tests/src/nodes/reduce_sum_fp8x23_2D_keepdims.cairo rename to tests/nodes/reduce_sum_fp8x23_2D_keepdims.cairo diff --git a/tests/src/nodes/reduce_sum_fp8x23_2D_keepdims/input_0.cairo b/tests/nodes/reduce_sum_fp8x23_2D_keepdims/input_0.cairo similarity index 100% rename from tests/src/nodes/reduce_sum_fp8x23_2D_keepdims/input_0.cairo rename to tests/nodes/reduce_sum_fp8x23_2D_keepdims/input_0.cairo diff --git a/tests/src/nodes/reduce_sum_fp8x23_2D_keepdims/output_0.cairo b/tests/nodes/reduce_sum_fp8x23_2D_keepdims/output_0.cairo similarity index 100% rename from tests/src/nodes/reduce_sum_fp8x23_2D_keepdims/output_0.cairo rename to tests/nodes/reduce_sum_fp8x23_2D_keepdims/output_0.cairo diff --git a/tests/src/nodes/reduce_sum_i32_1D.cairo b/tests/nodes/reduce_sum_i32_1D.cairo similarity index 100% rename from tests/src/nodes/reduce_sum_i32_1D.cairo rename to tests/nodes/reduce_sum_i32_1D.cairo diff --git a/tests/src/nodes/reduce_sum_i32_1D/input_0.cairo b/tests/nodes/reduce_sum_i32_1D/input_0.cairo similarity index 100% rename from tests/src/nodes/reduce_sum_i32_1D/input_0.cairo rename to tests/nodes/reduce_sum_i32_1D/input_0.cairo diff --git a/tests/src/nodes/reduce_sum_i32_1D/output_0.cairo b/tests/nodes/reduce_sum_i32_1D/output_0.cairo similarity index 100% rename from tests/src/nodes/reduce_sum_i32_1D/output_0.cairo rename to tests/nodes/reduce_sum_i32_1D/output_0.cairo diff --git a/tests/src/nodes/reduce_sum_i32_2D_axis_1.cairo b/tests/nodes/reduce_sum_i32_2D_axis_1.cairo similarity index 100% rename from tests/src/nodes/reduce_sum_i32_2D_axis_1.cairo rename to tests/nodes/reduce_sum_i32_2D_axis_1.cairo diff --git a/tests/src/nodes/reduce_sum_i32_2D_axis_1/input_0.cairo b/tests/nodes/reduce_sum_i32_2D_axis_1/input_0.cairo similarity index 100% rename from tests/src/nodes/reduce_sum_i32_2D_axis_1/input_0.cairo rename to tests/nodes/reduce_sum_i32_2D_axis_1/input_0.cairo diff --git a/tests/src/nodes/reduce_sum_i32_2D_axis_1/output_0.cairo b/tests/nodes/reduce_sum_i32_2D_axis_1/output_0.cairo similarity index 100% rename from tests/src/nodes/reduce_sum_i32_2D_axis_1/output_0.cairo rename to tests/nodes/reduce_sum_i32_2D_axis_1/output_0.cairo diff --git a/tests/src/nodes/reduce_sum_i32_2D_default.cairo b/tests/nodes/reduce_sum_i32_2D_default.cairo similarity index 100% rename from tests/src/nodes/reduce_sum_i32_2D_default.cairo rename to tests/nodes/reduce_sum_i32_2D_default.cairo diff --git a/tests/src/nodes/reduce_sum_i32_2D_default/input_0.cairo b/tests/nodes/reduce_sum_i32_2D_default/input_0.cairo similarity index 100% rename from tests/src/nodes/reduce_sum_i32_2D_default/input_0.cairo rename to tests/nodes/reduce_sum_i32_2D_default/input_0.cairo diff --git a/tests/src/nodes/reduce_sum_i32_2D_default/output_0.cairo b/tests/nodes/reduce_sum_i32_2D_default/output_0.cairo similarity index 100% rename from tests/src/nodes/reduce_sum_i32_2D_default/output_0.cairo rename to tests/nodes/reduce_sum_i32_2D_default/output_0.cairo diff --git a/tests/src/nodes/reduce_sum_i32_2D_keepdims.cairo b/tests/nodes/reduce_sum_i32_2D_keepdims.cairo similarity index 100% rename from tests/src/nodes/reduce_sum_i32_2D_keepdims.cairo rename to tests/nodes/reduce_sum_i32_2D_keepdims.cairo diff --git a/tests/src/nodes/reduce_sum_i32_2D_keepdims/input_0.cairo b/tests/nodes/reduce_sum_i32_2D_keepdims/input_0.cairo similarity index 100% rename from tests/src/nodes/reduce_sum_i32_2D_keepdims/input_0.cairo rename to tests/nodes/reduce_sum_i32_2D_keepdims/input_0.cairo diff --git a/tests/src/nodes/reduce_sum_i32_2D_keepdims/output_0.cairo b/tests/nodes/reduce_sum_i32_2D_keepdims/output_0.cairo similarity index 100% rename from tests/src/nodes/reduce_sum_i32_2D_keepdims/output_0.cairo rename to tests/nodes/reduce_sum_i32_2D_keepdims/output_0.cairo diff --git a/tests/src/nodes/reduce_sum_i8_1D.cairo b/tests/nodes/reduce_sum_i8_1D.cairo similarity index 100% rename from tests/src/nodes/reduce_sum_i8_1D.cairo rename to tests/nodes/reduce_sum_i8_1D.cairo diff --git a/tests/src/nodes/reduce_sum_i8_1D/input_0.cairo b/tests/nodes/reduce_sum_i8_1D/input_0.cairo similarity index 100% rename from tests/src/nodes/reduce_sum_i8_1D/input_0.cairo rename to tests/nodes/reduce_sum_i8_1D/input_0.cairo diff --git a/tests/src/nodes/reduce_sum_i8_1D/output_0.cairo b/tests/nodes/reduce_sum_i8_1D/output_0.cairo similarity index 100% rename from tests/src/nodes/reduce_sum_i8_1D/output_0.cairo rename to tests/nodes/reduce_sum_i8_1D/output_0.cairo diff --git a/tests/src/nodes/reduce_sum_i8_2D_axis_1.cairo b/tests/nodes/reduce_sum_i8_2D_axis_1.cairo similarity index 100% rename from tests/src/nodes/reduce_sum_i8_2D_axis_1.cairo rename to tests/nodes/reduce_sum_i8_2D_axis_1.cairo diff --git a/tests/src/nodes/reduce_sum_i8_2D_axis_1/input_0.cairo b/tests/nodes/reduce_sum_i8_2D_axis_1/input_0.cairo similarity index 100% rename from tests/src/nodes/reduce_sum_i8_2D_axis_1/input_0.cairo rename to tests/nodes/reduce_sum_i8_2D_axis_1/input_0.cairo diff --git a/tests/src/nodes/reduce_sum_i8_2D_axis_1/output_0.cairo b/tests/nodes/reduce_sum_i8_2D_axis_1/output_0.cairo similarity index 100% rename from tests/src/nodes/reduce_sum_i8_2D_axis_1/output_0.cairo rename to tests/nodes/reduce_sum_i8_2D_axis_1/output_0.cairo diff --git a/tests/src/nodes/reduce_sum_i8_2D_default.cairo b/tests/nodes/reduce_sum_i8_2D_default.cairo similarity index 100% rename from tests/src/nodes/reduce_sum_i8_2D_default.cairo rename to tests/nodes/reduce_sum_i8_2D_default.cairo diff --git a/tests/src/nodes/reduce_sum_i8_2D_default/input_0.cairo b/tests/nodes/reduce_sum_i8_2D_default/input_0.cairo similarity index 100% rename from tests/src/nodes/reduce_sum_i8_2D_default/input_0.cairo rename to tests/nodes/reduce_sum_i8_2D_default/input_0.cairo diff --git a/tests/src/nodes/reduce_sum_i8_2D_default/output_0.cairo b/tests/nodes/reduce_sum_i8_2D_default/output_0.cairo similarity index 100% rename from tests/src/nodes/reduce_sum_i8_2D_default/output_0.cairo rename to tests/nodes/reduce_sum_i8_2D_default/output_0.cairo diff --git a/tests/src/nodes/reduce_sum_i8_2D_keepdims.cairo b/tests/nodes/reduce_sum_i8_2D_keepdims.cairo similarity index 100% rename from tests/src/nodes/reduce_sum_i8_2D_keepdims.cairo rename to tests/nodes/reduce_sum_i8_2D_keepdims.cairo diff --git a/tests/src/nodes/reduce_sum_i8_2D_keepdims/input_0.cairo b/tests/nodes/reduce_sum_i8_2D_keepdims/input_0.cairo similarity index 100% rename from tests/src/nodes/reduce_sum_i8_2D_keepdims/input_0.cairo rename to tests/nodes/reduce_sum_i8_2D_keepdims/input_0.cairo diff --git a/tests/src/nodes/reduce_sum_i8_2D_keepdims/output_0.cairo b/tests/nodes/reduce_sum_i8_2D_keepdims/output_0.cairo similarity index 100% rename from tests/src/nodes/reduce_sum_i8_2D_keepdims/output_0.cairo rename to tests/nodes/reduce_sum_i8_2D_keepdims/output_0.cairo diff --git a/tests/src/nodes/reduce_sum_u32_1D.cairo b/tests/nodes/reduce_sum_u32_1D.cairo similarity index 100% rename from tests/src/nodes/reduce_sum_u32_1D.cairo rename to tests/nodes/reduce_sum_u32_1D.cairo diff --git a/tests/src/nodes/reduce_sum_u32_1D/input_0.cairo b/tests/nodes/reduce_sum_u32_1D/input_0.cairo similarity index 100% rename from tests/src/nodes/reduce_sum_u32_1D/input_0.cairo rename to tests/nodes/reduce_sum_u32_1D/input_0.cairo diff --git a/tests/src/nodes/reduce_sum_u32_1D/output_0.cairo b/tests/nodes/reduce_sum_u32_1D/output_0.cairo similarity index 100% rename from tests/src/nodes/reduce_sum_u32_1D/output_0.cairo rename to tests/nodes/reduce_sum_u32_1D/output_0.cairo diff --git a/tests/src/nodes/reduce_sum_u32_2D_axis_1.cairo b/tests/nodes/reduce_sum_u32_2D_axis_1.cairo similarity index 100% rename from tests/src/nodes/reduce_sum_u32_2D_axis_1.cairo rename to tests/nodes/reduce_sum_u32_2D_axis_1.cairo diff --git a/tests/src/nodes/reduce_sum_u32_2D_axis_1/input_0.cairo b/tests/nodes/reduce_sum_u32_2D_axis_1/input_0.cairo similarity index 100% rename from tests/src/nodes/reduce_sum_u32_2D_axis_1/input_0.cairo rename to tests/nodes/reduce_sum_u32_2D_axis_1/input_0.cairo diff --git a/tests/src/nodes/reduce_sum_u32_2D_axis_1/output_0.cairo b/tests/nodes/reduce_sum_u32_2D_axis_1/output_0.cairo similarity index 100% rename from tests/src/nodes/reduce_sum_u32_2D_axis_1/output_0.cairo rename to tests/nodes/reduce_sum_u32_2D_axis_1/output_0.cairo diff --git a/tests/src/nodes/reduce_sum_u32_2D_default.cairo b/tests/nodes/reduce_sum_u32_2D_default.cairo similarity index 100% rename from tests/src/nodes/reduce_sum_u32_2D_default.cairo rename to tests/nodes/reduce_sum_u32_2D_default.cairo diff --git a/tests/src/nodes/reduce_sum_u32_2D_default/input_0.cairo b/tests/nodes/reduce_sum_u32_2D_default/input_0.cairo similarity index 100% rename from tests/src/nodes/reduce_sum_u32_2D_default/input_0.cairo rename to tests/nodes/reduce_sum_u32_2D_default/input_0.cairo diff --git a/tests/src/nodes/reduce_sum_u32_2D_default/output_0.cairo b/tests/nodes/reduce_sum_u32_2D_default/output_0.cairo similarity index 100% rename from tests/src/nodes/reduce_sum_u32_2D_default/output_0.cairo rename to tests/nodes/reduce_sum_u32_2D_default/output_0.cairo diff --git a/tests/src/nodes/reduce_sum_u32_2D_keepdims.cairo b/tests/nodes/reduce_sum_u32_2D_keepdims.cairo similarity index 100% rename from tests/src/nodes/reduce_sum_u32_2D_keepdims.cairo rename to tests/nodes/reduce_sum_u32_2D_keepdims.cairo diff --git a/tests/src/nodes/reduce_sum_u32_2D_keepdims/input_0.cairo b/tests/nodes/reduce_sum_u32_2D_keepdims/input_0.cairo similarity index 100% rename from tests/src/nodes/reduce_sum_u32_2D_keepdims/input_0.cairo rename to tests/nodes/reduce_sum_u32_2D_keepdims/input_0.cairo diff --git a/tests/src/nodes/reduce_sum_u32_2D_keepdims/output_0.cairo b/tests/nodes/reduce_sum_u32_2D_keepdims/output_0.cairo similarity index 100% rename from tests/src/nodes/reduce_sum_u32_2D_keepdims/output_0.cairo rename to tests/nodes/reduce_sum_u32_2D_keepdims/output_0.cairo diff --git a/tests/src/nodes/relu_fp16x16.cairo b/tests/nodes/relu_fp16x16.cairo similarity index 100% rename from tests/src/nodes/relu_fp16x16.cairo rename to tests/nodes/relu_fp16x16.cairo diff --git a/tests/src/nodes/relu_fp16x16/input_0.cairo b/tests/nodes/relu_fp16x16/input_0.cairo similarity index 100% rename from tests/src/nodes/relu_fp16x16/input_0.cairo rename to tests/nodes/relu_fp16x16/input_0.cairo diff --git a/tests/src/nodes/relu_fp16x16/output_0.cairo b/tests/nodes/relu_fp16x16/output_0.cairo similarity index 100% rename from tests/src/nodes/relu_fp16x16/output_0.cairo rename to tests/nodes/relu_fp16x16/output_0.cairo diff --git a/tests/src/nodes/relu_fp8x23.cairo b/tests/nodes/relu_fp8x23.cairo similarity index 100% rename from tests/src/nodes/relu_fp8x23.cairo rename to tests/nodes/relu_fp8x23.cairo diff --git a/tests/src/nodes/relu_fp8x23/input_0.cairo b/tests/nodes/relu_fp8x23/input_0.cairo similarity index 100% rename from tests/src/nodes/relu_fp8x23/input_0.cairo rename to tests/nodes/relu_fp8x23/input_0.cairo diff --git a/tests/src/nodes/relu_fp8x23/output_0.cairo b/tests/nodes/relu_fp8x23/output_0.cairo similarity index 100% rename from tests/src/nodes/relu_fp8x23/output_0.cairo rename to tests/nodes/relu_fp8x23/output_0.cairo diff --git a/tests/src/nodes/relu_i32.cairo b/tests/nodes/relu_i32.cairo similarity index 100% rename from tests/src/nodes/relu_i32.cairo rename to tests/nodes/relu_i32.cairo diff --git a/tests/src/nodes/relu_i32/input_0.cairo b/tests/nodes/relu_i32/input_0.cairo similarity index 100% rename from tests/src/nodes/relu_i32/input_0.cairo rename to tests/nodes/relu_i32/input_0.cairo diff --git a/tests/src/nodes/relu_i32/output_0.cairo b/tests/nodes/relu_i32/output_0.cairo similarity index 100% rename from tests/src/nodes/relu_i32/output_0.cairo rename to tests/nodes/relu_i32/output_0.cairo diff --git a/tests/src/nodes/relu_i8.cairo b/tests/nodes/relu_i8.cairo similarity index 100% rename from tests/src/nodes/relu_i8.cairo rename to tests/nodes/relu_i8.cairo diff --git a/tests/src/nodes/relu_i8/input_0.cairo b/tests/nodes/relu_i8/input_0.cairo similarity index 100% rename from tests/src/nodes/relu_i8/input_0.cairo rename to tests/nodes/relu_i8/input_0.cairo diff --git a/tests/src/nodes/relu_i8/output_0.cairo b/tests/nodes/relu_i8/output_0.cairo similarity index 100% rename from tests/src/nodes/relu_i8/output_0.cairo rename to tests/nodes/relu_i8/output_0.cairo diff --git a/tests/src/nodes/sigmoid_fp16x16.cairo b/tests/nodes/sigmoid_fp16x16.cairo similarity index 100% rename from tests/src/nodes/sigmoid_fp16x16.cairo rename to tests/nodes/sigmoid_fp16x16.cairo diff --git a/tests/src/nodes/sigmoid_fp16x16/input_0.cairo b/tests/nodes/sigmoid_fp16x16/input_0.cairo similarity index 100% rename from tests/src/nodes/sigmoid_fp16x16/input_0.cairo rename to tests/nodes/sigmoid_fp16x16/input_0.cairo diff --git a/tests/src/nodes/sigmoid_fp16x16/output_0.cairo b/tests/nodes/sigmoid_fp16x16/output_0.cairo similarity index 100% rename from tests/src/nodes/sigmoid_fp16x16/output_0.cairo rename to tests/nodes/sigmoid_fp16x16/output_0.cairo diff --git a/tests/src/nodes/sigmoid_fp8x23.cairo b/tests/nodes/sigmoid_fp8x23.cairo similarity index 100% rename from tests/src/nodes/sigmoid_fp8x23.cairo rename to tests/nodes/sigmoid_fp8x23.cairo diff --git a/tests/src/nodes/sigmoid_fp8x23/input_0.cairo b/tests/nodes/sigmoid_fp8x23/input_0.cairo similarity index 100% rename from tests/src/nodes/sigmoid_fp8x23/input_0.cairo rename to tests/nodes/sigmoid_fp8x23/input_0.cairo diff --git a/tests/src/nodes/sigmoid_fp8x23/output_0.cairo b/tests/nodes/sigmoid_fp8x23/output_0.cairo similarity index 100% rename from tests/src/nodes/sigmoid_fp8x23/output_0.cairo rename to tests/nodes/sigmoid_fp8x23/output_0.cairo diff --git a/tests/src/nodes/sign_fP16x16.cairo b/tests/nodes/sign_fP16x16.cairo similarity index 100% rename from tests/src/nodes/sign_fP16x16.cairo rename to tests/nodes/sign_fP16x16.cairo diff --git a/tests/src/nodes/sign_fP16x16/input_0.cairo b/tests/nodes/sign_fP16x16/input_0.cairo similarity index 100% rename from tests/src/nodes/sign_fP16x16/input_0.cairo rename to tests/nodes/sign_fP16x16/input_0.cairo diff --git a/tests/src/nodes/sign_fP16x16/output_0.cairo b/tests/nodes/sign_fP16x16/output_0.cairo similarity index 100% rename from tests/src/nodes/sign_fP16x16/output_0.cairo rename to tests/nodes/sign_fP16x16/output_0.cairo diff --git a/tests/src/nodes/sign_fP8x23.cairo b/tests/nodes/sign_fP8x23.cairo similarity index 100% rename from tests/src/nodes/sign_fP8x23.cairo rename to tests/nodes/sign_fP8x23.cairo diff --git a/tests/src/nodes/sign_fP8x23/input_0.cairo b/tests/nodes/sign_fP8x23/input_0.cairo similarity index 100% rename from tests/src/nodes/sign_fP8x23/input_0.cairo rename to tests/nodes/sign_fP8x23/input_0.cairo diff --git a/tests/src/nodes/sign_fP8x23/output_0.cairo b/tests/nodes/sign_fP8x23/output_0.cairo similarity index 100% rename from tests/src/nodes/sign_fP8x23/output_0.cairo rename to tests/nodes/sign_fP8x23/output_0.cairo diff --git a/tests/src/nodes/sign_fail.cairo b/tests/nodes/sign_fail.cairo similarity index 100% rename from tests/src/nodes/sign_fail.cairo rename to tests/nodes/sign_fail.cairo diff --git a/tests/src/nodes/sign_fail/input_0.cairo b/tests/nodes/sign_fail/input_0.cairo similarity index 100% rename from tests/src/nodes/sign_fail/input_0.cairo rename to tests/nodes/sign_fail/input_0.cairo diff --git a/tests/src/nodes/sign_fail/output_0.cairo b/tests/nodes/sign_fail/output_0.cairo similarity index 100% rename from tests/src/nodes/sign_fail/output_0.cairo rename to tests/nodes/sign_fail/output_0.cairo diff --git a/tests/src/nodes/sign_i32.cairo b/tests/nodes/sign_i32.cairo similarity index 100% rename from tests/src/nodes/sign_i32.cairo rename to tests/nodes/sign_i32.cairo diff --git a/tests/src/nodes/sign_i32/input_0.cairo b/tests/nodes/sign_i32/input_0.cairo similarity index 100% rename from tests/src/nodes/sign_i32/input_0.cairo rename to tests/nodes/sign_i32/input_0.cairo diff --git a/tests/src/nodes/sign_i32/output_0.cairo b/tests/nodes/sign_i32/output_0.cairo similarity index 100% rename from tests/src/nodes/sign_i32/output_0.cairo rename to tests/nodes/sign_i32/output_0.cairo diff --git a/tests/src/nodes/sign_i8.cairo b/tests/nodes/sign_i8.cairo similarity index 100% rename from tests/src/nodes/sign_i8.cairo rename to tests/nodes/sign_i8.cairo diff --git a/tests/src/nodes/sign_i8/input_0.cairo b/tests/nodes/sign_i8/input_0.cairo similarity index 100% rename from tests/src/nodes/sign_i8/input_0.cairo rename to tests/nodes/sign_i8/input_0.cairo diff --git a/tests/src/nodes/sign_i8/output_0.cairo b/tests/nodes/sign_i8/output_0.cairo similarity index 100% rename from tests/src/nodes/sign_i8/output_0.cairo rename to tests/nodes/sign_i8/output_0.cairo diff --git a/tests/src/nodes/sin_fp16x16.cairo b/tests/nodes/sin_fp16x16.cairo similarity index 100% rename from tests/src/nodes/sin_fp16x16.cairo rename to tests/nodes/sin_fp16x16.cairo diff --git a/tests/src/nodes/sin_fp16x16/input_0.cairo b/tests/nodes/sin_fp16x16/input_0.cairo similarity index 100% rename from tests/src/nodes/sin_fp16x16/input_0.cairo rename to tests/nodes/sin_fp16x16/input_0.cairo diff --git a/tests/src/nodes/sin_fp16x16/output_0.cairo b/tests/nodes/sin_fp16x16/output_0.cairo similarity index 100% rename from tests/src/nodes/sin_fp16x16/output_0.cairo rename to tests/nodes/sin_fp16x16/output_0.cairo diff --git a/tests/src/nodes/sin_fp8x23.cairo b/tests/nodes/sin_fp8x23.cairo similarity index 100% rename from tests/src/nodes/sin_fp8x23.cairo rename to tests/nodes/sin_fp8x23.cairo diff --git a/tests/src/nodes/sin_fp8x23/input_0.cairo b/tests/nodes/sin_fp8x23/input_0.cairo similarity index 100% rename from tests/src/nodes/sin_fp8x23/input_0.cairo rename to tests/nodes/sin_fp8x23/input_0.cairo diff --git a/tests/src/nodes/sin_fp8x23/output_0.cairo b/tests/nodes/sin_fp8x23/output_0.cairo similarity index 100% rename from tests/src/nodes/sin_fp8x23/output_0.cairo rename to tests/nodes/sin_fp8x23/output_0.cairo diff --git a/tests/src/nodes/sinh_fp16x16.cairo b/tests/nodes/sinh_fp16x16.cairo similarity index 100% rename from tests/src/nodes/sinh_fp16x16.cairo rename to tests/nodes/sinh_fp16x16.cairo diff --git a/tests/src/nodes/sinh_fp16x16/input_0.cairo b/tests/nodes/sinh_fp16x16/input_0.cairo similarity index 100% rename from tests/src/nodes/sinh_fp16x16/input_0.cairo rename to tests/nodes/sinh_fp16x16/input_0.cairo diff --git a/tests/src/nodes/sinh_fp16x16/output_0.cairo b/tests/nodes/sinh_fp16x16/output_0.cairo similarity index 100% rename from tests/src/nodes/sinh_fp16x16/output_0.cairo rename to tests/nodes/sinh_fp16x16/output_0.cairo diff --git a/tests/src/nodes/sinh_fp8x23.cairo b/tests/nodes/sinh_fp8x23.cairo similarity index 100% rename from tests/src/nodes/sinh_fp8x23.cairo rename to tests/nodes/sinh_fp8x23.cairo diff --git a/tests/src/nodes/sinh_fp8x23/input_0.cairo b/tests/nodes/sinh_fp8x23/input_0.cairo similarity index 100% rename from tests/src/nodes/sinh_fp8x23/input_0.cairo rename to tests/nodes/sinh_fp8x23/input_0.cairo diff --git a/tests/src/nodes/sinh_fp8x23/output_0.cairo b/tests/nodes/sinh_fp8x23/output_0.cairo similarity index 100% rename from tests/src/nodes/sinh_fp8x23/output_0.cairo rename to tests/nodes/sinh_fp8x23/output_0.cairo diff --git a/tests/src/nodes/slice_fp16x16_2d.cairo b/tests/nodes/slice_fp16x16_2d.cairo similarity index 100% rename from tests/src/nodes/slice_fp16x16_2d.cairo rename to tests/nodes/slice_fp16x16_2d.cairo diff --git a/tests/src/nodes/slice_fp16x16_2d/input_0.cairo b/tests/nodes/slice_fp16x16_2d/input_0.cairo similarity index 100% rename from tests/src/nodes/slice_fp16x16_2d/input_0.cairo rename to tests/nodes/slice_fp16x16_2d/input_0.cairo diff --git a/tests/src/nodes/slice_fp16x16_2d/output_0.cairo b/tests/nodes/slice_fp16x16_2d/output_0.cairo similarity index 100% rename from tests/src/nodes/slice_fp16x16_2d/output_0.cairo rename to tests/nodes/slice_fp16x16_2d/output_0.cairo diff --git a/tests/src/nodes/slice_fp16x16_3d.cairo b/tests/nodes/slice_fp16x16_3d.cairo similarity index 100% rename from tests/src/nodes/slice_fp16x16_3d.cairo rename to tests/nodes/slice_fp16x16_3d.cairo diff --git a/tests/src/nodes/slice_fp16x16_3d/input_0.cairo b/tests/nodes/slice_fp16x16_3d/input_0.cairo similarity index 100% rename from tests/src/nodes/slice_fp16x16_3d/input_0.cairo rename to tests/nodes/slice_fp16x16_3d/input_0.cairo diff --git a/tests/src/nodes/slice_fp16x16_3d/output_0.cairo b/tests/nodes/slice_fp16x16_3d/output_0.cairo similarity index 100% rename from tests/src/nodes/slice_fp16x16_3d/output_0.cairo rename to tests/nodes/slice_fp16x16_3d/output_0.cairo diff --git a/tests/src/nodes/slice_fp8x23_2d.cairo b/tests/nodes/slice_fp8x23_2d.cairo similarity index 100% rename from tests/src/nodes/slice_fp8x23_2d.cairo rename to tests/nodes/slice_fp8x23_2d.cairo diff --git a/tests/src/nodes/slice_fp8x23_2d/input_0.cairo b/tests/nodes/slice_fp8x23_2d/input_0.cairo similarity index 100% rename from tests/src/nodes/slice_fp8x23_2d/input_0.cairo rename to tests/nodes/slice_fp8x23_2d/input_0.cairo diff --git a/tests/src/nodes/slice_fp8x23_2d/output_0.cairo b/tests/nodes/slice_fp8x23_2d/output_0.cairo similarity index 100% rename from tests/src/nodes/slice_fp8x23_2d/output_0.cairo rename to tests/nodes/slice_fp8x23_2d/output_0.cairo diff --git a/tests/src/nodes/slice_fp8x23_3d.cairo b/tests/nodes/slice_fp8x23_3d.cairo similarity index 100% rename from tests/src/nodes/slice_fp8x23_3d.cairo rename to tests/nodes/slice_fp8x23_3d.cairo diff --git a/tests/src/nodes/slice_fp8x23_3d/input_0.cairo b/tests/nodes/slice_fp8x23_3d/input_0.cairo similarity index 100% rename from tests/src/nodes/slice_fp8x23_3d/input_0.cairo rename to tests/nodes/slice_fp8x23_3d/input_0.cairo diff --git a/tests/src/nodes/slice_fp8x23_3d/output_0.cairo b/tests/nodes/slice_fp8x23_3d/output_0.cairo similarity index 100% rename from tests/src/nodes/slice_fp8x23_3d/output_0.cairo rename to tests/nodes/slice_fp8x23_3d/output_0.cairo diff --git a/tests/src/nodes/slice_i32_2d.cairo b/tests/nodes/slice_i32_2d.cairo similarity index 100% rename from tests/src/nodes/slice_i32_2d.cairo rename to tests/nodes/slice_i32_2d.cairo diff --git a/tests/src/nodes/slice_i32_2d/input_0.cairo b/tests/nodes/slice_i32_2d/input_0.cairo similarity index 100% rename from tests/src/nodes/slice_i32_2d/input_0.cairo rename to tests/nodes/slice_i32_2d/input_0.cairo diff --git a/tests/src/nodes/slice_i32_2d/output_0.cairo b/tests/nodes/slice_i32_2d/output_0.cairo similarity index 100% rename from tests/src/nodes/slice_i32_2d/output_0.cairo rename to tests/nodes/slice_i32_2d/output_0.cairo diff --git a/tests/src/nodes/slice_i32_3d.cairo b/tests/nodes/slice_i32_3d.cairo similarity index 100% rename from tests/src/nodes/slice_i32_3d.cairo rename to tests/nodes/slice_i32_3d.cairo diff --git a/tests/src/nodes/slice_i32_3d/input_0.cairo b/tests/nodes/slice_i32_3d/input_0.cairo similarity index 100% rename from tests/src/nodes/slice_i32_3d/input_0.cairo rename to tests/nodes/slice_i32_3d/input_0.cairo diff --git a/tests/src/nodes/slice_i32_3d/output_0.cairo b/tests/nodes/slice_i32_3d/output_0.cairo similarity index 100% rename from tests/src/nodes/slice_i32_3d/output_0.cairo rename to tests/nodes/slice_i32_3d/output_0.cairo diff --git a/tests/src/nodes/slice_i8_2d.cairo b/tests/nodes/slice_i8_2d.cairo similarity index 100% rename from tests/src/nodes/slice_i8_2d.cairo rename to tests/nodes/slice_i8_2d.cairo diff --git a/tests/src/nodes/slice_i8_2d/input_0.cairo b/tests/nodes/slice_i8_2d/input_0.cairo similarity index 100% rename from tests/src/nodes/slice_i8_2d/input_0.cairo rename to tests/nodes/slice_i8_2d/input_0.cairo diff --git a/tests/src/nodes/slice_i8_2d/output_0.cairo b/tests/nodes/slice_i8_2d/output_0.cairo similarity index 100% rename from tests/src/nodes/slice_i8_2d/output_0.cairo rename to tests/nodes/slice_i8_2d/output_0.cairo diff --git a/tests/src/nodes/slice_i8_3d.cairo b/tests/nodes/slice_i8_3d.cairo similarity index 100% rename from tests/src/nodes/slice_i8_3d.cairo rename to tests/nodes/slice_i8_3d.cairo diff --git a/tests/src/nodes/slice_i8_3d/input_0.cairo b/tests/nodes/slice_i8_3d/input_0.cairo similarity index 100% rename from tests/src/nodes/slice_i8_3d/input_0.cairo rename to tests/nodes/slice_i8_3d/input_0.cairo diff --git a/tests/src/nodes/slice_i8_3d/output_0.cairo b/tests/nodes/slice_i8_3d/output_0.cairo similarity index 100% rename from tests/src/nodes/slice_i8_3d/output_0.cairo rename to tests/nodes/slice_i8_3d/output_0.cairo diff --git a/tests/src/nodes/slice_u32_2d.cairo b/tests/nodes/slice_u32_2d.cairo similarity index 100% rename from tests/src/nodes/slice_u32_2d.cairo rename to tests/nodes/slice_u32_2d.cairo diff --git a/tests/src/nodes/slice_u32_2d/input_0.cairo b/tests/nodes/slice_u32_2d/input_0.cairo similarity index 100% rename from tests/src/nodes/slice_u32_2d/input_0.cairo rename to tests/nodes/slice_u32_2d/input_0.cairo diff --git a/tests/src/nodes/slice_u32_2d/output_0.cairo b/tests/nodes/slice_u32_2d/output_0.cairo similarity index 100% rename from tests/src/nodes/slice_u32_2d/output_0.cairo rename to tests/nodes/slice_u32_2d/output_0.cairo diff --git a/tests/src/nodes/slice_u32_3d.cairo b/tests/nodes/slice_u32_3d.cairo similarity index 100% rename from tests/src/nodes/slice_u32_3d.cairo rename to tests/nodes/slice_u32_3d.cairo diff --git a/tests/src/nodes/slice_u32_3d/input_0.cairo b/tests/nodes/slice_u32_3d/input_0.cairo similarity index 100% rename from tests/src/nodes/slice_u32_3d/input_0.cairo rename to tests/nodes/slice_u32_3d/input_0.cairo diff --git a/tests/src/nodes/slice_u32_3d/output_0.cairo b/tests/nodes/slice_u32_3d/output_0.cairo similarity index 100% rename from tests/src/nodes/slice_u32_3d/output_0.cairo rename to tests/nodes/slice_u32_3d/output_0.cairo diff --git a/tests/src/nodes/softmax_fp16x16.cairo b/tests/nodes/softmax_fp16x16.cairo similarity index 100% rename from tests/src/nodes/softmax_fp16x16.cairo rename to tests/nodes/softmax_fp16x16.cairo diff --git a/tests/src/nodes/softmax_fp16x16/input_0.cairo b/tests/nodes/softmax_fp16x16/input_0.cairo similarity index 100% rename from tests/src/nodes/softmax_fp16x16/input_0.cairo rename to tests/nodes/softmax_fp16x16/input_0.cairo diff --git a/tests/src/nodes/softmax_fp16x16/output_0.cairo b/tests/nodes/softmax_fp16x16/output_0.cairo similarity index 100% rename from tests/src/nodes/softmax_fp16x16/output_0.cairo rename to tests/nodes/softmax_fp16x16/output_0.cairo diff --git a/tests/src/nodes/softmax_fp8x23.cairo b/tests/nodes/softmax_fp8x23.cairo similarity index 100% rename from tests/src/nodes/softmax_fp8x23.cairo rename to tests/nodes/softmax_fp8x23.cairo diff --git a/tests/src/nodes/softmax_fp8x23/input_0.cairo b/tests/nodes/softmax_fp8x23/input_0.cairo similarity index 100% rename from tests/src/nodes/softmax_fp8x23/input_0.cairo rename to tests/nodes/softmax_fp8x23/input_0.cairo diff --git a/tests/src/nodes/softmax_fp8x23/output_0.cairo b/tests/nodes/softmax_fp8x23/output_0.cairo similarity index 100% rename from tests/src/nodes/softmax_fp8x23/output_0.cairo rename to tests/nodes/softmax_fp8x23/output_0.cairo diff --git a/tests/src/nodes/softplus_fp16x16.cairo b/tests/nodes/softplus_fp16x16.cairo similarity index 100% rename from tests/src/nodes/softplus_fp16x16.cairo rename to tests/nodes/softplus_fp16x16.cairo diff --git a/tests/src/nodes/softplus_fp16x16/input_0.cairo b/tests/nodes/softplus_fp16x16/input_0.cairo similarity index 100% rename from tests/src/nodes/softplus_fp16x16/input_0.cairo rename to tests/nodes/softplus_fp16x16/input_0.cairo diff --git a/tests/src/nodes/softplus_fp16x16/output_0.cairo b/tests/nodes/softplus_fp16x16/output_0.cairo similarity index 100% rename from tests/src/nodes/softplus_fp16x16/output_0.cairo rename to tests/nodes/softplus_fp16x16/output_0.cairo diff --git a/tests/src/nodes/softplus_fp8x23.cairo b/tests/nodes/softplus_fp8x23.cairo similarity index 100% rename from tests/src/nodes/softplus_fp8x23.cairo rename to tests/nodes/softplus_fp8x23.cairo diff --git a/tests/src/nodes/softplus_fp8x23/input_0.cairo b/tests/nodes/softplus_fp8x23/input_0.cairo similarity index 100% rename from tests/src/nodes/softplus_fp8x23/input_0.cairo rename to tests/nodes/softplus_fp8x23/input_0.cairo diff --git a/tests/src/nodes/softplus_fp8x23/output_0.cairo b/tests/nodes/softplus_fp8x23/output_0.cairo similarity index 100% rename from tests/src/nodes/softplus_fp8x23/output_0.cairo rename to tests/nodes/softplus_fp8x23/output_0.cairo diff --git a/tests/src/nodes/softsign_fp16x16.cairo b/tests/nodes/softsign_fp16x16.cairo similarity index 100% rename from tests/src/nodes/softsign_fp16x16.cairo rename to tests/nodes/softsign_fp16x16.cairo diff --git a/tests/src/nodes/softsign_fp16x16/input_0.cairo b/tests/nodes/softsign_fp16x16/input_0.cairo similarity index 100% rename from tests/src/nodes/softsign_fp16x16/input_0.cairo rename to tests/nodes/softsign_fp16x16/input_0.cairo diff --git a/tests/src/nodes/softsign_fp16x16/output_0.cairo b/tests/nodes/softsign_fp16x16/output_0.cairo similarity index 100% rename from tests/src/nodes/softsign_fp16x16/output_0.cairo rename to tests/nodes/softsign_fp16x16/output_0.cairo diff --git a/tests/src/nodes/softsign_fp8x23.cairo b/tests/nodes/softsign_fp8x23.cairo similarity index 100% rename from tests/src/nodes/softsign_fp8x23.cairo rename to tests/nodes/softsign_fp8x23.cairo diff --git a/tests/src/nodes/softsign_fp8x23/input_0.cairo b/tests/nodes/softsign_fp8x23/input_0.cairo similarity index 100% rename from tests/src/nodes/softsign_fp8x23/input_0.cairo rename to tests/nodes/softsign_fp8x23/input_0.cairo diff --git a/tests/src/nodes/softsign_fp8x23/output_0.cairo b/tests/nodes/softsign_fp8x23/output_0.cairo similarity index 100% rename from tests/src/nodes/softsign_fp8x23/output_0.cairo rename to tests/nodes/softsign_fp8x23/output_0.cairo diff --git a/tests/src/nodes/sqrt_fp16x16.cairo b/tests/nodes/sqrt_fp16x16.cairo similarity index 100% rename from tests/src/nodes/sqrt_fp16x16.cairo rename to tests/nodes/sqrt_fp16x16.cairo diff --git a/tests/src/nodes/sqrt_fp16x16/input_0.cairo b/tests/nodes/sqrt_fp16x16/input_0.cairo similarity index 100% rename from tests/src/nodes/sqrt_fp16x16/input_0.cairo rename to tests/nodes/sqrt_fp16x16/input_0.cairo diff --git a/tests/src/nodes/sqrt_fp16x16/output_0.cairo b/tests/nodes/sqrt_fp16x16/output_0.cairo similarity index 100% rename from tests/src/nodes/sqrt_fp16x16/output_0.cairo rename to tests/nodes/sqrt_fp16x16/output_0.cairo diff --git a/tests/src/nodes/sqrt_fp8x23.cairo b/tests/nodes/sqrt_fp8x23.cairo similarity index 100% rename from tests/src/nodes/sqrt_fp8x23.cairo rename to tests/nodes/sqrt_fp8x23.cairo diff --git a/tests/src/nodes/sqrt_fp8x23/input_0.cairo b/tests/nodes/sqrt_fp8x23/input_0.cairo similarity index 100% rename from tests/src/nodes/sqrt_fp8x23/input_0.cairo rename to tests/nodes/sqrt_fp8x23/input_0.cairo diff --git a/tests/src/nodes/sqrt_fp8x23/output_0.cairo b/tests/nodes/sqrt_fp8x23/output_0.cairo similarity index 100% rename from tests/src/nodes/sqrt_fp8x23/output_0.cairo rename to tests/nodes/sqrt_fp8x23/output_0.cairo diff --git a/tests/src/nodes/squeeze_fP16x16.cairo b/tests/nodes/squeeze_fP16x16.cairo similarity index 100% rename from tests/src/nodes/squeeze_fP16x16.cairo rename to tests/nodes/squeeze_fP16x16.cairo diff --git a/tests/src/nodes/squeeze_fP16x16/input_0.cairo b/tests/nodes/squeeze_fP16x16/input_0.cairo similarity index 100% rename from tests/src/nodes/squeeze_fP16x16/input_0.cairo rename to tests/nodes/squeeze_fP16x16/input_0.cairo diff --git a/tests/src/nodes/squeeze_fP16x16/output_0.cairo b/tests/nodes/squeeze_fP16x16/output_0.cairo similarity index 100% rename from tests/src/nodes/squeeze_fP16x16/output_0.cairo rename to tests/nodes/squeeze_fP16x16/output_0.cairo diff --git a/tests/src/nodes/squeeze_fP8x23.cairo b/tests/nodes/squeeze_fP8x23.cairo similarity index 100% rename from tests/src/nodes/squeeze_fP8x23.cairo rename to tests/nodes/squeeze_fP8x23.cairo diff --git a/tests/src/nodes/squeeze_fP8x23/input_0.cairo b/tests/nodes/squeeze_fP8x23/input_0.cairo similarity index 100% rename from tests/src/nodes/squeeze_fP8x23/input_0.cairo rename to tests/nodes/squeeze_fP8x23/input_0.cairo diff --git a/tests/src/nodes/squeeze_fP8x23/output_0.cairo b/tests/nodes/squeeze_fP8x23/output_0.cairo similarity index 100% rename from tests/src/nodes/squeeze_fP8x23/output_0.cairo rename to tests/nodes/squeeze_fP8x23/output_0.cairo diff --git a/tests/src/nodes/squeeze_i32.cairo b/tests/nodes/squeeze_i32.cairo similarity index 100% rename from tests/src/nodes/squeeze_i32.cairo rename to tests/nodes/squeeze_i32.cairo diff --git a/tests/src/nodes/squeeze_i32/input_0.cairo b/tests/nodes/squeeze_i32/input_0.cairo similarity index 100% rename from tests/src/nodes/squeeze_i32/input_0.cairo rename to tests/nodes/squeeze_i32/input_0.cairo diff --git a/tests/src/nodes/squeeze_i32/output_0.cairo b/tests/nodes/squeeze_i32/output_0.cairo similarity index 100% rename from tests/src/nodes/squeeze_i32/output_0.cairo rename to tests/nodes/squeeze_i32/output_0.cairo diff --git a/tests/src/nodes/squeeze_i8.cairo b/tests/nodes/squeeze_i8.cairo similarity index 100% rename from tests/src/nodes/squeeze_i8.cairo rename to tests/nodes/squeeze_i8.cairo diff --git a/tests/src/nodes/squeeze_i8/input_0.cairo b/tests/nodes/squeeze_i8/input_0.cairo similarity index 100% rename from tests/src/nodes/squeeze_i8/input_0.cairo rename to tests/nodes/squeeze_i8/input_0.cairo diff --git a/tests/src/nodes/squeeze_i8/output_0.cairo b/tests/nodes/squeeze_i8/output_0.cairo similarity index 100% rename from tests/src/nodes/squeeze_i8/output_0.cairo rename to tests/nodes/squeeze_i8/output_0.cairo diff --git a/tests/src/nodes/squeeze_u32.cairo b/tests/nodes/squeeze_u32.cairo similarity index 100% rename from tests/src/nodes/squeeze_u32.cairo rename to tests/nodes/squeeze_u32.cairo diff --git a/tests/src/nodes/squeeze_u32/input_0.cairo b/tests/nodes/squeeze_u32/input_0.cairo similarity index 100% rename from tests/src/nodes/squeeze_u32/input_0.cairo rename to tests/nodes/squeeze_u32/input_0.cairo diff --git a/tests/src/nodes/squeeze_u32/output_0.cairo b/tests/nodes/squeeze_u32/output_0.cairo similarity index 100% rename from tests/src/nodes/squeeze_u32/output_0.cairo rename to tests/nodes/squeeze_u32/output_0.cairo diff --git a/tests/src/nodes/squeeze_u32/output_negatives.cairo b/tests/nodes/squeeze_u32/output_negatives.cairo similarity index 100% rename from tests/src/nodes/squeeze_u32/output_negatives.cairo rename to tests/nodes/squeeze_u32/output_negatives.cairo diff --git a/tests/src/nodes/squeeze_u32/output_non_axes.cairo b/tests/nodes/squeeze_u32/output_non_axes.cairo similarity index 100% rename from tests/src/nodes/squeeze_u32/output_non_axes.cairo rename to tests/nodes/squeeze_u32/output_non_axes.cairo diff --git a/tests/src/nodes/sub_fp16x16.cairo b/tests/nodes/sub_fp16x16.cairo similarity index 100% rename from tests/src/nodes/sub_fp16x16.cairo rename to tests/nodes/sub_fp16x16.cairo diff --git a/tests/src/nodes/sub_fp16x16/input_0.cairo b/tests/nodes/sub_fp16x16/input_0.cairo similarity index 100% rename from tests/src/nodes/sub_fp16x16/input_0.cairo rename to tests/nodes/sub_fp16x16/input_0.cairo diff --git a/tests/src/nodes/sub_fp16x16/input_1.cairo b/tests/nodes/sub_fp16x16/input_1.cairo similarity index 100% rename from tests/src/nodes/sub_fp16x16/input_1.cairo rename to tests/nodes/sub_fp16x16/input_1.cairo diff --git a/tests/src/nodes/sub_fp16x16/output_0.cairo b/tests/nodes/sub_fp16x16/output_0.cairo similarity index 100% rename from tests/src/nodes/sub_fp16x16/output_0.cairo rename to tests/nodes/sub_fp16x16/output_0.cairo diff --git a/tests/src/nodes/sub_fp16x16_broadcast.cairo b/tests/nodes/sub_fp16x16_broadcast.cairo similarity index 100% rename from tests/src/nodes/sub_fp16x16_broadcast.cairo rename to tests/nodes/sub_fp16x16_broadcast.cairo diff --git a/tests/src/nodes/sub_fp16x16_broadcast/input_0.cairo b/tests/nodes/sub_fp16x16_broadcast/input_0.cairo similarity index 100% rename from tests/src/nodes/sub_fp16x16_broadcast/input_0.cairo rename to tests/nodes/sub_fp16x16_broadcast/input_0.cairo diff --git a/tests/src/nodes/sub_fp16x16_broadcast/input_1.cairo b/tests/nodes/sub_fp16x16_broadcast/input_1.cairo similarity index 100% rename from tests/src/nodes/sub_fp16x16_broadcast/input_1.cairo rename to tests/nodes/sub_fp16x16_broadcast/input_1.cairo diff --git a/tests/src/nodes/sub_fp16x16_broadcast/output_0.cairo b/tests/nodes/sub_fp16x16_broadcast/output_0.cairo similarity index 100% rename from tests/src/nodes/sub_fp16x16_broadcast/output_0.cairo rename to tests/nodes/sub_fp16x16_broadcast/output_0.cairo diff --git a/tests/src/nodes/sub_fp8x23.cairo b/tests/nodes/sub_fp8x23.cairo similarity index 100% rename from tests/src/nodes/sub_fp8x23.cairo rename to tests/nodes/sub_fp8x23.cairo diff --git a/tests/src/nodes/sub_fp8x23/input_0.cairo b/tests/nodes/sub_fp8x23/input_0.cairo similarity index 100% rename from tests/src/nodes/sub_fp8x23/input_0.cairo rename to tests/nodes/sub_fp8x23/input_0.cairo diff --git a/tests/src/nodes/sub_fp8x23/input_1.cairo b/tests/nodes/sub_fp8x23/input_1.cairo similarity index 100% rename from tests/src/nodes/sub_fp8x23/input_1.cairo rename to tests/nodes/sub_fp8x23/input_1.cairo diff --git a/tests/src/nodes/sub_fp8x23/output_0.cairo b/tests/nodes/sub_fp8x23/output_0.cairo similarity index 100% rename from tests/src/nodes/sub_fp8x23/output_0.cairo rename to tests/nodes/sub_fp8x23/output_0.cairo diff --git a/tests/src/nodes/sub_fp8x23_broadcast.cairo b/tests/nodes/sub_fp8x23_broadcast.cairo similarity index 100% rename from tests/src/nodes/sub_fp8x23_broadcast.cairo rename to tests/nodes/sub_fp8x23_broadcast.cairo diff --git a/tests/src/nodes/sub_fp8x23_broadcast/input_0.cairo b/tests/nodes/sub_fp8x23_broadcast/input_0.cairo similarity index 100% rename from tests/src/nodes/sub_fp8x23_broadcast/input_0.cairo rename to tests/nodes/sub_fp8x23_broadcast/input_0.cairo diff --git a/tests/src/nodes/sub_fp8x23_broadcast/input_1.cairo b/tests/nodes/sub_fp8x23_broadcast/input_1.cairo similarity index 100% rename from tests/src/nodes/sub_fp8x23_broadcast/input_1.cairo rename to tests/nodes/sub_fp8x23_broadcast/input_1.cairo diff --git a/tests/src/nodes/sub_fp8x23_broadcast/output_0.cairo b/tests/nodes/sub_fp8x23_broadcast/output_0.cairo similarity index 100% rename from tests/src/nodes/sub_fp8x23_broadcast/output_0.cairo rename to tests/nodes/sub_fp8x23_broadcast/output_0.cairo diff --git a/tests/src/nodes/sub_i32.cairo b/tests/nodes/sub_i32.cairo similarity index 100% rename from tests/src/nodes/sub_i32.cairo rename to tests/nodes/sub_i32.cairo diff --git a/tests/src/nodes/sub_i32/input_0.cairo b/tests/nodes/sub_i32/input_0.cairo similarity index 100% rename from tests/src/nodes/sub_i32/input_0.cairo rename to tests/nodes/sub_i32/input_0.cairo diff --git a/tests/src/nodes/sub_i32/input_1.cairo b/tests/nodes/sub_i32/input_1.cairo similarity index 100% rename from tests/src/nodes/sub_i32/input_1.cairo rename to tests/nodes/sub_i32/input_1.cairo diff --git a/tests/src/nodes/sub_i32/output_0.cairo b/tests/nodes/sub_i32/output_0.cairo similarity index 100% rename from tests/src/nodes/sub_i32/output_0.cairo rename to tests/nodes/sub_i32/output_0.cairo diff --git a/tests/src/nodes/sub_i32_broadcast.cairo b/tests/nodes/sub_i32_broadcast.cairo similarity index 100% rename from tests/src/nodes/sub_i32_broadcast.cairo rename to tests/nodes/sub_i32_broadcast.cairo diff --git a/tests/src/nodes/sub_i32_broadcast/input_0.cairo b/tests/nodes/sub_i32_broadcast/input_0.cairo similarity index 100% rename from tests/src/nodes/sub_i32_broadcast/input_0.cairo rename to tests/nodes/sub_i32_broadcast/input_0.cairo diff --git a/tests/src/nodes/sub_i32_broadcast/input_1.cairo b/tests/nodes/sub_i32_broadcast/input_1.cairo similarity index 100% rename from tests/src/nodes/sub_i32_broadcast/input_1.cairo rename to tests/nodes/sub_i32_broadcast/input_1.cairo diff --git a/tests/src/nodes/sub_i32_broadcast/output_0.cairo b/tests/nodes/sub_i32_broadcast/output_0.cairo similarity index 100% rename from tests/src/nodes/sub_i32_broadcast/output_0.cairo rename to tests/nodes/sub_i32_broadcast/output_0.cairo diff --git a/tests/src/nodes/sub_i8.cairo b/tests/nodes/sub_i8.cairo similarity index 100% rename from tests/src/nodes/sub_i8.cairo rename to tests/nodes/sub_i8.cairo diff --git a/tests/src/nodes/sub_i8/input_0.cairo b/tests/nodes/sub_i8/input_0.cairo similarity index 100% rename from tests/src/nodes/sub_i8/input_0.cairo rename to tests/nodes/sub_i8/input_0.cairo diff --git a/tests/src/nodes/sub_i8/input_1.cairo b/tests/nodes/sub_i8/input_1.cairo similarity index 100% rename from tests/src/nodes/sub_i8/input_1.cairo rename to tests/nodes/sub_i8/input_1.cairo diff --git a/tests/src/nodes/sub_i8/output_0.cairo b/tests/nodes/sub_i8/output_0.cairo similarity index 100% rename from tests/src/nodes/sub_i8/output_0.cairo rename to tests/nodes/sub_i8/output_0.cairo diff --git a/tests/src/nodes/sub_i8_broadcast.cairo b/tests/nodes/sub_i8_broadcast.cairo similarity index 100% rename from tests/src/nodes/sub_i8_broadcast.cairo rename to tests/nodes/sub_i8_broadcast.cairo diff --git a/tests/src/nodes/sub_i8_broadcast/input_0.cairo b/tests/nodes/sub_i8_broadcast/input_0.cairo similarity index 100% rename from tests/src/nodes/sub_i8_broadcast/input_0.cairo rename to tests/nodes/sub_i8_broadcast/input_0.cairo diff --git a/tests/src/nodes/sub_i8_broadcast/input_1.cairo b/tests/nodes/sub_i8_broadcast/input_1.cairo similarity index 100% rename from tests/src/nodes/sub_i8_broadcast/input_1.cairo rename to tests/nodes/sub_i8_broadcast/input_1.cairo diff --git a/tests/src/nodes/sub_i8_broadcast/output_0.cairo b/tests/nodes/sub_i8_broadcast/output_0.cairo similarity index 100% rename from tests/src/nodes/sub_i8_broadcast/output_0.cairo rename to tests/nodes/sub_i8_broadcast/output_0.cairo diff --git a/tests/src/nodes/sub_u32.cairo b/tests/nodes/sub_u32.cairo similarity index 100% rename from tests/src/nodes/sub_u32.cairo rename to tests/nodes/sub_u32.cairo diff --git a/tests/src/nodes/sub_u32/input_0.cairo b/tests/nodes/sub_u32/input_0.cairo similarity index 100% rename from tests/src/nodes/sub_u32/input_0.cairo rename to tests/nodes/sub_u32/input_0.cairo diff --git a/tests/src/nodes/sub_u32/input_1.cairo b/tests/nodes/sub_u32/input_1.cairo similarity index 100% rename from tests/src/nodes/sub_u32/input_1.cairo rename to tests/nodes/sub_u32/input_1.cairo diff --git a/tests/src/nodes/sub_u32/output_0.cairo b/tests/nodes/sub_u32/output_0.cairo similarity index 100% rename from tests/src/nodes/sub_u32/output_0.cairo rename to tests/nodes/sub_u32/output_0.cairo diff --git a/tests/src/nodes/sub_u32_broadcast.cairo b/tests/nodes/sub_u32_broadcast.cairo similarity index 100% rename from tests/src/nodes/sub_u32_broadcast.cairo rename to tests/nodes/sub_u32_broadcast.cairo diff --git a/tests/src/nodes/sub_u32_broadcast/input_0.cairo b/tests/nodes/sub_u32_broadcast/input_0.cairo similarity index 100% rename from tests/src/nodes/sub_u32_broadcast/input_0.cairo rename to tests/nodes/sub_u32_broadcast/input_0.cairo diff --git a/tests/src/nodes/sub_u32_broadcast/input_1.cairo b/tests/nodes/sub_u32_broadcast/input_1.cairo similarity index 100% rename from tests/src/nodes/sub_u32_broadcast/input_1.cairo rename to tests/nodes/sub_u32_broadcast/input_1.cairo diff --git a/tests/src/nodes/sub_u32_broadcast/output_0.cairo b/tests/nodes/sub_u32_broadcast/output_0.cairo similarity index 100% rename from tests/src/nodes/sub_u32_broadcast/output_0.cairo rename to tests/nodes/sub_u32_broadcast/output_0.cairo diff --git a/tests/src/nodes/tanh_fp16x16.cairo b/tests/nodes/tanh_fp16x16.cairo similarity index 100% rename from tests/src/nodes/tanh_fp16x16.cairo rename to tests/nodes/tanh_fp16x16.cairo diff --git a/tests/src/nodes/tanh_fp16x16/input_0.cairo b/tests/nodes/tanh_fp16x16/input_0.cairo similarity index 100% rename from tests/src/nodes/tanh_fp16x16/input_0.cairo rename to tests/nodes/tanh_fp16x16/input_0.cairo diff --git a/tests/src/nodes/tanh_fp16x16/output_0.cairo b/tests/nodes/tanh_fp16x16/output_0.cairo similarity index 100% rename from tests/src/nodes/tanh_fp16x16/output_0.cairo rename to tests/nodes/tanh_fp16x16/output_0.cairo diff --git a/tests/src/nodes/tanh_fp8x23.cairo b/tests/nodes/tanh_fp8x23.cairo similarity index 100% rename from tests/src/nodes/tanh_fp8x23.cairo rename to tests/nodes/tanh_fp8x23.cairo diff --git a/tests/src/nodes/tanh_fp8x23/input_0.cairo b/tests/nodes/tanh_fp8x23/input_0.cairo similarity index 100% rename from tests/src/nodes/tanh_fp8x23/input_0.cairo rename to tests/nodes/tanh_fp8x23/input_0.cairo diff --git a/tests/src/nodes/tanh_fp8x23/output_0.cairo b/tests/nodes/tanh_fp8x23/output_0.cairo similarity index 100% rename from tests/src/nodes/tanh_fp8x23/output_0.cairo rename to tests/nodes/tanh_fp8x23/output_0.cairo diff --git a/tests/src/nodes/thresholded_relu_fp16x16.cairo b/tests/nodes/thresholded_relu_fp16x16.cairo similarity index 100% rename from tests/src/nodes/thresholded_relu_fp16x16.cairo rename to tests/nodes/thresholded_relu_fp16x16.cairo diff --git a/tests/src/nodes/thresholded_relu_fp16x16/input_0.cairo b/tests/nodes/thresholded_relu_fp16x16/input_0.cairo similarity index 100% rename from tests/src/nodes/thresholded_relu_fp16x16/input_0.cairo rename to tests/nodes/thresholded_relu_fp16x16/input_0.cairo diff --git a/tests/src/nodes/thresholded_relu_fp16x16/output_0.cairo b/tests/nodes/thresholded_relu_fp16x16/output_0.cairo similarity index 100% rename from tests/src/nodes/thresholded_relu_fp16x16/output_0.cairo rename to tests/nodes/thresholded_relu_fp16x16/output_0.cairo diff --git a/tests/src/nodes/thresholded_relu_fp8x23.cairo b/tests/nodes/thresholded_relu_fp8x23.cairo similarity index 100% rename from tests/src/nodes/thresholded_relu_fp8x23.cairo rename to tests/nodes/thresholded_relu_fp8x23.cairo diff --git a/tests/src/nodes/thresholded_relu_fp8x23/input_0.cairo b/tests/nodes/thresholded_relu_fp8x23/input_0.cairo similarity index 100% rename from tests/src/nodes/thresholded_relu_fp8x23/input_0.cairo rename to tests/nodes/thresholded_relu_fp8x23/input_0.cairo diff --git a/tests/src/nodes/thresholded_relu_fp8x23/output_0.cairo b/tests/nodes/thresholded_relu_fp8x23/output_0.cairo similarity index 100% rename from tests/src/nodes/thresholded_relu_fp8x23/output_0.cairo rename to tests/nodes/thresholded_relu_fp8x23/output_0.cairo diff --git a/tests/src/nodes/transpose_fp16x16_2d.cairo b/tests/nodes/transpose_fp16x16_2d.cairo similarity index 100% rename from tests/src/nodes/transpose_fp16x16_2d.cairo rename to tests/nodes/transpose_fp16x16_2d.cairo diff --git a/tests/src/nodes/transpose_fp16x16_2d/input_0.cairo b/tests/nodes/transpose_fp16x16_2d/input_0.cairo similarity index 100% rename from tests/src/nodes/transpose_fp16x16_2d/input_0.cairo rename to tests/nodes/transpose_fp16x16_2d/input_0.cairo diff --git a/tests/src/nodes/transpose_fp16x16_2d/output_0.cairo b/tests/nodes/transpose_fp16x16_2d/output_0.cairo similarity index 100% rename from tests/src/nodes/transpose_fp16x16_2d/output_0.cairo rename to tests/nodes/transpose_fp16x16_2d/output_0.cairo diff --git a/tests/src/nodes/transpose_fp16x16_3d.cairo b/tests/nodes/transpose_fp16x16_3d.cairo similarity index 100% rename from tests/src/nodes/transpose_fp16x16_3d.cairo rename to tests/nodes/transpose_fp16x16_3d.cairo diff --git a/tests/src/nodes/transpose_fp16x16_3d/input_0.cairo b/tests/nodes/transpose_fp16x16_3d/input_0.cairo similarity index 100% rename from tests/src/nodes/transpose_fp16x16_3d/input_0.cairo rename to tests/nodes/transpose_fp16x16_3d/input_0.cairo diff --git a/tests/src/nodes/transpose_fp16x16_3d/output_0.cairo b/tests/nodes/transpose_fp16x16_3d/output_0.cairo similarity index 100% rename from tests/src/nodes/transpose_fp16x16_3d/output_0.cairo rename to tests/nodes/transpose_fp16x16_3d/output_0.cairo diff --git a/tests/src/nodes/transpose_fp8x23_2d.cairo b/tests/nodes/transpose_fp8x23_2d.cairo similarity index 100% rename from tests/src/nodes/transpose_fp8x23_2d.cairo rename to tests/nodes/transpose_fp8x23_2d.cairo diff --git a/tests/src/nodes/transpose_fp8x23_2d/input_0.cairo b/tests/nodes/transpose_fp8x23_2d/input_0.cairo similarity index 100% rename from tests/src/nodes/transpose_fp8x23_2d/input_0.cairo rename to tests/nodes/transpose_fp8x23_2d/input_0.cairo diff --git a/tests/src/nodes/transpose_fp8x23_2d/output_0.cairo b/tests/nodes/transpose_fp8x23_2d/output_0.cairo similarity index 100% rename from tests/src/nodes/transpose_fp8x23_2d/output_0.cairo rename to tests/nodes/transpose_fp8x23_2d/output_0.cairo diff --git a/tests/src/nodes/transpose_fp8x23_3d.cairo b/tests/nodes/transpose_fp8x23_3d.cairo similarity index 100% rename from tests/src/nodes/transpose_fp8x23_3d.cairo rename to tests/nodes/transpose_fp8x23_3d.cairo diff --git a/tests/src/nodes/transpose_fp8x23_3d/input_0.cairo b/tests/nodes/transpose_fp8x23_3d/input_0.cairo similarity index 100% rename from tests/src/nodes/transpose_fp8x23_3d/input_0.cairo rename to tests/nodes/transpose_fp8x23_3d/input_0.cairo diff --git a/tests/src/nodes/transpose_fp8x23_3d/output_0.cairo b/tests/nodes/transpose_fp8x23_3d/output_0.cairo similarity index 100% rename from tests/src/nodes/transpose_fp8x23_3d/output_0.cairo rename to tests/nodes/transpose_fp8x23_3d/output_0.cairo diff --git a/tests/src/nodes/transpose_i32_2d.cairo b/tests/nodes/transpose_i32_2d.cairo similarity index 100% rename from tests/src/nodes/transpose_i32_2d.cairo rename to tests/nodes/transpose_i32_2d.cairo diff --git a/tests/src/nodes/transpose_i32_2d/input_0.cairo b/tests/nodes/transpose_i32_2d/input_0.cairo similarity index 100% rename from tests/src/nodes/transpose_i32_2d/input_0.cairo rename to tests/nodes/transpose_i32_2d/input_0.cairo diff --git a/tests/src/nodes/transpose_i32_2d/output_0.cairo b/tests/nodes/transpose_i32_2d/output_0.cairo similarity index 100% rename from tests/src/nodes/transpose_i32_2d/output_0.cairo rename to tests/nodes/transpose_i32_2d/output_0.cairo diff --git a/tests/src/nodes/transpose_i32_3d.cairo b/tests/nodes/transpose_i32_3d.cairo similarity index 100% rename from tests/src/nodes/transpose_i32_3d.cairo rename to tests/nodes/transpose_i32_3d.cairo diff --git a/tests/src/nodes/transpose_i32_3d/input_0.cairo b/tests/nodes/transpose_i32_3d/input_0.cairo similarity index 100% rename from tests/src/nodes/transpose_i32_3d/input_0.cairo rename to tests/nodes/transpose_i32_3d/input_0.cairo diff --git a/tests/src/nodes/transpose_i32_3d/output_0.cairo b/tests/nodes/transpose_i32_3d/output_0.cairo similarity index 100% rename from tests/src/nodes/transpose_i32_3d/output_0.cairo rename to tests/nodes/transpose_i32_3d/output_0.cairo diff --git a/tests/src/nodes/transpose_i8_2d.cairo b/tests/nodes/transpose_i8_2d.cairo similarity index 100% rename from tests/src/nodes/transpose_i8_2d.cairo rename to tests/nodes/transpose_i8_2d.cairo diff --git a/tests/src/nodes/transpose_i8_2d/input_0.cairo b/tests/nodes/transpose_i8_2d/input_0.cairo similarity index 100% rename from tests/src/nodes/transpose_i8_2d/input_0.cairo rename to tests/nodes/transpose_i8_2d/input_0.cairo diff --git a/tests/src/nodes/transpose_i8_2d/output_0.cairo b/tests/nodes/transpose_i8_2d/output_0.cairo similarity index 100% rename from tests/src/nodes/transpose_i8_2d/output_0.cairo rename to tests/nodes/transpose_i8_2d/output_0.cairo diff --git a/tests/src/nodes/transpose_i8_3d.cairo b/tests/nodes/transpose_i8_3d.cairo similarity index 100% rename from tests/src/nodes/transpose_i8_3d.cairo rename to tests/nodes/transpose_i8_3d.cairo diff --git a/tests/src/nodes/transpose_i8_3d/input_0.cairo b/tests/nodes/transpose_i8_3d/input_0.cairo similarity index 100% rename from tests/src/nodes/transpose_i8_3d/input_0.cairo rename to tests/nodes/transpose_i8_3d/input_0.cairo diff --git a/tests/src/nodes/transpose_i8_3d/output_0.cairo b/tests/nodes/transpose_i8_3d/output_0.cairo similarity index 100% rename from tests/src/nodes/transpose_i8_3d/output_0.cairo rename to tests/nodes/transpose_i8_3d/output_0.cairo diff --git a/tests/src/nodes/transpose_u32_2d.cairo b/tests/nodes/transpose_u32_2d.cairo similarity index 100% rename from tests/src/nodes/transpose_u32_2d.cairo rename to tests/nodes/transpose_u32_2d.cairo diff --git a/tests/src/nodes/transpose_u32_2d/input_0.cairo b/tests/nodes/transpose_u32_2d/input_0.cairo similarity index 100% rename from tests/src/nodes/transpose_u32_2d/input_0.cairo rename to tests/nodes/transpose_u32_2d/input_0.cairo diff --git a/tests/src/nodes/transpose_u32_2d/output_0.cairo b/tests/nodes/transpose_u32_2d/output_0.cairo similarity index 100% rename from tests/src/nodes/transpose_u32_2d/output_0.cairo rename to tests/nodes/transpose_u32_2d/output_0.cairo diff --git a/tests/src/nodes/transpose_u32_3d.cairo b/tests/nodes/transpose_u32_3d.cairo similarity index 100% rename from tests/src/nodes/transpose_u32_3d.cairo rename to tests/nodes/transpose_u32_3d.cairo diff --git a/tests/src/nodes/transpose_u32_3d/input_0.cairo b/tests/nodes/transpose_u32_3d/input_0.cairo similarity index 100% rename from tests/src/nodes/transpose_u32_3d/input_0.cairo rename to tests/nodes/transpose_u32_3d/input_0.cairo diff --git a/tests/src/nodes/transpose_u32_3d/output_0.cairo b/tests/nodes/transpose_u32_3d/output_0.cairo similarity index 100% rename from tests/src/nodes/transpose_u32_3d/output_0.cairo rename to tests/nodes/transpose_u32_3d/output_0.cairo diff --git a/tests/src/nodes/unsqueeze_fp16x16_2d.cairo b/tests/nodes/unsqueeze_fp16x16_2d.cairo similarity index 100% rename from tests/src/nodes/unsqueeze_fp16x16_2d.cairo rename to tests/nodes/unsqueeze_fp16x16_2d.cairo diff --git a/tests/src/nodes/unsqueeze_fp16x16_2d/input_0.cairo b/tests/nodes/unsqueeze_fp16x16_2d/input_0.cairo similarity index 100% rename from tests/src/nodes/unsqueeze_fp16x16_2d/input_0.cairo rename to tests/nodes/unsqueeze_fp16x16_2d/input_0.cairo diff --git a/tests/src/nodes/unsqueeze_fp16x16_2d/output_0.cairo b/tests/nodes/unsqueeze_fp16x16_2d/output_0.cairo similarity index 100% rename from tests/src/nodes/unsqueeze_fp16x16_2d/output_0.cairo rename to tests/nodes/unsqueeze_fp16x16_2d/output_0.cairo diff --git a/tests/src/nodes/unsqueeze_fp16x16_3d.cairo b/tests/nodes/unsqueeze_fp16x16_3d.cairo similarity index 100% rename from tests/src/nodes/unsqueeze_fp16x16_3d.cairo rename to tests/nodes/unsqueeze_fp16x16_3d.cairo diff --git a/tests/src/nodes/unsqueeze_fp16x16_3d/input_0.cairo b/tests/nodes/unsqueeze_fp16x16_3d/input_0.cairo similarity index 100% rename from tests/src/nodes/unsqueeze_fp16x16_3d/input_0.cairo rename to tests/nodes/unsqueeze_fp16x16_3d/input_0.cairo diff --git a/tests/src/nodes/unsqueeze_fp16x16_3d/output_0.cairo b/tests/nodes/unsqueeze_fp16x16_3d/output_0.cairo similarity index 100% rename from tests/src/nodes/unsqueeze_fp16x16_3d/output_0.cairo rename to tests/nodes/unsqueeze_fp16x16_3d/output_0.cairo diff --git a/tests/src/nodes/unsqueeze_fp8x23_2d.cairo b/tests/nodes/unsqueeze_fp8x23_2d.cairo similarity index 100% rename from tests/src/nodes/unsqueeze_fp8x23_2d.cairo rename to tests/nodes/unsqueeze_fp8x23_2d.cairo diff --git a/tests/src/nodes/unsqueeze_fp8x23_2d/input_0.cairo b/tests/nodes/unsqueeze_fp8x23_2d/input_0.cairo similarity index 100% rename from tests/src/nodes/unsqueeze_fp8x23_2d/input_0.cairo rename to tests/nodes/unsqueeze_fp8x23_2d/input_0.cairo diff --git a/tests/src/nodes/unsqueeze_fp8x23_2d/output_0.cairo b/tests/nodes/unsqueeze_fp8x23_2d/output_0.cairo similarity index 100% rename from tests/src/nodes/unsqueeze_fp8x23_2d/output_0.cairo rename to tests/nodes/unsqueeze_fp8x23_2d/output_0.cairo diff --git a/tests/src/nodes/unsqueeze_fp8x23_3d.cairo b/tests/nodes/unsqueeze_fp8x23_3d.cairo similarity index 100% rename from tests/src/nodes/unsqueeze_fp8x23_3d.cairo rename to tests/nodes/unsqueeze_fp8x23_3d.cairo diff --git a/tests/src/nodes/unsqueeze_fp8x23_3d/input_0.cairo b/tests/nodes/unsqueeze_fp8x23_3d/input_0.cairo similarity index 100% rename from tests/src/nodes/unsqueeze_fp8x23_3d/input_0.cairo rename to tests/nodes/unsqueeze_fp8x23_3d/input_0.cairo diff --git a/tests/src/nodes/unsqueeze_fp8x23_3d/output_0.cairo b/tests/nodes/unsqueeze_fp8x23_3d/output_0.cairo similarity index 100% rename from tests/src/nodes/unsqueeze_fp8x23_3d/output_0.cairo rename to tests/nodes/unsqueeze_fp8x23_3d/output_0.cairo diff --git a/tests/src/nodes/unsqueeze_i32_2d.cairo b/tests/nodes/unsqueeze_i32_2d.cairo similarity index 100% rename from tests/src/nodes/unsqueeze_i32_2d.cairo rename to tests/nodes/unsqueeze_i32_2d.cairo diff --git a/tests/src/nodes/unsqueeze_i32_2d/input_0.cairo b/tests/nodes/unsqueeze_i32_2d/input_0.cairo similarity index 100% rename from tests/src/nodes/unsqueeze_i32_2d/input_0.cairo rename to tests/nodes/unsqueeze_i32_2d/input_0.cairo diff --git a/tests/src/nodes/unsqueeze_i32_2d/output_0.cairo b/tests/nodes/unsqueeze_i32_2d/output_0.cairo similarity index 100% rename from tests/src/nodes/unsqueeze_i32_2d/output_0.cairo rename to tests/nodes/unsqueeze_i32_2d/output_0.cairo diff --git a/tests/src/nodes/unsqueeze_i32_3d.cairo b/tests/nodes/unsqueeze_i32_3d.cairo similarity index 100% rename from tests/src/nodes/unsqueeze_i32_3d.cairo rename to tests/nodes/unsqueeze_i32_3d.cairo diff --git a/tests/src/nodes/unsqueeze_i32_3d/input_0.cairo b/tests/nodes/unsqueeze_i32_3d/input_0.cairo similarity index 100% rename from tests/src/nodes/unsqueeze_i32_3d/input_0.cairo rename to tests/nodes/unsqueeze_i32_3d/input_0.cairo diff --git a/tests/src/nodes/unsqueeze_i32_3d/output_0.cairo b/tests/nodes/unsqueeze_i32_3d/output_0.cairo similarity index 100% rename from tests/src/nodes/unsqueeze_i32_3d/output_0.cairo rename to tests/nodes/unsqueeze_i32_3d/output_0.cairo diff --git a/tests/src/nodes/unsqueeze_i8_2d.cairo b/tests/nodes/unsqueeze_i8_2d.cairo similarity index 100% rename from tests/src/nodes/unsqueeze_i8_2d.cairo rename to tests/nodes/unsqueeze_i8_2d.cairo diff --git a/tests/src/nodes/unsqueeze_i8_2d/input_0.cairo b/tests/nodes/unsqueeze_i8_2d/input_0.cairo similarity index 100% rename from tests/src/nodes/unsqueeze_i8_2d/input_0.cairo rename to tests/nodes/unsqueeze_i8_2d/input_0.cairo diff --git a/tests/src/nodes/unsqueeze_i8_2d/output_0.cairo b/tests/nodes/unsqueeze_i8_2d/output_0.cairo similarity index 100% rename from tests/src/nodes/unsqueeze_i8_2d/output_0.cairo rename to tests/nodes/unsqueeze_i8_2d/output_0.cairo diff --git a/tests/src/nodes/unsqueeze_i8_3d.cairo b/tests/nodes/unsqueeze_i8_3d.cairo similarity index 100% rename from tests/src/nodes/unsqueeze_i8_3d.cairo rename to tests/nodes/unsqueeze_i8_3d.cairo diff --git a/tests/src/nodes/unsqueeze_i8_3d/input_0.cairo b/tests/nodes/unsqueeze_i8_3d/input_0.cairo similarity index 100% rename from tests/src/nodes/unsqueeze_i8_3d/input_0.cairo rename to tests/nodes/unsqueeze_i8_3d/input_0.cairo diff --git a/tests/src/nodes/unsqueeze_i8_3d/output_0.cairo b/tests/nodes/unsqueeze_i8_3d/output_0.cairo similarity index 100% rename from tests/src/nodes/unsqueeze_i8_3d/output_0.cairo rename to tests/nodes/unsqueeze_i8_3d/output_0.cairo diff --git a/tests/src/nodes/unsqueeze_u32_2d.cairo b/tests/nodes/unsqueeze_u32_2d.cairo similarity index 100% rename from tests/src/nodes/unsqueeze_u32_2d.cairo rename to tests/nodes/unsqueeze_u32_2d.cairo diff --git a/tests/src/nodes/unsqueeze_u32_2d/input_0.cairo b/tests/nodes/unsqueeze_u32_2d/input_0.cairo similarity index 100% rename from tests/src/nodes/unsqueeze_u32_2d/input_0.cairo rename to tests/nodes/unsqueeze_u32_2d/input_0.cairo diff --git a/tests/src/nodes/unsqueeze_u32_2d/output_0.cairo b/tests/nodes/unsqueeze_u32_2d/output_0.cairo similarity index 100% rename from tests/src/nodes/unsqueeze_u32_2d/output_0.cairo rename to tests/nodes/unsqueeze_u32_2d/output_0.cairo diff --git a/tests/src/nodes/unsqueeze_u32_3d.cairo b/tests/nodes/unsqueeze_u32_3d.cairo similarity index 100% rename from tests/src/nodes/unsqueeze_u32_3d.cairo rename to tests/nodes/unsqueeze_u32_3d.cairo diff --git a/tests/src/nodes/unsqueeze_u32_3d/input_0.cairo b/tests/nodes/unsqueeze_u32_3d/input_0.cairo similarity index 100% rename from tests/src/nodes/unsqueeze_u32_3d/input_0.cairo rename to tests/nodes/unsqueeze_u32_3d/input_0.cairo diff --git a/tests/src/nodes/unsqueeze_u32_3d/output_0.cairo b/tests/nodes/unsqueeze_u32_3d/output_0.cairo similarity index 100% rename from tests/src/nodes/unsqueeze_u32_3d/output_0.cairo rename to tests/nodes/unsqueeze_u32_3d/output_0.cairo diff --git a/tests/src/nodes/xor_fp16x16.cairo b/tests/nodes/xor_fp16x16.cairo similarity index 100% rename from tests/src/nodes/xor_fp16x16.cairo rename to tests/nodes/xor_fp16x16.cairo diff --git a/tests/src/nodes/xor_fp16x16/input_0.cairo b/tests/nodes/xor_fp16x16/input_0.cairo similarity index 100% rename from tests/src/nodes/xor_fp16x16/input_0.cairo rename to tests/nodes/xor_fp16x16/input_0.cairo diff --git a/tests/src/nodes/xor_fp16x16/input_1.cairo b/tests/nodes/xor_fp16x16/input_1.cairo similarity index 100% rename from tests/src/nodes/xor_fp16x16/input_1.cairo rename to tests/nodes/xor_fp16x16/input_1.cairo diff --git a/tests/src/nodes/xor_fp16x16/output_0.cairo b/tests/nodes/xor_fp16x16/output_0.cairo similarity index 100% rename from tests/src/nodes/xor_fp16x16/output_0.cairo rename to tests/nodes/xor_fp16x16/output_0.cairo diff --git a/tests/src/nodes/xor_fp16x16_broadcast.cairo b/tests/nodes/xor_fp16x16_broadcast.cairo similarity index 100% rename from tests/src/nodes/xor_fp16x16_broadcast.cairo rename to tests/nodes/xor_fp16x16_broadcast.cairo diff --git a/tests/src/nodes/xor_fp16x16_broadcast/input_0.cairo b/tests/nodes/xor_fp16x16_broadcast/input_0.cairo similarity index 100% rename from tests/src/nodes/xor_fp16x16_broadcast/input_0.cairo rename to tests/nodes/xor_fp16x16_broadcast/input_0.cairo diff --git a/tests/src/nodes/xor_fp16x16_broadcast/input_1.cairo b/tests/nodes/xor_fp16x16_broadcast/input_1.cairo similarity index 100% rename from tests/src/nodes/xor_fp16x16_broadcast/input_1.cairo rename to tests/nodes/xor_fp16x16_broadcast/input_1.cairo diff --git a/tests/src/nodes/xor_fp16x16_broadcast/output_0.cairo b/tests/nodes/xor_fp16x16_broadcast/output_0.cairo similarity index 100% rename from tests/src/nodes/xor_fp16x16_broadcast/output_0.cairo rename to tests/nodes/xor_fp16x16_broadcast/output_0.cairo diff --git a/tests/src/nodes/xor_fp8x23.cairo b/tests/nodes/xor_fp8x23.cairo similarity index 100% rename from tests/src/nodes/xor_fp8x23.cairo rename to tests/nodes/xor_fp8x23.cairo diff --git a/tests/src/nodes/xor_fp8x23/input_0.cairo b/tests/nodes/xor_fp8x23/input_0.cairo similarity index 100% rename from tests/src/nodes/xor_fp8x23/input_0.cairo rename to tests/nodes/xor_fp8x23/input_0.cairo diff --git a/tests/src/nodes/xor_fp8x23/input_1.cairo b/tests/nodes/xor_fp8x23/input_1.cairo similarity index 100% rename from tests/src/nodes/xor_fp8x23/input_1.cairo rename to tests/nodes/xor_fp8x23/input_1.cairo diff --git a/tests/src/nodes/xor_fp8x23/output_0.cairo b/tests/nodes/xor_fp8x23/output_0.cairo similarity index 100% rename from tests/src/nodes/xor_fp8x23/output_0.cairo rename to tests/nodes/xor_fp8x23/output_0.cairo diff --git a/tests/src/nodes/xor_fp8x23_broadcast.cairo b/tests/nodes/xor_fp8x23_broadcast.cairo similarity index 100% rename from tests/src/nodes/xor_fp8x23_broadcast.cairo rename to tests/nodes/xor_fp8x23_broadcast.cairo diff --git a/tests/src/nodes/xor_fp8x23_broadcast/input_0.cairo b/tests/nodes/xor_fp8x23_broadcast/input_0.cairo similarity index 100% rename from tests/src/nodes/xor_fp8x23_broadcast/input_0.cairo rename to tests/nodes/xor_fp8x23_broadcast/input_0.cairo diff --git a/tests/src/nodes/xor_fp8x23_broadcast/input_1.cairo b/tests/nodes/xor_fp8x23_broadcast/input_1.cairo similarity index 100% rename from tests/src/nodes/xor_fp8x23_broadcast/input_1.cairo rename to tests/nodes/xor_fp8x23_broadcast/input_1.cairo diff --git a/tests/src/nodes/xor_fp8x23_broadcast/output_0.cairo b/tests/nodes/xor_fp8x23_broadcast/output_0.cairo similarity index 100% rename from tests/src/nodes/xor_fp8x23_broadcast/output_0.cairo rename to tests/nodes/xor_fp8x23_broadcast/output_0.cairo diff --git a/tests/src/nodes/xor_i32.cairo b/tests/nodes/xor_i32.cairo similarity index 100% rename from tests/src/nodes/xor_i32.cairo rename to tests/nodes/xor_i32.cairo diff --git a/tests/src/nodes/xor_i32/input_0.cairo b/tests/nodes/xor_i32/input_0.cairo similarity index 100% rename from tests/src/nodes/xor_i32/input_0.cairo rename to tests/nodes/xor_i32/input_0.cairo diff --git a/tests/src/nodes/xor_i32/input_1.cairo b/tests/nodes/xor_i32/input_1.cairo similarity index 100% rename from tests/src/nodes/xor_i32/input_1.cairo rename to tests/nodes/xor_i32/input_1.cairo diff --git a/tests/src/nodes/xor_i32/output_0.cairo b/tests/nodes/xor_i32/output_0.cairo similarity index 100% rename from tests/src/nodes/xor_i32/output_0.cairo rename to tests/nodes/xor_i32/output_0.cairo diff --git a/tests/src/nodes/xor_i32_broadcast.cairo b/tests/nodes/xor_i32_broadcast.cairo similarity index 100% rename from tests/src/nodes/xor_i32_broadcast.cairo rename to tests/nodes/xor_i32_broadcast.cairo diff --git a/tests/src/nodes/xor_i32_broadcast/input_0.cairo b/tests/nodes/xor_i32_broadcast/input_0.cairo similarity index 100% rename from tests/src/nodes/xor_i32_broadcast/input_0.cairo rename to tests/nodes/xor_i32_broadcast/input_0.cairo diff --git a/tests/src/nodes/xor_i32_broadcast/input_1.cairo b/tests/nodes/xor_i32_broadcast/input_1.cairo similarity index 100% rename from tests/src/nodes/xor_i32_broadcast/input_1.cairo rename to tests/nodes/xor_i32_broadcast/input_1.cairo diff --git a/tests/src/nodes/xor_i32_broadcast/output_0.cairo b/tests/nodes/xor_i32_broadcast/output_0.cairo similarity index 100% rename from tests/src/nodes/xor_i32_broadcast/output_0.cairo rename to tests/nodes/xor_i32_broadcast/output_0.cairo diff --git a/tests/src/nodes/xor_i8.cairo b/tests/nodes/xor_i8.cairo similarity index 100% rename from tests/src/nodes/xor_i8.cairo rename to tests/nodes/xor_i8.cairo diff --git a/tests/src/nodes/xor_i8/input_0.cairo b/tests/nodes/xor_i8/input_0.cairo similarity index 100% rename from tests/src/nodes/xor_i8/input_0.cairo rename to tests/nodes/xor_i8/input_0.cairo diff --git a/tests/src/nodes/xor_i8/input_1.cairo b/tests/nodes/xor_i8/input_1.cairo similarity index 100% rename from tests/src/nodes/xor_i8/input_1.cairo rename to tests/nodes/xor_i8/input_1.cairo diff --git a/tests/src/nodes/xor_i8/output_0.cairo b/tests/nodes/xor_i8/output_0.cairo similarity index 100% rename from tests/src/nodes/xor_i8/output_0.cairo rename to tests/nodes/xor_i8/output_0.cairo diff --git a/tests/src/nodes/xor_i8_broadcast.cairo b/tests/nodes/xor_i8_broadcast.cairo similarity index 100% rename from tests/src/nodes/xor_i8_broadcast.cairo rename to tests/nodes/xor_i8_broadcast.cairo diff --git a/tests/src/nodes/xor_i8_broadcast/input_0.cairo b/tests/nodes/xor_i8_broadcast/input_0.cairo similarity index 100% rename from tests/src/nodes/xor_i8_broadcast/input_0.cairo rename to tests/nodes/xor_i8_broadcast/input_0.cairo diff --git a/tests/src/nodes/xor_i8_broadcast/input_1.cairo b/tests/nodes/xor_i8_broadcast/input_1.cairo similarity index 100% rename from tests/src/nodes/xor_i8_broadcast/input_1.cairo rename to tests/nodes/xor_i8_broadcast/input_1.cairo diff --git a/tests/src/nodes/xor_i8_broadcast/output_0.cairo b/tests/nodes/xor_i8_broadcast/output_0.cairo similarity index 100% rename from tests/src/nodes/xor_i8_broadcast/output_0.cairo rename to tests/nodes/xor_i8_broadcast/output_0.cairo diff --git a/tests/src/nodes/xor_u32.cairo b/tests/nodes/xor_u32.cairo similarity index 100% rename from tests/src/nodes/xor_u32.cairo rename to tests/nodes/xor_u32.cairo diff --git a/tests/src/nodes/xor_u32/input_0.cairo b/tests/nodes/xor_u32/input_0.cairo similarity index 100% rename from tests/src/nodes/xor_u32/input_0.cairo rename to tests/nodes/xor_u32/input_0.cairo diff --git a/tests/src/nodes/xor_u32/input_1.cairo b/tests/nodes/xor_u32/input_1.cairo similarity index 100% rename from tests/src/nodes/xor_u32/input_1.cairo rename to tests/nodes/xor_u32/input_1.cairo diff --git a/tests/src/nodes/xor_u32/output_0.cairo b/tests/nodes/xor_u32/output_0.cairo similarity index 100% rename from tests/src/nodes/xor_u32/output_0.cairo rename to tests/nodes/xor_u32/output_0.cairo diff --git a/tests/src/nodes/xor_u32_broadcast.cairo b/tests/nodes/xor_u32_broadcast.cairo similarity index 100% rename from tests/src/nodes/xor_u32_broadcast.cairo rename to tests/nodes/xor_u32_broadcast.cairo diff --git a/tests/src/nodes/xor_u32_broadcast/input_0.cairo b/tests/nodes/xor_u32_broadcast/input_0.cairo similarity index 100% rename from tests/src/nodes/xor_u32_broadcast/input_0.cairo rename to tests/nodes/xor_u32_broadcast/input_0.cairo diff --git a/tests/src/nodes/xor_u32_broadcast/input_1.cairo b/tests/nodes/xor_u32_broadcast/input_1.cairo similarity index 100% rename from tests/src/nodes/xor_u32_broadcast/input_1.cairo rename to tests/nodes/xor_u32_broadcast/input_1.cairo diff --git a/tests/src/nodes/xor_u32_broadcast/output_0.cairo b/tests/nodes/xor_u32_broadcast/output_0.cairo similarity index 100% rename from tests/src/nodes/xor_u32_broadcast/output_0.cairo rename to tests/nodes/xor_u32_broadcast/output_0.cairo diff --git a/tests/src/numbers.cairo b/tests/numbers.cairo similarity index 100% rename from tests/src/numbers.cairo rename to tests/numbers.cairo diff --git a/tests/src/numbers/signed_integer_test.cairo b/tests/numbers/signed_integer_test.cairo similarity index 100% rename from tests/src/numbers/signed_integer_test.cairo rename to tests/numbers/signed_integer_test.cairo diff --git a/tests/src/operators.cairo b/tests/operators.cairo similarity index 100% rename from tests/src/operators.cairo rename to tests/operators.cairo diff --git a/tests/src/operators/tensor/math.cairo b/tests/operators/tensor/math.cairo similarity index 100% rename from tests/src/operators/tensor/math.cairo rename to tests/operators/tensor/math.cairo diff --git a/tests/src/operators/transpose_test.cairo b/tests/operators/transpose_test.cairo similarity index 100% rename from tests/src/operators/transpose_test.cairo rename to tests/operators/transpose_test.cairo diff --git a/tests/src/performance.cairo b/tests/performance.cairo similarity index 100% rename from tests/src/performance.cairo rename to tests/performance.cairo diff --git a/tests/src/performance/dequantize_linear_test.cairo b/tests/performance/dequantize_linear_test.cairo similarity index 100% rename from tests/src/performance/dequantize_linear_test.cairo rename to tests/performance/dequantize_linear_test.cairo diff --git a/tests/src/performance/dequantize_linear_test/dequantize_linear_fp_test.cairo b/tests/performance/dequantize_linear_test/dequantize_linear_fp_test.cairo similarity index 100% rename from tests/src/performance/dequantize_linear_test/dequantize_linear_fp_test.cairo rename to tests/performance/dequantize_linear_test/dequantize_linear_fp_test.cairo diff --git a/tests/src/performance/dequantize_linear_test/dequantize_linear_fp_test/fp_i8_test.cairo b/tests/performance/dequantize_linear_test/dequantize_linear_fp_test/fp_i8_test.cairo similarity index 100% rename from tests/src/performance/dequantize_linear_test/dequantize_linear_fp_test/fp_i8_test.cairo rename to tests/performance/dequantize_linear_test/dequantize_linear_fp_test/fp_i8_test.cairo diff --git a/tests/src/performance/dequantize_linear_test/dequantize_linear_i32_test.cairo b/tests/performance/dequantize_linear_test/dequantize_linear_i32_test.cairo similarity index 100% rename from tests/src/performance/dequantize_linear_test/dequantize_linear_i32_test.cairo rename to tests/performance/dequantize_linear_test/dequantize_linear_i32_test.cairo diff --git a/tests/src/performance/quantize_linear_test.cairo b/tests/performance/quantize_linear_test.cairo similarity index 100% rename from tests/src/performance/quantize_linear_test.cairo rename to tests/performance/quantize_linear_test.cairo diff --git a/tests/src/performance/quantize_linear_test/quantize_linear_fp_test.cairo b/tests/performance/quantize_linear_test/quantize_linear_fp_test.cairo similarity index 100% rename from tests/src/performance/quantize_linear_test/quantize_linear_fp_test.cairo rename to tests/performance/quantize_linear_test/quantize_linear_fp_test.cairo diff --git a/tests/src/performance/quantize_linear_test/quantize_linear_fp_test/fp_i8_test.cairo b/tests/performance/quantize_linear_test/quantize_linear_fp_test/fp_i8_test.cairo similarity index 100% rename from tests/src/performance/quantize_linear_test/quantize_linear_fp_test/fp_i8_test.cairo rename to tests/performance/quantize_linear_test/quantize_linear_fp_test/fp_i8_test.cairo diff --git a/tests/src/performance/quantize_linear_test/quantize_linear_i32_test.cairo b/tests/performance/quantize_linear_test/quantize_linear_i32_test.cairo similarity index 100% rename from tests/src/performance/quantize_linear_test/quantize_linear_i32_test.cairo rename to tests/performance/quantize_linear_test/quantize_linear_i32_test.cairo diff --git a/tests/src/lib.cairo b/tests/src/lib.cairo deleted file mode 100644 index 0d88c1101..000000000 --- a/tests/src/lib.cairo +++ /dev/null @@ -1,7 +0,0 @@ -mod numbers; -mod performance; -mod tensor_core; -mod nodes; -mod helpers; -mod ml; -mod operators; diff --git a/tests/src/tensor_core.cairo b/tests/tensor_core.cairo similarity index 100% rename from tests/src/tensor_core.cairo rename to tests/tensor_core.cairo diff --git a/tests/src/tensor_core/at.cairo b/tests/tensor_core/at.cairo similarity index 100% rename from tests/src/tensor_core/at.cairo rename to tests/tensor_core/at.cairo diff --git a/tests/src/tensor_core/at/at_fp_test.cairo b/tests/tensor_core/at/at_fp_test.cairo similarity index 100% rename from tests/src/tensor_core/at/at_fp_test.cairo rename to tests/tensor_core/at/at_fp_test.cairo diff --git a/tests/src/tensor_core/at/at_fp_test/at_fp16x16_test.cairo b/tests/tensor_core/at/at_fp_test/at_fp16x16_test.cairo similarity index 89% rename from tests/src/tensor_core/at/at_fp_test/at_fp16x16_test.cairo rename to tests/tensor_core/at/at_fp_test/at_fp16x16_test.cairo index 7d8bd801b..1be5dd73e 100644 --- a/tests/src/tensor_core/at/at_fp_test/at_fp16x16_test.cairo +++ b/tests/tensor_core/at/at_fp_test/at_fp16x16_test.cairo @@ -5,7 +5,7 @@ mod tensor_1D { use array::ArrayTrait; use orion::operators::tensor::implementations::tensor_fp16x16::FP16x16Tensor; use orion::operators::tensor::core::{TensorTrait}; - use orion_tests::helpers::tensor::fixed_point::fp16x16::fp_tensor_1x3_helper; + use orion::helpers::tensor::fixed_point::fp16x16::fp_tensor_1x3_helper; use orion::numbers::fixed_point::core::FixedTrait; use orion::numbers::fixed_point::implementations::fp16x16::core::{ FP16x16Impl, FP16x16PartialEq @@ -31,7 +31,7 @@ mod tensor_2D { use array::ArrayTrait; use orion::operators::tensor::implementations::tensor_fp16x16::FP16x16Tensor; use orion::operators::tensor::core::{TensorTrait}; - use orion_tests::helpers::tensor::fixed_point::fp16x16::fp_tensor_2x2_helper; + use orion::helpers::tensor::fixed_point::fp16x16::fp_tensor_2x2_helper; use orion::numbers::fixed_point::core::FixedTrait; use orion::numbers::fixed_point::implementations::fp16x16::core::{ FP16x16Impl, FP16x16PartialEq @@ -60,7 +60,7 @@ mod tensor_3D { use array::ArrayTrait; use orion::operators::tensor::implementations::tensor_fp16x16::FP16x16Tensor; use orion::operators::tensor::core::{TensorTrait}; - use orion_tests::helpers::tensor::fixed_point::fp16x16::fp_tensor_2x2x2_helper; + use orion::helpers::tensor::fixed_point::fp16x16::fp_tensor_2x2x2_helper; use orion::numbers::fixed_point::core::FixedTrait; use orion::numbers::fixed_point::implementations::fp16x16::core::{ FP16x16Impl, FP16x16PartialEq diff --git a/tests/src/tensor_core/at/at_fp_test/at_fp8x23_test.cairo b/tests/tensor_core/at/at_fp_test/at_fp8x23_test.cairo similarity index 89% rename from tests/src/tensor_core/at/at_fp_test/at_fp8x23_test.cairo rename to tests/tensor_core/at/at_fp_test/at_fp8x23_test.cairo index e30fe2dd7..04cd3d976 100644 --- a/tests/src/tensor_core/at/at_fp_test/at_fp8x23_test.cairo +++ b/tests/tensor_core/at/at_fp_test/at_fp8x23_test.cairo @@ -5,7 +5,7 @@ mod tensor_1D { use array::ArrayTrait; use orion::operators::tensor::implementations::tensor_fp8x23::FP8x23Tensor; use orion::operators::tensor::core::{TensorTrait}; - use orion_tests::helpers::tensor::fixed_point::fp8x23::fp_tensor_1x3_helper; + use orion::helpers::tensor::fixed_point::fp8x23::fp_tensor_1x3_helper; use orion::numbers::fixed_point::core::FixedTrait; use orion::numbers::fixed_point::implementations::fp8x23::core::{FP8x23Impl, FP8x23PartialEq}; @@ -29,7 +29,7 @@ mod tensor_2D { use array::ArrayTrait; use orion::operators::tensor::implementations::tensor_fp8x23::FP8x23Tensor; use orion::operators::tensor::core::{TensorTrait}; - use orion_tests::helpers::tensor::fixed_point::fp8x23::fp_tensor_2x2_helper; + use orion::helpers::tensor::fixed_point::fp8x23::fp_tensor_2x2_helper; use orion::numbers::fixed_point::core::FixedTrait; use orion::numbers::fixed_point::implementations::fp8x23::core::{FP8x23Impl, FP8x23PartialEq}; @@ -56,7 +56,7 @@ mod tensor_3D { use array::ArrayTrait; use orion::operators::tensor::implementations::tensor_fp8x23::FP8x23Tensor; use orion::operators::tensor::core::{TensorTrait}; - use orion_tests::helpers::tensor::fixed_point::fp8x23::fp_tensor_2x2x2_helper; + use orion::helpers::tensor::fixed_point::fp8x23::fp_tensor_2x2x2_helper; use orion::numbers::fixed_point::core::FixedTrait; use orion::numbers::fixed_point::implementations::fp8x23::core::{FP8x23Impl, FP8x23PartialEq}; diff --git a/tests/src/tensor_core/at/at_i32_test.cairo b/tests/tensor_core/at/at_i32_test.cairo similarity index 88% rename from tests/src/tensor_core/at/at_i32_test.cairo rename to tests/tensor_core/at/at_i32_test.cairo index 4e6a1bda6..0e0c5c7fe 100644 --- a/tests/src/tensor_core/at/at_i32_test.cairo +++ b/tests/tensor_core/at/at_i32_test.cairo @@ -5,7 +5,7 @@ mod tensor_1D { use array::ArrayTrait; use orion::operators::tensor::I32Tensor; use orion::operators::tensor::core::{TensorTrait}; - use orion_tests::helpers::tensor::i32::i32_tensor_1x3_helper; + use orion::helpers::tensor::i32::i32_tensor_1x3_helper; #[test] @@ -28,7 +28,7 @@ mod tensor_2D { use array::ArrayTrait; use orion::operators::tensor::I32Tensor; use orion::operators::tensor::core::{TensorTrait}; - use orion_tests::helpers::tensor::i32::i32_tensor_2x2_helper; + use orion::helpers::tensor::i32::i32_tensor_2x2_helper; #[test] @@ -53,7 +53,7 @@ mod tensor_3D { use array::ArrayTrait; use orion::operators::tensor::I32Tensor; use orion::operators::tensor::core::{TensorTrait}; - use orion_tests::helpers::tensor::i32::i32_tensor_2x2x2_helper; + use orion::helpers::tensor::i32::i32_tensor_2x2x2_helper; #[test] diff --git a/tests/src/tensor_core/at/at_u32_test.cairo b/tests/tensor_core/at/at_u32_test.cairo similarity index 88% rename from tests/src/tensor_core/at/at_u32_test.cairo rename to tests/tensor_core/at/at_u32_test.cairo index 3ad1b6ef9..53fa07e35 100644 --- a/tests/src/tensor_core/at/at_u32_test.cairo +++ b/tests/tensor_core/at/at_u32_test.cairo @@ -5,7 +5,7 @@ mod tensor_1D { use array::ArrayTrait; use orion::operators::tensor::U32Tensor; use orion::operators::tensor::core::{TensorTrait}; - use orion_tests::helpers::tensor::u32::u32_tensor_1x3_helper; + use orion::helpers::tensor::u32::u32_tensor_1x3_helper; #[test] @@ -28,7 +28,7 @@ mod tensor_2D { use array::ArrayTrait; use orion::operators::tensor::U32Tensor; use orion::operators::tensor::core::{TensorTrait}; - use orion_tests::helpers::tensor::u32::u32_tensor_2x2_helper; + use orion::helpers::tensor::u32::u32_tensor_2x2_helper; #[test] @@ -53,7 +53,7 @@ mod tensor_3D { use array::ArrayTrait; use orion::operators::tensor::U32Tensor; use orion::operators::tensor::core::{TensorTrait}; - use orion_tests::helpers::tensor::u32::u32_tensor_2x2x2_helper; + use orion::helpers::tensor::u32::u32_tensor_2x2x2_helper; #[test] diff --git a/tests/src/tensor_core/flatten.cairo b/tests/tensor_core/flatten.cairo similarity index 100% rename from tests/src/tensor_core/flatten.cairo rename to tests/tensor_core/flatten.cairo diff --git a/tests/src/tensor_core/flatten/flatten_fp_test.cairo b/tests/tensor_core/flatten/flatten_fp_test.cairo similarity index 100% rename from tests/src/tensor_core/flatten/flatten_fp_test.cairo rename to tests/tensor_core/flatten/flatten_fp_test.cairo diff --git a/tests/src/tensor_core/flatten/flatten_fp_test/flatten_fp16x16_test.cairo b/tests/tensor_core/flatten/flatten_fp_test/flatten_fp16x16_test.cairo similarity index 90% rename from tests/src/tensor_core/flatten/flatten_fp_test/flatten_fp16x16_test.cairo rename to tests/tensor_core/flatten/flatten_fp_test/flatten_fp16x16_test.cairo index 7299860ba..c52e14ef8 100644 --- a/tests/src/tensor_core/flatten/flatten_fp_test/flatten_fp16x16_test.cairo +++ b/tests/tensor_core/flatten/flatten_fp_test/flatten_fp16x16_test.cairo @@ -4,7 +4,7 @@ mod tensor_1D { use core::traits::Into; use orion::operators::tensor::implementations::tensor_fp16x16::FP16x16Tensor; - use orion_tests::helpers::tensor::fixed_point::fp16x16::fp_tensor_1x3_helper; + use orion::helpers::tensor::fixed_point::fp16x16::fp_tensor_1x3_helper; use orion::operators::tensor::core::TensorTrait; #[test] @@ -24,7 +24,7 @@ mod tensor_1D { mod tensor_2D { use core::traits::Into; use orion::operators::tensor::implementations::tensor_fp16x16::FP16x16Tensor; - use orion_tests::helpers::tensor::fixed_point::fp16x16::fp_tensor_2x2_helper; + use orion::helpers::tensor::fixed_point::fp16x16::fp_tensor_2x2_helper; use orion::operators::tensor::core::TensorTrait; #[test] @@ -53,7 +53,7 @@ mod tensor_2D { mod tensor_3D { use core::traits::Into; use orion::operators::tensor::implementations::tensor_fp16x16::FP16x16Tensor; - use orion_tests::helpers::tensor::fixed_point::fp16x16::fp_tensor_2x2x2_helper; + use orion::helpers::tensor::fixed_point::fp16x16::fp_tensor_2x2x2_helper; use orion::operators::tensor::core::TensorTrait; #[test] diff --git a/tests/src/tensor_core/flatten/flatten_fp_test/flatten_fp8x23_test.cairo b/tests/tensor_core/flatten/flatten_fp_test/flatten_fp8x23_test.cairo similarity index 90% rename from tests/src/tensor_core/flatten/flatten_fp_test/flatten_fp8x23_test.cairo rename to tests/tensor_core/flatten/flatten_fp_test/flatten_fp8x23_test.cairo index 8b5a77345..d1a253e48 100644 --- a/tests/src/tensor_core/flatten/flatten_fp_test/flatten_fp8x23_test.cairo +++ b/tests/tensor_core/flatten/flatten_fp_test/flatten_fp8x23_test.cairo @@ -4,7 +4,7 @@ mod tensor_1D { use core::traits::Into; use orion::operators::tensor::implementations::tensor_fp8x23::FP8x23Tensor; - use orion_tests::helpers::tensor::fixed_point::fp8x23::fp_tensor_1x3_helper; + use orion::helpers::tensor::fixed_point::fp8x23::fp_tensor_1x3_helper; use orion::operators::tensor::core::TensorTrait; #[test] @@ -24,7 +24,7 @@ mod tensor_1D { mod tensor_2D { use core::traits::Into; use orion::operators::tensor::implementations::tensor_fp8x23::FP8x23Tensor; - use orion_tests::helpers::tensor::fixed_point::fp8x23::fp_tensor_2x2_helper; + use orion::helpers::tensor::fixed_point::fp8x23::fp_tensor_2x2_helper; use orion::operators::tensor::core::TensorTrait; #[test] @@ -53,7 +53,7 @@ mod tensor_2D { mod tensor_3D { use core::traits::Into; use orion::operators::tensor::implementations::tensor_fp8x23::FP8x23Tensor; - use orion_tests::helpers::tensor::fixed_point::fp8x23::fp_tensor_2x2x2_helper; + use orion::helpers::tensor::fixed_point::fp8x23::fp_tensor_2x2x2_helper; use orion::operators::tensor::core::TensorTrait; #[test] diff --git a/tests/src/tensor_core/flatten/flatten_i32_test.cairo b/tests/tensor_core/flatten/flatten_i32_test.cairo similarity index 92% rename from tests/src/tensor_core/flatten/flatten_i32_test.cairo rename to tests/tensor_core/flatten/flatten_i32_test.cairo index 4725f2b05..a42f4645f 100644 --- a/tests/src/tensor_core/flatten/flatten_i32_test.cairo +++ b/tests/tensor_core/flatten/flatten_i32_test.cairo @@ -7,7 +7,7 @@ mod tensor_1D { use orion::operators::tensor::I32Tensor; use orion::operators::tensor::core::{TensorTrait}; - use orion_tests::helpers::tensor::i32::i32_tensor_1x3_helper; + use orion::helpers::tensor::i32::i32_tensor_1x3_helper; #[test] #[available_gas(200000)] @@ -29,7 +29,7 @@ mod tensor_2D { use orion::operators::tensor::I32Tensor; use orion::operators::tensor::core::{TensorTrait}; - use orion_tests::helpers::tensor::i32::i32_tensor_2x2_helper; + use orion::helpers::tensor::i32::i32_tensor_2x2_helper; #[test] #[available_gas(200000)] @@ -60,7 +60,7 @@ mod tensor_3D { use orion::operators::tensor::I32Tensor; use orion::operators::tensor::core::{TensorTrait}; - use orion_tests::helpers::tensor::i32::i32_tensor_2x2x2_helper; + use orion::helpers::tensor::i32::i32_tensor_2x2x2_helper; #[test] diff --git a/tests/src/tensor_core/flatten/flatten_u32_test.cairo b/tests/tensor_core/flatten/flatten_u32_test.cairo similarity index 92% rename from tests/src/tensor_core/flatten/flatten_u32_test.cairo rename to tests/tensor_core/flatten/flatten_u32_test.cairo index 9e42bfd7c..a28171ad0 100644 --- a/tests/src/tensor_core/flatten/flatten_u32_test.cairo +++ b/tests/tensor_core/flatten/flatten_u32_test.cairo @@ -7,7 +7,7 @@ mod tensor_1D { use orion::operators::tensor::U32Tensor; use orion::operators::tensor::core::{TensorTrait}; - use orion_tests::helpers::tensor::u32::u32_tensor_1x3_helper; + use orion::helpers::tensor::u32::u32_tensor_1x3_helper; #[test] #[available_gas(200000)] @@ -29,7 +29,7 @@ mod tensor_2D { use orion::operators::tensor::U32Tensor; use orion::operators::tensor::core::{TensorTrait}; - use orion_tests::helpers::tensor::u32::u32_tensor_2x2_helper; + use orion::helpers::tensor::u32::u32_tensor_2x2_helper; #[test] #[available_gas(200000)] @@ -60,7 +60,7 @@ mod tensor_3D { use orion::operators::tensor::U32Tensor; use orion::operators::tensor::core::{TensorTrait}; - use orion_tests::helpers::tensor::u32::u32_tensor_2x2x2_helper; + use orion::helpers::tensor::u32::u32_tensor_2x2x2_helper; #[test] diff --git a/tests/src/tensor_core/max.cairo b/tests/tensor_core/max.cairo similarity index 100% rename from tests/src/tensor_core/max.cairo rename to tests/tensor_core/max.cairo diff --git a/tests/src/tensor_core/max/max_fp_test.cairo b/tests/tensor_core/max/max_fp_test.cairo similarity index 100% rename from tests/src/tensor_core/max/max_fp_test.cairo rename to tests/tensor_core/max/max_fp_test.cairo diff --git a/tests/src/tensor_core/max/max_fp_test/max_fp16x16_test.cairo b/tests/tensor_core/max/max_fp_test/max_fp16x16_test.cairo similarity index 87% rename from tests/src/tensor_core/max/max_fp_test/max_fp16x16_test.cairo rename to tests/tensor_core/max/max_fp_test/max_fp16x16_test.cairo index 651e93c76..97e3b711b 100644 --- a/tests/src/tensor_core/max/max_fp_test/max_fp16x16_test.cairo +++ b/tests/tensor_core/max/max_fp_test/max_fp16x16_test.cairo @@ -4,7 +4,7 @@ mod tensor_1D { use orion::operators::tensor::implementations::tensor_fp16x16::FP16x16Tensor; use orion::operators::tensor::core::TensorTrait; - use orion_tests::helpers::tensor::fixed_point::fp16x16::fp_tensor_1x3_helper; + use orion::helpers::tensor::fixed_point::fp16x16::fp_tensor_1x3_helper; use orion::numbers::fixed_point::implementations::fp16x16::core::FP16x16; use orion::numbers::fixed_point::core::{FixedTrait}; @@ -24,7 +24,7 @@ mod tensor_1D { mod tensor_2D { use orion::operators::tensor::implementations::tensor_fp16x16::FP16x16Tensor; use orion::operators::tensor::core::TensorTrait; - use orion_tests::helpers::tensor::fixed_point::fp16x16::fp_tensor_2x2_helper; + use orion::helpers::tensor::fixed_point::fp16x16::fp_tensor_2x2_helper; use orion::numbers::fixed_point::implementations::fp16x16::core::FP16x16; use orion::numbers::fixed_point::core::{FixedTrait}; @@ -45,7 +45,7 @@ mod tensor_2D { mod tensor_3D { use orion::operators::tensor::implementations::tensor_fp16x16::FP16x16Tensor; use orion::operators::tensor::core::TensorTrait; - use orion_tests::helpers::tensor::fixed_point::fp16x16::fp_tensor_2x2x2_helper; + use orion::helpers::tensor::fixed_point::fp16x16::fp_tensor_2x2x2_helper; use orion::numbers::fixed_point::implementations::fp16x16::core::FP16x16; use orion::numbers::fixed_point::core::{FixedTrait}; diff --git a/tests/src/tensor_core/max/max_fp_test/max_fp8x23_test.cairo b/tests/tensor_core/max/max_fp_test/max_fp8x23_test.cairo similarity index 87% rename from tests/src/tensor_core/max/max_fp_test/max_fp8x23_test.cairo rename to tests/tensor_core/max/max_fp_test/max_fp8x23_test.cairo index a72cb980e..3c8ee2b5a 100644 --- a/tests/src/tensor_core/max/max_fp_test/max_fp8x23_test.cairo +++ b/tests/tensor_core/max/max_fp_test/max_fp8x23_test.cairo @@ -4,7 +4,7 @@ mod tensor_1D { use orion::operators::tensor::implementations::tensor_fp8x23::FP8x23Tensor; use orion::operators::tensor::core::TensorTrait; - use orion_tests::helpers::tensor::fixed_point::fp8x23::fp_tensor_1x3_helper; + use orion::helpers::tensor::fixed_point::fp8x23::fp_tensor_1x3_helper; use orion::numbers::fixed_point::implementations::fp8x23::core::FP8x23; use orion::numbers::fixed_point::core::{FixedTrait}; @@ -24,7 +24,7 @@ mod tensor_1D { mod tensor_2D { use orion::operators::tensor::implementations::tensor_fp8x23::FP8x23Tensor; use orion::operators::tensor::core::TensorTrait; - use orion_tests::helpers::tensor::fixed_point::fp8x23::fp_tensor_2x2_helper; + use orion::helpers::tensor::fixed_point::fp8x23::fp_tensor_2x2_helper; use orion::numbers::fixed_point::implementations::fp8x23::core::FP8x23; use orion::numbers::fixed_point::core::{FixedTrait}; @@ -45,7 +45,7 @@ mod tensor_2D { mod tensor_3D { use orion::operators::tensor::implementations::tensor_fp8x23::FP8x23Tensor; use orion::operators::tensor::core::TensorTrait; - use orion_tests::helpers::tensor::fixed_point::fp8x23::fp_tensor_2x2x2_helper; + use orion::helpers::tensor::fixed_point::fp8x23::fp_tensor_2x2x2_helper; use orion::numbers::fixed_point::implementations::fp8x23::core::FP8x23; use orion::numbers::fixed_point::core::{FixedTrait}; diff --git a/tests/src/tensor_core/max/max_i32_test.cairo b/tests/tensor_core/max/max_i32_test.cairo similarity index 84% rename from tests/src/tensor_core/max/max_i32_test.cairo rename to tests/tensor_core/max/max_i32_test.cairo index 4138bc9c3..5b39271cc 100644 --- a/tests/src/tensor_core/max/max_i32_test.cairo +++ b/tests/tensor_core/max/max_i32_test.cairo @@ -4,7 +4,7 @@ mod tensor_1D { use orion::operators::tensor::I32Tensor; use orion::operators::tensor::core::TensorTrait; - use orion_tests::helpers::tensor::i32::i32_tensor_1x3_helper; + use orion::helpers::tensor::i32::i32_tensor_1x3_helper; #[test] #[available_gas(2000000)] @@ -22,7 +22,7 @@ mod tensor_1D { mod tensor_2D { use orion::operators::tensor::I32Tensor; use orion::operators::tensor::core::TensorTrait; - use orion_tests::helpers::tensor::i32::i32_tensor_2x2_helper; + use orion::helpers::tensor::i32::i32_tensor_2x2_helper; #[test] #[available_gas(2000000)] @@ -40,7 +40,7 @@ mod tensor_2D { mod tensor_3D { use orion::operators::tensor::I32Tensor; use orion::operators::tensor::core::TensorTrait; - use orion_tests::helpers::tensor::i32::i32_tensor_2x2x2_helper; + use orion::helpers::tensor::i32::i32_tensor_2x2x2_helper; #[test] #[available_gas(2000000)] diff --git a/tests/src/tensor_core/max/max_u32_test.cairo b/tests/tensor_core/max/max_u32_test.cairo similarity index 84% rename from tests/src/tensor_core/max/max_u32_test.cairo rename to tests/tensor_core/max/max_u32_test.cairo index 4e805d483..dec7dd3a8 100644 --- a/tests/src/tensor_core/max/max_u32_test.cairo +++ b/tests/tensor_core/max/max_u32_test.cairo @@ -4,7 +4,7 @@ mod tensor_1D { use orion::operators::tensor::U32Tensor; use orion::operators::tensor::core::TensorTrait; - use orion_tests::helpers::tensor::u32::u32_tensor_1x3_helper; + use orion::helpers::tensor::u32::u32_tensor_1x3_helper; #[test] #[available_gas(2000000)] @@ -22,7 +22,7 @@ mod tensor_1D { mod tensor_2D { use orion::operators::tensor::U32Tensor; use orion::operators::tensor::core::TensorTrait; - use orion_tests::helpers::tensor::u32::u32_tensor_2x2_helper; + use orion::helpers::tensor::u32::u32_tensor_2x2_helper; #[test] #[available_gas(2000000)] @@ -40,7 +40,7 @@ mod tensor_2D { mod tensor_3D { use orion::operators::tensor::U32Tensor; use orion::operators::tensor::core::TensorTrait; - use orion_tests::helpers::tensor::u32::u32_tensor_2x2x2_helper; + use orion::helpers::tensor::u32::u32_tensor_2x2x2_helper; #[test] #[available_gas(2000000)] diff --git a/tests/src/tensor_core/min.cairo b/tests/tensor_core/min.cairo similarity index 100% rename from tests/src/tensor_core/min.cairo rename to tests/tensor_core/min.cairo diff --git a/tests/src/tensor_core/min/min_fp_test.cairo b/tests/tensor_core/min/min_fp_test.cairo similarity index 100% rename from tests/src/tensor_core/min/min_fp_test.cairo rename to tests/tensor_core/min/min_fp_test.cairo diff --git a/tests/src/tensor_core/min/min_fp_test/min_fp16x16_test.cairo b/tests/tensor_core/min/min_fp_test/min_fp16x16_test.cairo similarity index 86% rename from tests/src/tensor_core/min/min_fp_test/min_fp16x16_test.cairo rename to tests/tensor_core/min/min_fp_test/min_fp16x16_test.cairo index 2e33ce90e..22dc01342 100644 --- a/tests/src/tensor_core/min/min_fp_test/min_fp16x16_test.cairo +++ b/tests/tensor_core/min/min_fp_test/min_fp16x16_test.cairo @@ -4,7 +4,7 @@ mod tensor_1D { use orion::operators::tensor::implementations::tensor_fp16x16::FP16x16Tensor; use orion::operators::tensor::core::TensorTrait; - use orion_tests::helpers::tensor::fixed_point::fp16x16::fp_tensor_1x3_helper; + use orion::helpers::tensor::fixed_point::fp16x16::fp_tensor_1x3_helper; use orion::numbers::fixed_point::implementations::fp16x16::core::FP16x16Impl; use orion::numbers::fixed_point::core::{FixedTrait}; @@ -24,7 +24,7 @@ mod tensor_1D { mod tensor_2D { use orion::operators::tensor::implementations::tensor_fp16x16::FP16x16Tensor; use orion::operators::tensor::core::TensorTrait; - use orion_tests::helpers::tensor::fixed_point::fp16x16::fp_tensor_2x2_helper; + use orion::helpers::tensor::fixed_point::fp16x16::fp_tensor_2x2_helper; use orion::numbers::fixed_point::implementations::fp16x16::core::FP16x16Impl; use orion::numbers::fixed_point::core::{FixedTrait}; @@ -45,7 +45,7 @@ mod tensor_2D { mod tensor_3D { use orion::operators::tensor::implementations::tensor_fp16x16::FP16x16Tensor; use orion::operators::tensor::core::TensorTrait; - use orion_tests::helpers::tensor::fixed_point::fp16x16::fp_tensor_2x2x2_helper; + use orion::helpers::tensor::fixed_point::fp16x16::fp_tensor_2x2x2_helper; use orion::numbers::fixed_point::implementations::fp16x16::core::FP16x16Impl; use orion::numbers::fixed_point::core::{FixedTrait}; diff --git a/tests/src/tensor_core/min/min_fp_test/min_fp8x23_test.cairo b/tests/tensor_core/min/min_fp_test/min_fp8x23_test.cairo similarity index 86% rename from tests/src/tensor_core/min/min_fp_test/min_fp8x23_test.cairo rename to tests/tensor_core/min/min_fp_test/min_fp8x23_test.cairo index 54a7bc7b3..411df930c 100644 --- a/tests/src/tensor_core/min/min_fp_test/min_fp8x23_test.cairo +++ b/tests/tensor_core/min/min_fp_test/min_fp8x23_test.cairo @@ -4,7 +4,7 @@ mod tensor_1D { use orion::operators::tensor::implementations::tensor_fp8x23::FP8x23Tensor; use orion::operators::tensor::core::TensorTrait; - use orion_tests::helpers::tensor::fixed_point::fp8x23::fp_tensor_1x3_helper; + use orion::helpers::tensor::fixed_point::fp8x23::fp_tensor_1x3_helper; use orion::numbers::fixed_point::implementations::fp8x23::core::FP8x23Impl; use orion::numbers::fixed_point::core::{FixedTrait}; @@ -24,7 +24,7 @@ mod tensor_1D { mod tensor_2D { use orion::operators::tensor::implementations::tensor_fp8x23::FP8x23Tensor; use orion::operators::tensor::core::TensorTrait; - use orion_tests::helpers::tensor::fixed_point::fp8x23::fp_tensor_2x2_helper; + use orion::helpers::tensor::fixed_point::fp8x23::fp_tensor_2x2_helper; use orion::numbers::fixed_point::implementations::fp8x23::core::FP8x23Impl; use orion::numbers::fixed_point::core::{FixedTrait}; @@ -45,7 +45,7 @@ mod tensor_2D { mod tensor_3D { use orion::operators::tensor::implementations::tensor_fp8x23::FP8x23Tensor; use orion::operators::tensor::core::TensorTrait; - use orion_tests::helpers::tensor::fixed_point::fp8x23::fp_tensor_2x2x2_helper; + use orion::helpers::tensor::fixed_point::fp8x23::fp_tensor_2x2x2_helper; use orion::numbers::fixed_point::implementations::fp8x23::core::FP8x23Impl; use orion::numbers::fixed_point::core::{FixedTrait}; diff --git a/tests/src/tensor_core/min/min_i32_test.cairo b/tests/tensor_core/min/min_i32_test.cairo similarity index 84% rename from tests/src/tensor_core/min/min_i32_test.cairo rename to tests/tensor_core/min/min_i32_test.cairo index 5158369c0..754d54df3 100644 --- a/tests/src/tensor_core/min/min_i32_test.cairo +++ b/tests/tensor_core/min/min_i32_test.cairo @@ -4,7 +4,7 @@ mod tensor_1D { use orion::operators::tensor::I32Tensor; use orion::operators::tensor::core::TensorTrait; - use orion_tests::helpers::tensor::i32::i32_tensor_1x3_helper; + use orion::helpers::tensor::i32::i32_tensor_1x3_helper; #[test] #[available_gas(2000000)] @@ -22,7 +22,7 @@ mod tensor_1D { mod tensor_2D { use orion::operators::tensor::I32Tensor; use orion::operators::tensor::core::TensorTrait; - use orion_tests::helpers::tensor::i32::i32_tensor_2x2_helper; + use orion::helpers::tensor::i32::i32_tensor_2x2_helper; #[test] #[available_gas(2000000)] @@ -40,7 +40,7 @@ mod tensor_2D { mod tensor_3D { use orion::operators::tensor::I32Tensor; use orion::operators::tensor::core::TensorTrait; - use orion_tests::helpers::tensor::i32::i32_tensor_2x2x2_helper; + use orion::helpers::tensor::i32::i32_tensor_2x2x2_helper; #[test] #[available_gas(2000000)] diff --git a/tests/src/tensor_core/min/min_u32_test.cairo b/tests/tensor_core/min/min_u32_test.cairo similarity index 84% rename from tests/src/tensor_core/min/min_u32_test.cairo rename to tests/tensor_core/min/min_u32_test.cairo index 8bc1bb8c0..64e78306d 100644 --- a/tests/src/tensor_core/min/min_u32_test.cairo +++ b/tests/tensor_core/min/min_u32_test.cairo @@ -4,7 +4,7 @@ mod tensor_1D { use orion::operators::tensor::U32Tensor; use orion::operators::tensor::core::TensorTrait; - use orion_tests::helpers::tensor::u32::u32_tensor_1x3_helper; + use orion::helpers::tensor::u32::u32_tensor_1x3_helper; #[test] #[available_gas(2000000)] @@ -22,7 +22,7 @@ mod tensor_1D { mod tensor_2D { use orion::operators::tensor::U32Tensor; use orion::operators::tensor::core::TensorTrait; - use orion_tests::helpers::tensor::u32::u32_tensor_2x2_helper; + use orion::helpers::tensor::u32::u32_tensor_2x2_helper; #[test] #[available_gas(2000000)] @@ -40,7 +40,7 @@ mod tensor_2D { mod tensor_3D { use orion::operators::tensor::U32Tensor; use orion::operators::tensor::core::TensorTrait; - use orion_tests::helpers::tensor::u32::u32_tensor_2x2x2_helper; + use orion::helpers::tensor::u32::u32_tensor_2x2x2_helper; #[test] #[available_gas(2000000)] diff --git a/tests/src/tensor_core/onehot.cairo b/tests/tensor_core/onehot.cairo similarity index 100% rename from tests/src/tensor_core/onehot.cairo rename to tests/tensor_core/onehot.cairo diff --git a/tests/src/tensor_core/onehot/onehot_fp_test.cairo b/tests/tensor_core/onehot/onehot_fp_test.cairo similarity index 100% rename from tests/src/tensor_core/onehot/onehot_fp_test.cairo rename to tests/tensor_core/onehot/onehot_fp_test.cairo diff --git a/tests/src/tensor_core/onehot/onehot_fp_test/onehot_fp16x16_test.cairo b/tests/tensor_core/onehot/onehot_fp_test/onehot_fp16x16_test.cairo similarity index 99% rename from tests/src/tensor_core/onehot/onehot_fp_test/onehot_fp16x16_test.cairo rename to tests/tensor_core/onehot/onehot_fp_test/onehot_fp16x16_test.cairo index df56952a3..91eccd6ef 100644 --- a/tests/src/tensor_core/onehot/onehot_fp_test/onehot_fp16x16_test.cairo +++ b/tests/tensor_core/onehot/onehot_fp_test/onehot_fp16x16_test.cairo @@ -11,7 +11,7 @@ mod tensor_1D { use orion::numbers::fixed_point::core::{FixedTrait}; use orion::numbers::fixed_point::implementations::fp16x16::core::{FP16x16, FP16x16PartialEq}; use orion::operators::tensor::implementations::tensor_fp16x16::FP16x16Tensor; - use orion_tests::helpers::tensor::fixed_point::fp16x16::{ + use orion::helpers::tensor::fixed_point::fp16x16::{ fp_tensor_1x3_helper, fp_tensor_2x2_helper, fp_tensor_3x2x2_neg_helper, fp_tensor_1x3_neg_helper, fp_tensor_2x2x2_helper }; diff --git a/tests/src/tensor_core/onehot/onehot_fp_test/onehot_fp8x23_test.cairo b/tests/tensor_core/onehot/onehot_fp_test/onehot_fp8x23_test.cairo similarity index 99% rename from tests/src/tensor_core/onehot/onehot_fp_test/onehot_fp8x23_test.cairo rename to tests/tensor_core/onehot/onehot_fp_test/onehot_fp8x23_test.cairo index 7434f656f..24041de8c 100644 --- a/tests/src/tensor_core/onehot/onehot_fp_test/onehot_fp8x23_test.cairo +++ b/tests/tensor_core/onehot/onehot_fp_test/onehot_fp8x23_test.cairo @@ -12,7 +12,7 @@ mod tensor_1D { use orion::numbers::fixed_point::implementations::fp8x23::core::{FP8x23, FP8x23PartialEq}; use orion::operators::tensor::implementations::tensor_fp8x23::FP8x23Tensor; use orion::operators::tensor::core::TensorTrait; - use orion_tests::helpers::tensor::fixed_point::fp8x23::{ + use orion::helpers::tensor::fixed_point::fp8x23::{ fp_tensor_1x3_helper, fp_tensor_2x2_helper, fp_tensor_3x2x2_neg_helper, fp_tensor_1x3_neg_helper, fp_tensor_2x2x2_helper }; diff --git a/tests/src/tensor_core/ravel_index.cairo b/tests/tensor_core/ravel_index.cairo similarity index 100% rename from tests/src/tensor_core/ravel_index.cairo rename to tests/tensor_core/ravel_index.cairo diff --git a/tests/src/tensor_core/stride.cairo b/tests/tensor_core/stride.cairo similarity index 100% rename from tests/src/tensor_core/stride.cairo rename to tests/tensor_core/stride.cairo diff --git a/tests/src/tensor_core/stride/stride_fp_test.cairo b/tests/tensor_core/stride/stride_fp_test.cairo similarity index 100% rename from tests/src/tensor_core/stride/stride_fp_test.cairo rename to tests/tensor_core/stride/stride_fp_test.cairo diff --git a/tests/src/tensor_core/stride/stride_fp_test/stride_fp16x16_test.cairo b/tests/tensor_core/stride/stride_fp_test/stride_fp16x16_test.cairo similarity index 86% rename from tests/src/tensor_core/stride/stride_fp_test/stride_fp16x16_test.cairo rename to tests/tensor_core/stride/stride_fp_test/stride_fp16x16_test.cairo index 26c5c074f..6187aa42f 100644 --- a/tests/src/tensor_core/stride/stride_fp_test/stride_fp16x16_test.cairo +++ b/tests/tensor_core/stride/stride_fp_test/stride_fp16x16_test.cairo @@ -7,7 +7,7 @@ mod tensor_1D { use orion::operators::tensor::implementations::tensor_fp16x16::FP16x16Tensor; use orion::operators::tensor::core::{TensorTrait}; - use orion_tests::helpers::tensor::fixed_point::fp16x16::fp_tensor_1x3_helper; + use orion::helpers::tensor::fixed_point::fp16x16::fp_tensor_1x3_helper; #[test] @@ -29,7 +29,7 @@ mod tensor_2D { use orion::operators::tensor::implementations::tensor_fp16x16::FP16x16Tensor; use orion::operators::tensor::core::{TensorTrait}; - use orion_tests::helpers::tensor::fixed_point::fp16x16::fp_tensor_2x2_helper; + use orion::helpers::tensor::fixed_point::fp16x16::fp_tensor_2x2_helper; #[test] @@ -52,7 +52,7 @@ mod tensor_3D { use orion::operators::tensor::implementations::tensor_fp16x16::FP16x16Tensor; use orion::operators::tensor::core::{TensorTrait}; - use orion_tests::helpers::tensor::fixed_point::fp16x16::fp_tensor_2x2x2_helper; + use orion::helpers::tensor::fixed_point::fp16x16::fp_tensor_2x2x2_helper; #[test] diff --git a/tests/src/tensor_core/stride/stride_fp_test/stride_fp8x23_test.cairo b/tests/tensor_core/stride/stride_fp_test/stride_fp8x23_test.cairo similarity index 86% rename from tests/src/tensor_core/stride/stride_fp_test/stride_fp8x23_test.cairo rename to tests/tensor_core/stride/stride_fp_test/stride_fp8x23_test.cairo index 81395da31..c233f53e8 100644 --- a/tests/src/tensor_core/stride/stride_fp_test/stride_fp8x23_test.cairo +++ b/tests/tensor_core/stride/stride_fp_test/stride_fp8x23_test.cairo @@ -7,7 +7,7 @@ mod tensor_1D { use orion::operators::tensor::implementations::tensor_fp8x23::FP8x23Tensor; use orion::operators::tensor::core::{TensorTrait}; - use orion_tests::helpers::tensor::fixed_point::fp8x23::fp_tensor_1x3_helper; + use orion::helpers::tensor::fixed_point::fp8x23::fp_tensor_1x3_helper; #[test] @@ -29,7 +29,7 @@ mod tensor_2D { use orion::operators::tensor::implementations::tensor_fp8x23::FP8x23Tensor; use orion::operators::tensor::core::{TensorTrait}; - use orion_tests::helpers::tensor::fixed_point::fp8x23::fp_tensor_2x2_helper; + use orion::helpers::tensor::fixed_point::fp8x23::fp_tensor_2x2_helper; #[test] @@ -52,7 +52,7 @@ mod tensor_3D { use orion::operators::tensor::implementations::tensor_fp8x23::FP8x23Tensor; use orion::operators::tensor::core::{TensorTrait}; - use orion_tests::helpers::tensor::fixed_point::fp8x23::fp_tensor_2x2x2_helper; + use orion::helpers::tensor::fixed_point::fp8x23::fp_tensor_2x2x2_helper; #[test] diff --git a/tests/src/tensor_core/stride/stride_i32_test.cairo b/tests/tensor_core/stride/stride_i32_test.cairo similarity index 88% rename from tests/src/tensor_core/stride/stride_i32_test.cairo rename to tests/tensor_core/stride/stride_i32_test.cairo index 3830b6777..b8bd293e6 100644 --- a/tests/src/tensor_core/stride/stride_i32_test.cairo +++ b/tests/tensor_core/stride/stride_i32_test.cairo @@ -7,7 +7,7 @@ mod tensor_1D { use orion::operators::tensor::I32Tensor; use orion::operators::tensor::core::{TensorTrait}; - use orion_tests::helpers::tensor::i32::i32_tensor_1x3_helper; + use orion::helpers::tensor::i32::i32_tensor_1x3_helper; #[test] @@ -29,7 +29,7 @@ mod tensor_2D { use orion::operators::tensor::I32Tensor; use orion::operators::tensor::core::{TensorTrait}; - use orion_tests::helpers::tensor::i32::i32_tensor_2x2_helper; + use orion::helpers::tensor::i32::i32_tensor_2x2_helper; #[test] @@ -52,7 +52,7 @@ mod tensor_3D { use orion::operators::tensor::I32Tensor; use orion::operators::tensor::core::{TensorTrait}; - use orion_tests::helpers::tensor::i32::i32_tensor_2x2x2_helper; + use orion::helpers::tensor::i32::i32_tensor_2x2x2_helper; #[test] diff --git a/tests/src/tensor_core/stride/stride_u32_test.cairo b/tests/tensor_core/stride/stride_u32_test.cairo similarity index 88% rename from tests/src/tensor_core/stride/stride_u32_test.cairo rename to tests/tensor_core/stride/stride_u32_test.cairo index 38ce6fbdc..76398a7b7 100644 --- a/tests/src/tensor_core/stride/stride_u32_test.cairo +++ b/tests/tensor_core/stride/stride_u32_test.cairo @@ -7,7 +7,7 @@ mod tensor_1D { use orion::operators::tensor::U32Tensor; use orion::operators::tensor::core::{TensorTrait}; - use orion_tests::helpers::tensor::u32::u32_tensor_1x3_helper; + use orion::helpers::tensor::u32::u32_tensor_1x3_helper; #[test] @@ -29,7 +29,7 @@ mod tensor_2D { use orion::operators::tensor::U32Tensor; use orion::operators::tensor::core::{TensorTrait}; - use orion_tests::helpers::tensor::u32::u32_tensor_2x2_helper; + use orion::helpers::tensor::u32::u32_tensor_2x2_helper; #[test] @@ -52,7 +52,7 @@ mod tensor_3D { use orion::operators::tensor::U32Tensor; use orion::operators::tensor::core::{TensorTrait}; - use orion_tests::helpers::tensor::u32::u32_tensor_2x2x2_helper; + use orion::helpers::tensor::u32::u32_tensor_2x2x2_helper; #[test] diff --git a/tests/src/tensor_core/unravel_index.cairo b/tests/tensor_core/unravel_index.cairo similarity index 100% rename from tests/src/tensor_core/unravel_index.cairo rename to tests/tensor_core/unravel_index.cairo From d68da4f659732084d442eb54b4cba232ff3a1fb6 Mon Sep 17 00:00:00 2001 From: raphaelDkhn Date: Thu, 26 Oct 2023 15:16:55 +0300 Subject: [PATCH 3/5] fix tests --- Scarb.toml | 5 +---- src/lib.cairo | 1 + tests/helpers.cairo => src/test_helper.cairo | 0 {tests/helpers => src/test_helper}/tensor.cairo | 0 .../test_helper}/tensor/fixed_point.cairo | 0 .../test_helper}/tensor/fixed_point/fp16x16.cairo | 0 .../test_helper}/tensor/fixed_point/fp8x23.cairo | 0 {tests/helpers => src/test_helper}/tensor/i32.cairo | 0 {tests/helpers => src/test_helper}/tensor/i8.cairo | 0 {tests/helpers => src/test_helper}/tensor/u32.cairo | 0 tests/lib.cairo | 13 ++++++------- .../tensor_core/at/at_fp_test/at_fp16x16_test.cairo | 6 +++--- .../tensor_core/at/at_fp_test/at_fp8x23_test.cairo | 6 +++--- tests/tensor_core/at/at_i32_test.cairo | 6 +++--- tests/tensor_core/at/at_u32_test.cairo | 6 +++--- .../flatten_fp_test/flatten_fp16x16_test.cairo | 6 +++--- .../flatten_fp_test/flatten_fp8x23_test.cairo | 6 +++--- tests/tensor_core/flatten/flatten_i32_test.cairo | 6 +++--- tests/tensor_core/flatten/flatten_u32_test.cairo | 6 +++--- .../max/max_fp_test/max_fp16x16_test.cairo | 6 +++--- .../max/max_fp_test/max_fp8x23_test.cairo | 6 +++--- tests/tensor_core/max/max_i32_test.cairo | 6 +++--- tests/tensor_core/max/max_u32_test.cairo | 6 +++--- .../min/min_fp_test/min_fp16x16_test.cairo | 6 +++--- .../min/min_fp_test/min_fp8x23_test.cairo | 6 +++--- tests/tensor_core/min/min_i32_test.cairo | 6 +++--- tests/tensor_core/min/min_u32_test.cairo | 6 +++--- .../onehot/onehot_fp_test/onehot_fp16x16_test.cairo | 2 +- .../onehot/onehot_fp_test/onehot_fp8x23_test.cairo | 2 +- .../stride/stride_fp_test/stride_fp16x16_test.cairo | 6 +++--- .../stride/stride_fp_test/stride_fp8x23_test.cairo | 6 +++--- tests/tensor_core/stride/stride_i32_test.cairo | 6 +++--- tests/tensor_core/stride/stride_u32_test.cairo | 6 +++--- 33 files changed, 70 insertions(+), 73 deletions(-) rename tests/helpers.cairo => src/test_helper.cairo (100%) rename {tests/helpers => src/test_helper}/tensor.cairo (100%) rename {tests/helpers => src/test_helper}/tensor/fixed_point.cairo (100%) rename {tests/helpers => src/test_helper}/tensor/fixed_point/fp16x16.cairo (100%) rename {tests/helpers => src/test_helper}/tensor/fixed_point/fp8x23.cairo (100%) rename {tests/helpers => src/test_helper}/tensor/i32.cairo (100%) rename {tests/helpers => src/test_helper}/tensor/i8.cairo (100%) rename {tests/helpers => src/test_helper}/tensor/u32.cairo (100%) diff --git a/Scarb.toml b/Scarb.toml index 771239a2f..4b258272d 100644 --- a/Scarb.toml +++ b/Scarb.toml @@ -11,7 +11,4 @@ cubit = { git = "https://github.com/raphaelDkhn/cubit.git" } [scripts] sierra = "cairo-compile . -r" docgen = "cd docgen && cargo run" -nodegen = "python3 nodegen/node/__init__.py" - -# [workspace] -# members = ["tests/"] +nodegen = "python3 nodegen/node/__init__.py" \ No newline at end of file diff --git a/src/lib.cairo b/src/lib.cairo index b5fe416e7..c824e3701 100644 --- a/src/lib.cairo +++ b/src/lib.cairo @@ -1,3 +1,4 @@ mod operators; mod numbers; mod utils; +mod test_helper; \ No newline at end of file diff --git a/tests/helpers.cairo b/src/test_helper.cairo similarity index 100% rename from tests/helpers.cairo rename to src/test_helper.cairo diff --git a/tests/helpers/tensor.cairo b/src/test_helper/tensor.cairo similarity index 100% rename from tests/helpers/tensor.cairo rename to src/test_helper/tensor.cairo diff --git a/tests/helpers/tensor/fixed_point.cairo b/src/test_helper/tensor/fixed_point.cairo similarity index 100% rename from tests/helpers/tensor/fixed_point.cairo rename to src/test_helper/tensor/fixed_point.cairo diff --git a/tests/helpers/tensor/fixed_point/fp16x16.cairo b/src/test_helper/tensor/fixed_point/fp16x16.cairo similarity index 100% rename from tests/helpers/tensor/fixed_point/fp16x16.cairo rename to src/test_helper/tensor/fixed_point/fp16x16.cairo diff --git a/tests/helpers/tensor/fixed_point/fp8x23.cairo b/src/test_helper/tensor/fixed_point/fp8x23.cairo similarity index 100% rename from tests/helpers/tensor/fixed_point/fp8x23.cairo rename to src/test_helper/tensor/fixed_point/fp8x23.cairo diff --git a/tests/helpers/tensor/i32.cairo b/src/test_helper/tensor/i32.cairo similarity index 100% rename from tests/helpers/tensor/i32.cairo rename to src/test_helper/tensor/i32.cairo diff --git a/tests/helpers/tensor/i8.cairo b/src/test_helper/tensor/i8.cairo similarity index 100% rename from tests/helpers/tensor/i8.cairo rename to src/test_helper/tensor/i8.cairo diff --git a/tests/helpers/tensor/u32.cairo b/src/test_helper/tensor/u32.cairo similarity index 100% rename from tests/helpers/tensor/u32.cairo rename to src/test_helper/tensor/u32.cairo diff --git a/tests/lib.cairo b/tests/lib.cairo index 110a64286..b8f3c9b96 100644 --- a/tests/lib.cairo +++ b/tests/lib.cairo @@ -1,7 +1,6 @@ -// mod numbers; -// // mod performance; -// // mod tensor_core; -// // mod nodes; -// mod helpers; -// // mod ml; -// // mod operators; +mod numbers; +mod performance; +mod tensor_core; +mod nodes; +mod ml; +mod operators; diff --git a/tests/tensor_core/at/at_fp_test/at_fp16x16_test.cairo b/tests/tensor_core/at/at_fp_test/at_fp16x16_test.cairo index 1be5dd73e..28659968c 100644 --- a/tests/tensor_core/at/at_fp_test/at_fp16x16_test.cairo +++ b/tests/tensor_core/at/at_fp_test/at_fp16x16_test.cairo @@ -5,7 +5,7 @@ mod tensor_1D { use array::ArrayTrait; use orion::operators::tensor::implementations::tensor_fp16x16::FP16x16Tensor; use orion::operators::tensor::core::{TensorTrait}; - use orion::helpers::tensor::fixed_point::fp16x16::fp_tensor_1x3_helper; + use orion::test_helper::tensor::fixed_point::fp16x16::fp_tensor_1x3_helper; use orion::numbers::fixed_point::core::FixedTrait; use orion::numbers::fixed_point::implementations::fp16x16::core::{ FP16x16Impl, FP16x16PartialEq @@ -31,7 +31,7 @@ mod tensor_2D { use array::ArrayTrait; use orion::operators::tensor::implementations::tensor_fp16x16::FP16x16Tensor; use orion::operators::tensor::core::{TensorTrait}; - use orion::helpers::tensor::fixed_point::fp16x16::fp_tensor_2x2_helper; + use orion::test_helper::tensor::fixed_point::fp16x16::fp_tensor_2x2_helper; use orion::numbers::fixed_point::core::FixedTrait; use orion::numbers::fixed_point::implementations::fp16x16::core::{ FP16x16Impl, FP16x16PartialEq @@ -60,7 +60,7 @@ mod tensor_3D { use array::ArrayTrait; use orion::operators::tensor::implementations::tensor_fp16x16::FP16x16Tensor; use orion::operators::tensor::core::{TensorTrait}; - use orion::helpers::tensor::fixed_point::fp16x16::fp_tensor_2x2x2_helper; + use orion::test_helper::tensor::fixed_point::fp16x16::fp_tensor_2x2x2_helper; use orion::numbers::fixed_point::core::FixedTrait; use orion::numbers::fixed_point::implementations::fp16x16::core::{ FP16x16Impl, FP16x16PartialEq diff --git a/tests/tensor_core/at/at_fp_test/at_fp8x23_test.cairo b/tests/tensor_core/at/at_fp_test/at_fp8x23_test.cairo index 04cd3d976..14d9c4c06 100644 --- a/tests/tensor_core/at/at_fp_test/at_fp8x23_test.cairo +++ b/tests/tensor_core/at/at_fp_test/at_fp8x23_test.cairo @@ -5,7 +5,7 @@ mod tensor_1D { use array::ArrayTrait; use orion::operators::tensor::implementations::tensor_fp8x23::FP8x23Tensor; use orion::operators::tensor::core::{TensorTrait}; - use orion::helpers::tensor::fixed_point::fp8x23::fp_tensor_1x3_helper; + use orion::test_helper::tensor::fixed_point::fp8x23::fp_tensor_1x3_helper; use orion::numbers::fixed_point::core::FixedTrait; use orion::numbers::fixed_point::implementations::fp8x23::core::{FP8x23Impl, FP8x23PartialEq}; @@ -29,7 +29,7 @@ mod tensor_2D { use array::ArrayTrait; use orion::operators::tensor::implementations::tensor_fp8x23::FP8x23Tensor; use orion::operators::tensor::core::{TensorTrait}; - use orion::helpers::tensor::fixed_point::fp8x23::fp_tensor_2x2_helper; + use orion::test_helper::tensor::fixed_point::fp8x23::fp_tensor_2x2_helper; use orion::numbers::fixed_point::core::FixedTrait; use orion::numbers::fixed_point::implementations::fp8x23::core::{FP8x23Impl, FP8x23PartialEq}; @@ -56,7 +56,7 @@ mod tensor_3D { use array::ArrayTrait; use orion::operators::tensor::implementations::tensor_fp8x23::FP8x23Tensor; use orion::operators::tensor::core::{TensorTrait}; - use orion::helpers::tensor::fixed_point::fp8x23::fp_tensor_2x2x2_helper; + use orion::test_helper::tensor::fixed_point::fp8x23::fp_tensor_2x2x2_helper; use orion::numbers::fixed_point::core::FixedTrait; use orion::numbers::fixed_point::implementations::fp8x23::core::{FP8x23Impl, FP8x23PartialEq}; diff --git a/tests/tensor_core/at/at_i32_test.cairo b/tests/tensor_core/at/at_i32_test.cairo index 0e0c5c7fe..82f8c0c23 100644 --- a/tests/tensor_core/at/at_i32_test.cairo +++ b/tests/tensor_core/at/at_i32_test.cairo @@ -5,7 +5,7 @@ mod tensor_1D { use array::ArrayTrait; use orion::operators::tensor::I32Tensor; use orion::operators::tensor::core::{TensorTrait}; - use orion::helpers::tensor::i32::i32_tensor_1x3_helper; + use orion::test_helper::tensor::i32::i32_tensor_1x3_helper; #[test] @@ -28,7 +28,7 @@ mod tensor_2D { use array::ArrayTrait; use orion::operators::tensor::I32Tensor; use orion::operators::tensor::core::{TensorTrait}; - use orion::helpers::tensor::i32::i32_tensor_2x2_helper; + use orion::test_helper::tensor::i32::i32_tensor_2x2_helper; #[test] @@ -53,7 +53,7 @@ mod tensor_3D { use array::ArrayTrait; use orion::operators::tensor::I32Tensor; use orion::operators::tensor::core::{TensorTrait}; - use orion::helpers::tensor::i32::i32_tensor_2x2x2_helper; + use orion::test_helper::tensor::i32::i32_tensor_2x2x2_helper; #[test] diff --git a/tests/tensor_core/at/at_u32_test.cairo b/tests/tensor_core/at/at_u32_test.cairo index 53fa07e35..4621437b2 100644 --- a/tests/tensor_core/at/at_u32_test.cairo +++ b/tests/tensor_core/at/at_u32_test.cairo @@ -5,7 +5,7 @@ mod tensor_1D { use array::ArrayTrait; use orion::operators::tensor::U32Tensor; use orion::operators::tensor::core::{TensorTrait}; - use orion::helpers::tensor::u32::u32_tensor_1x3_helper; + use orion::test_helper::tensor::u32::u32_tensor_1x3_helper; #[test] @@ -28,7 +28,7 @@ mod tensor_2D { use array::ArrayTrait; use orion::operators::tensor::U32Tensor; use orion::operators::tensor::core::{TensorTrait}; - use orion::helpers::tensor::u32::u32_tensor_2x2_helper; + use orion::test_helper::tensor::u32::u32_tensor_2x2_helper; #[test] @@ -53,7 +53,7 @@ mod tensor_3D { use array::ArrayTrait; use orion::operators::tensor::U32Tensor; use orion::operators::tensor::core::{TensorTrait}; - use orion::helpers::tensor::u32::u32_tensor_2x2x2_helper; + use orion::test_helper::tensor::u32::u32_tensor_2x2x2_helper; #[test] diff --git a/tests/tensor_core/flatten/flatten_fp_test/flatten_fp16x16_test.cairo b/tests/tensor_core/flatten/flatten_fp_test/flatten_fp16x16_test.cairo index c52e14ef8..82a934874 100644 --- a/tests/tensor_core/flatten/flatten_fp_test/flatten_fp16x16_test.cairo +++ b/tests/tensor_core/flatten/flatten_fp_test/flatten_fp16x16_test.cairo @@ -4,7 +4,7 @@ mod tensor_1D { use core::traits::Into; use orion::operators::tensor::implementations::tensor_fp16x16::FP16x16Tensor; - use orion::helpers::tensor::fixed_point::fp16x16::fp_tensor_1x3_helper; + use orion::test_helper::tensor::fixed_point::fp16x16::fp_tensor_1x3_helper; use orion::operators::tensor::core::TensorTrait; #[test] @@ -24,7 +24,7 @@ mod tensor_1D { mod tensor_2D { use core::traits::Into; use orion::operators::tensor::implementations::tensor_fp16x16::FP16x16Tensor; - use orion::helpers::tensor::fixed_point::fp16x16::fp_tensor_2x2_helper; + use orion::test_helper::tensor::fixed_point::fp16x16::fp_tensor_2x2_helper; use orion::operators::tensor::core::TensorTrait; #[test] @@ -53,7 +53,7 @@ mod tensor_2D { mod tensor_3D { use core::traits::Into; use orion::operators::tensor::implementations::tensor_fp16x16::FP16x16Tensor; - use orion::helpers::tensor::fixed_point::fp16x16::fp_tensor_2x2x2_helper; + use orion::test_helper::tensor::fixed_point::fp16x16::fp_tensor_2x2x2_helper; use orion::operators::tensor::core::TensorTrait; #[test] diff --git a/tests/tensor_core/flatten/flatten_fp_test/flatten_fp8x23_test.cairo b/tests/tensor_core/flatten/flatten_fp_test/flatten_fp8x23_test.cairo index d1a253e48..0492294f9 100644 --- a/tests/tensor_core/flatten/flatten_fp_test/flatten_fp8x23_test.cairo +++ b/tests/tensor_core/flatten/flatten_fp_test/flatten_fp8x23_test.cairo @@ -4,7 +4,7 @@ mod tensor_1D { use core::traits::Into; use orion::operators::tensor::implementations::tensor_fp8x23::FP8x23Tensor; - use orion::helpers::tensor::fixed_point::fp8x23::fp_tensor_1x3_helper; + use orion::test_helper::tensor::fixed_point::fp8x23::fp_tensor_1x3_helper; use orion::operators::tensor::core::TensorTrait; #[test] @@ -24,7 +24,7 @@ mod tensor_1D { mod tensor_2D { use core::traits::Into; use orion::operators::tensor::implementations::tensor_fp8x23::FP8x23Tensor; - use orion::helpers::tensor::fixed_point::fp8x23::fp_tensor_2x2_helper; + use orion::test_helper::tensor::fixed_point::fp8x23::fp_tensor_2x2_helper; use orion::operators::tensor::core::TensorTrait; #[test] @@ -53,7 +53,7 @@ mod tensor_2D { mod tensor_3D { use core::traits::Into; use orion::operators::tensor::implementations::tensor_fp8x23::FP8x23Tensor; - use orion::helpers::tensor::fixed_point::fp8x23::fp_tensor_2x2x2_helper; + use orion::test_helper::tensor::fixed_point::fp8x23::fp_tensor_2x2x2_helper; use orion::operators::tensor::core::TensorTrait; #[test] diff --git a/tests/tensor_core/flatten/flatten_i32_test.cairo b/tests/tensor_core/flatten/flatten_i32_test.cairo index a42f4645f..638f2164e 100644 --- a/tests/tensor_core/flatten/flatten_i32_test.cairo +++ b/tests/tensor_core/flatten/flatten_i32_test.cairo @@ -7,7 +7,7 @@ mod tensor_1D { use orion::operators::tensor::I32Tensor; use orion::operators::tensor::core::{TensorTrait}; - use orion::helpers::tensor::i32::i32_tensor_1x3_helper; + use orion::test_helper::tensor::i32::i32_tensor_1x3_helper; #[test] #[available_gas(200000)] @@ -29,7 +29,7 @@ mod tensor_2D { use orion::operators::tensor::I32Tensor; use orion::operators::tensor::core::{TensorTrait}; - use orion::helpers::tensor::i32::i32_tensor_2x2_helper; + use orion::test_helper::tensor::i32::i32_tensor_2x2_helper; #[test] #[available_gas(200000)] @@ -60,7 +60,7 @@ mod tensor_3D { use orion::operators::tensor::I32Tensor; use orion::operators::tensor::core::{TensorTrait}; - use orion::helpers::tensor::i32::i32_tensor_2x2x2_helper; + use orion::test_helper::tensor::i32::i32_tensor_2x2x2_helper; #[test] diff --git a/tests/tensor_core/flatten/flatten_u32_test.cairo b/tests/tensor_core/flatten/flatten_u32_test.cairo index a28171ad0..9bce3de60 100644 --- a/tests/tensor_core/flatten/flatten_u32_test.cairo +++ b/tests/tensor_core/flatten/flatten_u32_test.cairo @@ -7,7 +7,7 @@ mod tensor_1D { use orion::operators::tensor::U32Tensor; use orion::operators::tensor::core::{TensorTrait}; - use orion::helpers::tensor::u32::u32_tensor_1x3_helper; + use orion::test_helper::tensor::u32::u32_tensor_1x3_helper; #[test] #[available_gas(200000)] @@ -29,7 +29,7 @@ mod tensor_2D { use orion::operators::tensor::U32Tensor; use orion::operators::tensor::core::{TensorTrait}; - use orion::helpers::tensor::u32::u32_tensor_2x2_helper; + use orion::test_helper::tensor::u32::u32_tensor_2x2_helper; #[test] #[available_gas(200000)] @@ -60,7 +60,7 @@ mod tensor_3D { use orion::operators::tensor::U32Tensor; use orion::operators::tensor::core::{TensorTrait}; - use orion::helpers::tensor::u32::u32_tensor_2x2x2_helper; + use orion::test_helper::tensor::u32::u32_tensor_2x2x2_helper; #[test] diff --git a/tests/tensor_core/max/max_fp_test/max_fp16x16_test.cairo b/tests/tensor_core/max/max_fp_test/max_fp16x16_test.cairo index 97e3b711b..160fb29b7 100644 --- a/tests/tensor_core/max/max_fp_test/max_fp16x16_test.cairo +++ b/tests/tensor_core/max/max_fp_test/max_fp16x16_test.cairo @@ -4,7 +4,7 @@ mod tensor_1D { use orion::operators::tensor::implementations::tensor_fp16x16::FP16x16Tensor; use orion::operators::tensor::core::TensorTrait; - use orion::helpers::tensor::fixed_point::fp16x16::fp_tensor_1x3_helper; + use orion::test_helper::tensor::fixed_point::fp16x16::fp_tensor_1x3_helper; use orion::numbers::fixed_point::implementations::fp16x16::core::FP16x16; use orion::numbers::fixed_point::core::{FixedTrait}; @@ -24,7 +24,7 @@ mod tensor_1D { mod tensor_2D { use orion::operators::tensor::implementations::tensor_fp16x16::FP16x16Tensor; use orion::operators::tensor::core::TensorTrait; - use orion::helpers::tensor::fixed_point::fp16x16::fp_tensor_2x2_helper; + use orion::test_helper::tensor::fixed_point::fp16x16::fp_tensor_2x2_helper; use orion::numbers::fixed_point::implementations::fp16x16::core::FP16x16; use orion::numbers::fixed_point::core::{FixedTrait}; @@ -45,7 +45,7 @@ mod tensor_2D { mod tensor_3D { use orion::operators::tensor::implementations::tensor_fp16x16::FP16x16Tensor; use orion::operators::tensor::core::TensorTrait; - use orion::helpers::tensor::fixed_point::fp16x16::fp_tensor_2x2x2_helper; + use orion::test_helper::tensor::fixed_point::fp16x16::fp_tensor_2x2x2_helper; use orion::numbers::fixed_point::implementations::fp16x16::core::FP16x16; use orion::numbers::fixed_point::core::{FixedTrait}; diff --git a/tests/tensor_core/max/max_fp_test/max_fp8x23_test.cairo b/tests/tensor_core/max/max_fp_test/max_fp8x23_test.cairo index 3c8ee2b5a..2ff1b744c 100644 --- a/tests/tensor_core/max/max_fp_test/max_fp8x23_test.cairo +++ b/tests/tensor_core/max/max_fp_test/max_fp8x23_test.cairo @@ -4,7 +4,7 @@ mod tensor_1D { use orion::operators::tensor::implementations::tensor_fp8x23::FP8x23Tensor; use orion::operators::tensor::core::TensorTrait; - use orion::helpers::tensor::fixed_point::fp8x23::fp_tensor_1x3_helper; + use orion::test_helper::tensor::fixed_point::fp8x23::fp_tensor_1x3_helper; use orion::numbers::fixed_point::implementations::fp8x23::core::FP8x23; use orion::numbers::fixed_point::core::{FixedTrait}; @@ -24,7 +24,7 @@ mod tensor_1D { mod tensor_2D { use orion::operators::tensor::implementations::tensor_fp8x23::FP8x23Tensor; use orion::operators::tensor::core::TensorTrait; - use orion::helpers::tensor::fixed_point::fp8x23::fp_tensor_2x2_helper; + use orion::test_helper::tensor::fixed_point::fp8x23::fp_tensor_2x2_helper; use orion::numbers::fixed_point::implementations::fp8x23::core::FP8x23; use orion::numbers::fixed_point::core::{FixedTrait}; @@ -45,7 +45,7 @@ mod tensor_2D { mod tensor_3D { use orion::operators::tensor::implementations::tensor_fp8x23::FP8x23Tensor; use orion::operators::tensor::core::TensorTrait; - use orion::helpers::tensor::fixed_point::fp8x23::fp_tensor_2x2x2_helper; + use orion::test_helper::tensor::fixed_point::fp8x23::fp_tensor_2x2x2_helper; use orion::numbers::fixed_point::implementations::fp8x23::core::FP8x23; use orion::numbers::fixed_point::core::{FixedTrait}; diff --git a/tests/tensor_core/max/max_i32_test.cairo b/tests/tensor_core/max/max_i32_test.cairo index 5b39271cc..3e67df42c 100644 --- a/tests/tensor_core/max/max_i32_test.cairo +++ b/tests/tensor_core/max/max_i32_test.cairo @@ -4,7 +4,7 @@ mod tensor_1D { use orion::operators::tensor::I32Tensor; use orion::operators::tensor::core::TensorTrait; - use orion::helpers::tensor::i32::i32_tensor_1x3_helper; + use orion::test_helper::tensor::i32::i32_tensor_1x3_helper; #[test] #[available_gas(2000000)] @@ -22,7 +22,7 @@ mod tensor_1D { mod tensor_2D { use orion::operators::tensor::I32Tensor; use orion::operators::tensor::core::TensorTrait; - use orion::helpers::tensor::i32::i32_tensor_2x2_helper; + use orion::test_helper::tensor::i32::i32_tensor_2x2_helper; #[test] #[available_gas(2000000)] @@ -40,7 +40,7 @@ mod tensor_2D { mod tensor_3D { use orion::operators::tensor::I32Tensor; use orion::operators::tensor::core::TensorTrait; - use orion::helpers::tensor::i32::i32_tensor_2x2x2_helper; + use orion::test_helper::tensor::i32::i32_tensor_2x2x2_helper; #[test] #[available_gas(2000000)] diff --git a/tests/tensor_core/max/max_u32_test.cairo b/tests/tensor_core/max/max_u32_test.cairo index dec7dd3a8..a3ee99018 100644 --- a/tests/tensor_core/max/max_u32_test.cairo +++ b/tests/tensor_core/max/max_u32_test.cairo @@ -4,7 +4,7 @@ mod tensor_1D { use orion::operators::tensor::U32Tensor; use orion::operators::tensor::core::TensorTrait; - use orion::helpers::tensor::u32::u32_tensor_1x3_helper; + use orion::test_helper::tensor::u32::u32_tensor_1x3_helper; #[test] #[available_gas(2000000)] @@ -22,7 +22,7 @@ mod tensor_1D { mod tensor_2D { use orion::operators::tensor::U32Tensor; use orion::operators::tensor::core::TensorTrait; - use orion::helpers::tensor::u32::u32_tensor_2x2_helper; + use orion::test_helper::tensor::u32::u32_tensor_2x2_helper; #[test] #[available_gas(2000000)] @@ -40,7 +40,7 @@ mod tensor_2D { mod tensor_3D { use orion::operators::tensor::U32Tensor; use orion::operators::tensor::core::TensorTrait; - use orion::helpers::tensor::u32::u32_tensor_2x2x2_helper; + use orion::test_helper::tensor::u32::u32_tensor_2x2x2_helper; #[test] #[available_gas(2000000)] diff --git a/tests/tensor_core/min/min_fp_test/min_fp16x16_test.cairo b/tests/tensor_core/min/min_fp_test/min_fp16x16_test.cairo index 22dc01342..80245e1aa 100644 --- a/tests/tensor_core/min/min_fp_test/min_fp16x16_test.cairo +++ b/tests/tensor_core/min/min_fp_test/min_fp16x16_test.cairo @@ -4,7 +4,7 @@ mod tensor_1D { use orion::operators::tensor::implementations::tensor_fp16x16::FP16x16Tensor; use orion::operators::tensor::core::TensorTrait; - use orion::helpers::tensor::fixed_point::fp16x16::fp_tensor_1x3_helper; + use orion::test_helper::tensor::fixed_point::fp16x16::fp_tensor_1x3_helper; use orion::numbers::fixed_point::implementations::fp16x16::core::FP16x16Impl; use orion::numbers::fixed_point::core::{FixedTrait}; @@ -24,7 +24,7 @@ mod tensor_1D { mod tensor_2D { use orion::operators::tensor::implementations::tensor_fp16x16::FP16x16Tensor; use orion::operators::tensor::core::TensorTrait; - use orion::helpers::tensor::fixed_point::fp16x16::fp_tensor_2x2_helper; + use orion::test_helper::tensor::fixed_point::fp16x16::fp_tensor_2x2_helper; use orion::numbers::fixed_point::implementations::fp16x16::core::FP16x16Impl; use orion::numbers::fixed_point::core::{FixedTrait}; @@ -45,7 +45,7 @@ mod tensor_2D { mod tensor_3D { use orion::operators::tensor::implementations::tensor_fp16x16::FP16x16Tensor; use orion::operators::tensor::core::TensorTrait; - use orion::helpers::tensor::fixed_point::fp16x16::fp_tensor_2x2x2_helper; + use orion::test_helper::tensor::fixed_point::fp16x16::fp_tensor_2x2x2_helper; use orion::numbers::fixed_point::implementations::fp16x16::core::FP16x16Impl; use orion::numbers::fixed_point::core::{FixedTrait}; diff --git a/tests/tensor_core/min/min_fp_test/min_fp8x23_test.cairo b/tests/tensor_core/min/min_fp_test/min_fp8x23_test.cairo index 411df930c..31748f6b3 100644 --- a/tests/tensor_core/min/min_fp_test/min_fp8x23_test.cairo +++ b/tests/tensor_core/min/min_fp_test/min_fp8x23_test.cairo @@ -4,7 +4,7 @@ mod tensor_1D { use orion::operators::tensor::implementations::tensor_fp8x23::FP8x23Tensor; use orion::operators::tensor::core::TensorTrait; - use orion::helpers::tensor::fixed_point::fp8x23::fp_tensor_1x3_helper; + use orion::test_helper::tensor::fixed_point::fp8x23::fp_tensor_1x3_helper; use orion::numbers::fixed_point::implementations::fp8x23::core::FP8x23Impl; use orion::numbers::fixed_point::core::{FixedTrait}; @@ -24,7 +24,7 @@ mod tensor_1D { mod tensor_2D { use orion::operators::tensor::implementations::tensor_fp8x23::FP8x23Tensor; use orion::operators::tensor::core::TensorTrait; - use orion::helpers::tensor::fixed_point::fp8x23::fp_tensor_2x2_helper; + use orion::test_helper::tensor::fixed_point::fp8x23::fp_tensor_2x2_helper; use orion::numbers::fixed_point::implementations::fp8x23::core::FP8x23Impl; use orion::numbers::fixed_point::core::{FixedTrait}; @@ -45,7 +45,7 @@ mod tensor_2D { mod tensor_3D { use orion::operators::tensor::implementations::tensor_fp8x23::FP8x23Tensor; use orion::operators::tensor::core::TensorTrait; - use orion::helpers::tensor::fixed_point::fp8x23::fp_tensor_2x2x2_helper; + use orion::test_helper::tensor::fixed_point::fp8x23::fp_tensor_2x2x2_helper; use orion::numbers::fixed_point::implementations::fp8x23::core::FP8x23Impl; use orion::numbers::fixed_point::core::{FixedTrait}; diff --git a/tests/tensor_core/min/min_i32_test.cairo b/tests/tensor_core/min/min_i32_test.cairo index 754d54df3..768a55ae4 100644 --- a/tests/tensor_core/min/min_i32_test.cairo +++ b/tests/tensor_core/min/min_i32_test.cairo @@ -4,7 +4,7 @@ mod tensor_1D { use orion::operators::tensor::I32Tensor; use orion::operators::tensor::core::TensorTrait; - use orion::helpers::tensor::i32::i32_tensor_1x3_helper; + use orion::test_helper::tensor::i32::i32_tensor_1x3_helper; #[test] #[available_gas(2000000)] @@ -22,7 +22,7 @@ mod tensor_1D { mod tensor_2D { use orion::operators::tensor::I32Tensor; use orion::operators::tensor::core::TensorTrait; - use orion::helpers::tensor::i32::i32_tensor_2x2_helper; + use orion::test_helper::tensor::i32::i32_tensor_2x2_helper; #[test] #[available_gas(2000000)] @@ -40,7 +40,7 @@ mod tensor_2D { mod tensor_3D { use orion::operators::tensor::I32Tensor; use orion::operators::tensor::core::TensorTrait; - use orion::helpers::tensor::i32::i32_tensor_2x2x2_helper; + use orion::test_helper::tensor::i32::i32_tensor_2x2x2_helper; #[test] #[available_gas(2000000)] diff --git a/tests/tensor_core/min/min_u32_test.cairo b/tests/tensor_core/min/min_u32_test.cairo index 64e78306d..16ec4ad99 100644 --- a/tests/tensor_core/min/min_u32_test.cairo +++ b/tests/tensor_core/min/min_u32_test.cairo @@ -4,7 +4,7 @@ mod tensor_1D { use orion::operators::tensor::U32Tensor; use orion::operators::tensor::core::TensorTrait; - use orion::helpers::tensor::u32::u32_tensor_1x3_helper; + use orion::test_helper::tensor::u32::u32_tensor_1x3_helper; #[test] #[available_gas(2000000)] @@ -22,7 +22,7 @@ mod tensor_1D { mod tensor_2D { use orion::operators::tensor::U32Tensor; use orion::operators::tensor::core::TensorTrait; - use orion::helpers::tensor::u32::u32_tensor_2x2_helper; + use orion::test_helper::tensor::u32::u32_tensor_2x2_helper; #[test] #[available_gas(2000000)] @@ -40,7 +40,7 @@ mod tensor_2D { mod tensor_3D { use orion::operators::tensor::U32Tensor; use orion::operators::tensor::core::TensorTrait; - use orion::helpers::tensor::u32::u32_tensor_2x2x2_helper; + use orion::test_helper::tensor::u32::u32_tensor_2x2x2_helper; #[test] #[available_gas(2000000)] diff --git a/tests/tensor_core/onehot/onehot_fp_test/onehot_fp16x16_test.cairo b/tests/tensor_core/onehot/onehot_fp_test/onehot_fp16x16_test.cairo index 91eccd6ef..afdfd899f 100644 --- a/tests/tensor_core/onehot/onehot_fp_test/onehot_fp16x16_test.cairo +++ b/tests/tensor_core/onehot/onehot_fp_test/onehot_fp16x16_test.cairo @@ -11,7 +11,7 @@ mod tensor_1D { use orion::numbers::fixed_point::core::{FixedTrait}; use orion::numbers::fixed_point::implementations::fp16x16::core::{FP16x16, FP16x16PartialEq}; use orion::operators::tensor::implementations::tensor_fp16x16::FP16x16Tensor; - use orion::helpers::tensor::fixed_point::fp16x16::{ + use orion::test_helper::tensor::fixed_point::fp16x16::{ fp_tensor_1x3_helper, fp_tensor_2x2_helper, fp_tensor_3x2x2_neg_helper, fp_tensor_1x3_neg_helper, fp_tensor_2x2x2_helper }; diff --git a/tests/tensor_core/onehot/onehot_fp_test/onehot_fp8x23_test.cairo b/tests/tensor_core/onehot/onehot_fp_test/onehot_fp8x23_test.cairo index 24041de8c..29484e7f5 100644 --- a/tests/tensor_core/onehot/onehot_fp_test/onehot_fp8x23_test.cairo +++ b/tests/tensor_core/onehot/onehot_fp_test/onehot_fp8x23_test.cairo @@ -12,7 +12,7 @@ mod tensor_1D { use orion::numbers::fixed_point::implementations::fp8x23::core::{FP8x23, FP8x23PartialEq}; use orion::operators::tensor::implementations::tensor_fp8x23::FP8x23Tensor; use orion::operators::tensor::core::TensorTrait; - use orion::helpers::tensor::fixed_point::fp8x23::{ + use orion::test_helper::tensor::fixed_point::fp8x23::{ fp_tensor_1x3_helper, fp_tensor_2x2_helper, fp_tensor_3x2x2_neg_helper, fp_tensor_1x3_neg_helper, fp_tensor_2x2x2_helper }; diff --git a/tests/tensor_core/stride/stride_fp_test/stride_fp16x16_test.cairo b/tests/tensor_core/stride/stride_fp_test/stride_fp16x16_test.cairo index 6187aa42f..266a619a6 100644 --- a/tests/tensor_core/stride/stride_fp_test/stride_fp16x16_test.cairo +++ b/tests/tensor_core/stride/stride_fp_test/stride_fp16x16_test.cairo @@ -7,7 +7,7 @@ mod tensor_1D { use orion::operators::tensor::implementations::tensor_fp16x16::FP16x16Tensor; use orion::operators::tensor::core::{TensorTrait}; - use orion::helpers::tensor::fixed_point::fp16x16::fp_tensor_1x3_helper; + use orion::test_helper::tensor::fixed_point::fp16x16::fp_tensor_1x3_helper; #[test] @@ -29,7 +29,7 @@ mod tensor_2D { use orion::operators::tensor::implementations::tensor_fp16x16::FP16x16Tensor; use orion::operators::tensor::core::{TensorTrait}; - use orion::helpers::tensor::fixed_point::fp16x16::fp_tensor_2x2_helper; + use orion::test_helper::tensor::fixed_point::fp16x16::fp_tensor_2x2_helper; #[test] @@ -52,7 +52,7 @@ mod tensor_3D { use orion::operators::tensor::implementations::tensor_fp16x16::FP16x16Tensor; use orion::operators::tensor::core::{TensorTrait}; - use orion::helpers::tensor::fixed_point::fp16x16::fp_tensor_2x2x2_helper; + use orion::test_helper::tensor::fixed_point::fp16x16::fp_tensor_2x2x2_helper; #[test] diff --git a/tests/tensor_core/stride/stride_fp_test/stride_fp8x23_test.cairo b/tests/tensor_core/stride/stride_fp_test/stride_fp8x23_test.cairo index c233f53e8..d7769c23a 100644 --- a/tests/tensor_core/stride/stride_fp_test/stride_fp8x23_test.cairo +++ b/tests/tensor_core/stride/stride_fp_test/stride_fp8x23_test.cairo @@ -7,7 +7,7 @@ mod tensor_1D { use orion::operators::tensor::implementations::tensor_fp8x23::FP8x23Tensor; use orion::operators::tensor::core::{TensorTrait}; - use orion::helpers::tensor::fixed_point::fp8x23::fp_tensor_1x3_helper; + use orion::test_helper::tensor::fixed_point::fp8x23::fp_tensor_1x3_helper; #[test] @@ -29,7 +29,7 @@ mod tensor_2D { use orion::operators::tensor::implementations::tensor_fp8x23::FP8x23Tensor; use orion::operators::tensor::core::{TensorTrait}; - use orion::helpers::tensor::fixed_point::fp8x23::fp_tensor_2x2_helper; + use orion::test_helper::tensor::fixed_point::fp8x23::fp_tensor_2x2_helper; #[test] @@ -52,7 +52,7 @@ mod tensor_3D { use orion::operators::tensor::implementations::tensor_fp8x23::FP8x23Tensor; use orion::operators::tensor::core::{TensorTrait}; - use orion::helpers::tensor::fixed_point::fp8x23::fp_tensor_2x2x2_helper; + use orion::test_helper::tensor::fixed_point::fp8x23::fp_tensor_2x2x2_helper; #[test] diff --git a/tests/tensor_core/stride/stride_i32_test.cairo b/tests/tensor_core/stride/stride_i32_test.cairo index b8bd293e6..66ed6c171 100644 --- a/tests/tensor_core/stride/stride_i32_test.cairo +++ b/tests/tensor_core/stride/stride_i32_test.cairo @@ -7,7 +7,7 @@ mod tensor_1D { use orion::operators::tensor::I32Tensor; use orion::operators::tensor::core::{TensorTrait}; - use orion::helpers::tensor::i32::i32_tensor_1x3_helper; + use orion::test_helper::tensor::i32::i32_tensor_1x3_helper; #[test] @@ -29,7 +29,7 @@ mod tensor_2D { use orion::operators::tensor::I32Tensor; use orion::operators::tensor::core::{TensorTrait}; - use orion::helpers::tensor::i32::i32_tensor_2x2_helper; + use orion::test_helper::tensor::i32::i32_tensor_2x2_helper; #[test] @@ -52,7 +52,7 @@ mod tensor_3D { use orion::operators::tensor::I32Tensor; use orion::operators::tensor::core::{TensorTrait}; - use orion::helpers::tensor::i32::i32_tensor_2x2x2_helper; + use orion::test_helper::tensor::i32::i32_tensor_2x2x2_helper; #[test] diff --git a/tests/tensor_core/stride/stride_u32_test.cairo b/tests/tensor_core/stride/stride_u32_test.cairo index 76398a7b7..ca7f9a9eb 100644 --- a/tests/tensor_core/stride/stride_u32_test.cairo +++ b/tests/tensor_core/stride/stride_u32_test.cairo @@ -7,7 +7,7 @@ mod tensor_1D { use orion::operators::tensor::U32Tensor; use orion::operators::tensor::core::{TensorTrait}; - use orion::helpers::tensor::u32::u32_tensor_1x3_helper; + use orion::test_helper::tensor::u32::u32_tensor_1x3_helper; #[test] @@ -29,7 +29,7 @@ mod tensor_2D { use orion::operators::tensor::U32Tensor; use orion::operators::tensor::core::{TensorTrait}; - use orion::helpers::tensor::u32::u32_tensor_2x2_helper; + use orion::test_helper::tensor::u32::u32_tensor_2x2_helper; #[test] @@ -52,7 +52,7 @@ mod tensor_3D { use orion::operators::tensor::U32Tensor; use orion::operators::tensor::core::{TensorTrait}; - use orion::helpers::tensor::u32::u32_tensor_2x2x2_helper; + use orion::test_helper::tensor::u32::u32_tensor_2x2x2_helper; #[test] From 92b15c8484a7f279c7fd68ef4292f81a60bd8b4e Mon Sep 17 00:00:00 2001 From: raphaelDkhn Date: Thu, 26 Oct 2023 15:17:24 +0300 Subject: [PATCH 4/5] Update test.yaml --- .github/workflows/test.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 26e6c25a1..8c68ba96d 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -9,5 +9,5 @@ jobs: - uses: actions/checkout@v3 - uses: software-mansion/setup-scarb@v1 with: - scarb-version: "0.7.0" + scarb-version: "2.3.0" - run: scarb test --workspace && scarb fmt --workspace \ No newline at end of file From 114cdfcd5529be9de66daf82ac1e1fd6ca7cf944 Mon Sep 17 00:00:00 2001 From: raphaelDkhn Date: Thu, 26 Oct 2023 15:19:21 +0300 Subject: [PATCH 5/5] format code --- src/lib.cairo | 2 +- src/numbers/fixed_point/implementations.cairo | 2 +- .../implementations/fp16x16wide/core.cairo | 8 +- .../implementations/fp16x16wide/helpers.cairo | 4 +- .../fp16x16wide/math/core.cairo | 617 +++++++++--------- .../fp16x16wide/math/hyp.cairo | 173 +++-- .../implementations/fp8x23/math/comp.cairo | 1 - .../implementations/fp8x23wide/core.cairo | 8 +- .../implementations/fp8x23wide/helpers.cairo | 4 +- .../fp8x23wide/math/trig.cairo | 365 ++++++----- src/numbers/fixed_point/utils.cairo | 42 +- src/operators/ml/tree_classifier.cairo | 2 +- src/operators/ml/tree_classifier/core.cairo | 20 +- src/operators/ml/tree_regressor/core.cairo | 8 +- src/operators/ml/xgboost_regressor.cairo | 2 +- src/operators/ml/xgboost_regressor/core.cairo | 4 +- .../xgboost_regressor_fp16x16.cairo | 4 +- .../xgboost_regressor_fp32x32.cairo | 4 +- .../xgboost_regressor_fp64x64.cairo | 4 +- src/operators/nn/functional.cairo | 2 +- src/operators/nn/functional/gemm.cairo | 4 +- .../nn/functional/hard_sigmoid.cairo | 4 +- src/operators/nn/functional/leaky_relu.cairo | 4 +- src/operators/nn/functional/logsoftmax.cairo | 2 +- src/operators/nn/functional/relu.cairo | 4 +- src/operators/nn/functional/sigmoid.cairo | 4 +- src/operators/nn/functional/softplus.cairo | 4 +- src/operators/nn/functional/softsign.cairo | 4 +- .../nn/functional/thresholded_relu.cairo | 4 +- src/operators/tensor/core.cairo | 101 +-- src/operators/tensor/helpers.cairo | 60 +- src/operators/tensor/implementations.cairo | 2 +- .../implementations/tensor_fp16x16.cairo | 3 +- .../implementations/tensor_fp16x16wide.cairo | 1 - .../implementations/tensor_fp32x32.cairo | 3 +- .../implementations/tensor_fp64x64.cairo | 3 +- .../implementations/tensor_fp8x23.cairo | 3 +- .../implementations/tensor_fp8x23wide.cairo | 1 - .../tensor/implementations/tensor_i32.cairo | 3 +- .../tensor/implementations/tensor_i8.cairo | 3 +- .../tensor/implementations/tensor_u32.cairo | 3 +- src/operators/tensor/linalg/matmul.cairo | 20 +- src/operators/tensor/math/abs.cairo | 8 +- src/operators/tensor/math/acos.cairo | 8 +- src/operators/tensor/math/acosh.cairo | 8 +- src/operators/tensor/math/argmax.cairo | 22 +- src/operators/tensor/math/argmin.cairo | 22 +- src/operators/tensor/math/arithmetic.cairo | 32 +- src/operators/tensor/math/asin.cairo | 8 +- src/operators/tensor/math/asinh.cairo | 8 +- src/operators/tensor/math/atan.cairo | 8 +- src/operators/tensor/math/ceil.cairo | 8 +- src/operators/tensor/math/concat.cairo | 28 +- src/operators/tensor/math/cos.cairo | 8 +- src/operators/tensor/math/cosh.cairo | 8 +- src/operators/tensor/math/exp.cairo | 16 +- src/operators/tensor/math/flatten.cairo | 4 +- src/operators/tensor/math/gather.cairo | 24 +- src/operators/tensor/math/log.cairo | 8 +- src/operators/tensor/math/max.cairo | 4 +- src/operators/tensor/math/min.cairo | 4 +- src/operators/tensor/math/neg.cairo | 8 +- src/operators/tensor/math/onehot.cairo | 17 +- src/operators/tensor/math/reduce_sum.cairo | 8 +- src/operators/tensor/math/sign.cairo | 8 +- src/operators/tensor/math/sin.cairo | 8 +- src/operators/tensor/math/sinh.cairo | 8 +- src/operators/tensor/math/sqrt.cairo | 8 +- src/operators/tensor/math/tanh.cairo | 8 +- .../quantization/dequantize_linear.cairo | 4 +- .../tensor/quantization/quantize_linear.cairo | 4 +- tests/ml/tree_regressor.cairo | 3 +- tests/nodes.cairo | 60 +- tests/nodes/and_fp16x16.cairo | 8 +- tests/nodes/and_fp16x16/input_0.cairo | 2 +- tests/nodes/and_fp16x16/input_1.cairo | 2 +- tests/nodes/and_fp16x16/output_0.cairo | 2 +- tests/nodes/and_fp16x16_broadcast.cairo | 8 +- .../nodes/and_fp16x16_broadcast/input_0.cairo | 2 +- .../nodes/and_fp16x16_broadcast/input_1.cairo | 2 +- .../and_fp16x16_broadcast/output_0.cairo | 2 +- tests/nodes/and_fp8x23.cairo | 8 +- tests/nodes/and_fp8x23/input_0.cairo | 2 +- tests/nodes/and_fp8x23/input_1.cairo | 2 +- tests/nodes/and_fp8x23/output_0.cairo | 2 +- tests/nodes/and_fp8x23_broadcast.cairo | 8 +- .../nodes/and_fp8x23_broadcast/input_0.cairo | 2 +- .../nodes/and_fp8x23_broadcast/input_1.cairo | 2 +- .../nodes/and_fp8x23_broadcast/output_0.cairo | 2 +- tests/nodes/and_i32.cairo | 8 +- tests/nodes/and_i32/input_0.cairo | 2 +- tests/nodes/and_i32/input_1.cairo | 2 +- tests/nodes/and_i32/output_0.cairo | 2 +- tests/nodes/and_i32_broadcast.cairo | 8 +- tests/nodes/and_i32_broadcast/input_0.cairo | 2 +- tests/nodes/and_i32_broadcast/input_1.cairo | 2 +- tests/nodes/and_i32_broadcast/output_0.cairo | 2 +- tests/nodes/and_i8.cairo | 8 +- tests/nodes/and_i8/input_0.cairo | 2 +- tests/nodes/and_i8/input_1.cairo | 2 +- tests/nodes/and_i8/output_0.cairo | 2 +- tests/nodes/and_i8_broadcast.cairo | 8 +- tests/nodes/and_i8_broadcast/input_0.cairo | 2 +- tests/nodes/and_i8_broadcast/input_1.cairo | 2 +- tests/nodes/and_i8_broadcast/output_0.cairo | 2 +- tests/nodes/and_u32.cairo | 8 +- tests/nodes/and_u32/input_0.cairo | 2 +- tests/nodes/and_u32/input_1.cairo | 2 +- tests/nodes/and_u32/output_0.cairo | 2 +- tests/nodes/and_u32_broadcast.cairo | 8 +- tests/nodes/and_u32_broadcast/input_0.cairo | 2 +- tests/nodes/and_u32_broadcast/input_1.cairo | 2 +- tests/nodes/and_u32_broadcast/output_0.cairo | 2 +- tests/nodes/gemm_all_attributes/input_0.cairo | 2 +- tests/nodes/gemm_all_attributes/input_1.cairo | 2 +- tests/nodes/gemm_all_attributes/input_2.cairo | 2 +- .../nodes/gemm_all_attributes/output_0.cairo | 2 +- tests/nodes/gemm_alpha.cairo | 18 +- tests/nodes/gemm_alpha/input_0.cairo | 2 +- tests/nodes/gemm_alpha/input_1.cairo | 2 +- tests/nodes/gemm_alpha/output_0.cairo | 2 +- tests/nodes/gemm_beta.cairo | 20 +- tests/nodes/gemm_beta/input_0.cairo | 2 +- tests/nodes/gemm_beta/input_1.cairo | 2 +- tests/nodes/gemm_beta/input_2.cairo | 2 +- tests/nodes/gemm_beta/output_0.cairo | 2 +- tests/nodes/gemm_default_matrix_bias.cairo | 14 +- .../gemm_default_matrix_bias/input_0.cairo | 2 +- .../gemm_default_matrix_bias/input_1.cairo | 2 +- .../gemm_default_matrix_bias/input_2.cairo | 2 +- .../gemm_default_matrix_bias/output_0.cairo | 2 +- tests/nodes/gemm_default_no_bias.cairo | 12 +- .../nodes/gemm_default_no_bias/input_0.cairo | 2 +- .../nodes/gemm_default_no_bias/input_1.cairo | 2 +- .../nodes/gemm_default_no_bias/output_0.cairo | 2 +- tests/nodes/gemm_default_vector_bias.cairo | 14 +- .../gemm_default_vector_bias/input_0.cairo | 2 +- .../gemm_default_vector_bias/input_1.cairo | 2 +- .../gemm_default_vector_bias/input_2.cairo | 2 +- .../gemm_default_vector_bias/output_0.cairo | 2 +- tests/nodes/gemm_transposeA.cairo | 12 +- tests/nodes/gemm_transposeA/input_0.cairo | 2 +- tests/nodes/gemm_transposeA/input_1.cairo | 2 +- tests/nodes/gemm_transposeA/output_0.cairo | 2 +- tests/nodes/gemm_transposeB.cairo | 12 +- tests/nodes/gemm_transposeB/input_0.cairo | 2 +- tests/nodes/gemm_transposeB/input_1.cairo | 2 +- tests/nodes/gemm_transposeB/output_0.cairo | 2 +- tests/nodes/hard_sigmoid_fp16x16.cairo | 10 +- .../nodes/hard_sigmoid_fp16x16/input_0.cairo | 2 +- .../nodes/hard_sigmoid_fp16x16/output_0.cairo | 2 +- tests/nodes/hard_sigmoid_fp8x23.cairo | 8 +- tests/nodes/hard_sigmoid_fp8x23/input_0.cairo | 2 +- .../nodes/hard_sigmoid_fp8x23/output_0.cairo | 2 +- tests/nodes/identity_fP16x16.cairo | 8 +- tests/nodes/identity_fP16x16/input_0.cairo | 2 +- tests/nodes/identity_fP16x16/output_0.cairo | 2 +- tests/nodes/identity_fP8x23.cairo | 6 +- tests/nodes/identity_fP8x23/input_0.cairo | 2 +- tests/nodes/identity_fP8x23/output_0.cairo | 2 +- tests/nodes/identity_i32.cairo | 6 +- tests/nodes/identity_i32/input_0.cairo | 2 +- tests/nodes/identity_i32/output_0.cairo | 2 +- tests/nodes/identity_i8.cairo | 6 +- tests/nodes/identity_i8/input_0.cairo | 2 +- tests/nodes/identity_i8/output_0.cairo | 2 +- tests/nodes/identity_u32.cairo | 6 +- tests/nodes/identity_u32/input_0.cairo | 2 +- tests/nodes/identity_u32/output_0.cairo | 2 +- tests/nodes/neg_fp16x16.cairo | 6 +- tests/nodes/neg_fp16x16/input_0.cairo | 2 +- tests/nodes/neg_fp16x16/output_0.cairo | 2 +- tests/nodes/neg_fp8x23.cairo | 6 +- tests/nodes/neg_fp8x23/input_0.cairo | 2 +- tests/nodes/neg_fp8x23/output_0.cairo | 2 +- tests/nodes/neg_i32.cairo | 6 +- tests/nodes/neg_i32/input_0.cairo | 2 +- tests/nodes/neg_i32/output_0.cairo | 2 +- tests/nodes/neg_i8.cairo | 6 +- tests/nodes/neg_i8/input_0.cairo | 2 +- tests/nodes/neg_i8/output_0.cairo | 2 +- tests/nodes/thresholded_relu_fp16x16.cairo | 6 +- .../thresholded_relu_fp16x16/input_0.cairo | 2 +- .../thresholded_relu_fp16x16/output_0.cairo | 2 +- tests/nodes/thresholded_relu_fp8x23.cairo | 6 +- .../thresholded_relu_fp8x23/input_0.cairo | 2 +- .../thresholded_relu_fp8x23/output_0.cairo | 2 +- tests/operators.cairo | 2 +- tests/operators/transpose_test.cairo | 18 +- 189 files changed, 1065 insertions(+), 1287 deletions(-) diff --git a/src/lib.cairo b/src/lib.cairo index c824e3701..2a8a99208 100644 --- a/src/lib.cairo +++ b/src/lib.cairo @@ -1,4 +1,4 @@ mod operators; mod numbers; mod utils; -mod test_helper; \ No newline at end of file +mod test_helper; diff --git a/src/numbers/fixed_point/implementations.cairo b/src/numbers/fixed_point/implementations.cairo index d7617f9c8..312b920e1 100644 --- a/src/numbers/fixed_point/implementations.cairo +++ b/src/numbers/fixed_point/implementations.cairo @@ -3,4 +3,4 @@ mod fp16x16; mod fp64x64; mod fp32x32; mod fp16x16wide; -mod fp8x23wide; \ No newline at end of file +mod fp8x23wide; diff --git a/src/numbers/fixed_point/implementations/fp16x16wide/core.cairo b/src/numbers/fixed_point/implementations/fp16x16wide/core.cairo index f12b96d9b..f04f4e690 100644 --- a/src/numbers/fixed_point/implementations/fp16x16wide/core.cairo +++ b/src/numbers/fixed_point/implementations/fp16x16wide/core.cairo @@ -220,12 +220,8 @@ impl FP16x16IntoFP16x16W of Into { impl FP16x16WTryIntoFP16x16 of TryInto { fn try_into(self: FP16x16W) -> Option { match self.mag.try_into() { - Option::Some(val) => { - Option::Some(FP16x16 { mag: val, sign: self.sign }) - }, - Option::None(_) => { - Option::None(()) - } + Option::Some(val) => { Option::Some(FP16x16 { mag: val, sign: self.sign }) }, + Option::None(_) => { Option::None(()) } } } } diff --git a/src/numbers/fixed_point/implementations/fp16x16wide/helpers.cairo b/src/numbers/fixed_point/implementations/fp16x16wide/helpers.cairo index c2a65e156..a36f52be1 100644 --- a/src/numbers/fixed_point/implementations/fp16x16wide/helpers.cairo +++ b/src/numbers/fixed_point/implementations/fp16x16wide/helpers.cairo @@ -9,7 +9,9 @@ const DEFAULT_PRECISION: u64 = 7; // 1e-4 // To use `DEFAULT_PRECISION`, final arg is: `Option::None(())`. // To use `custom_precision` of 430_u32: `Option::Some(430_u32)`. -fn assert_precise(result: FP16x16W, expected: felt252, msg: felt252, custom_precision: Option) { +fn assert_precise( + result: FP16x16W, expected: felt252, msg: felt252, custom_precision: Option +) { let precision = match custom_precision { Option::Some(val) => val, Option::None(_) => DEFAULT_PRECISION, diff --git a/src/numbers/fixed_point/implementations/fp16x16wide/math/core.cairo b/src/numbers/fixed_point/implementations/fp16x16wide/math/core.cairo index 87d4e699b..21f8b2cc8 100644 --- a/src/numbers/fixed_point/implementations/fp16x16wide/math/core.cairo +++ b/src/numbers/fixed_point/implementations/fp16x16wide/math/core.cairo @@ -294,377 +294,374 @@ fn sign(a: FP16x16W) -> FP16x16W { #[cfg(test)] mod tests { - - -use orion::numbers::fixed_point::implementations::fp16x16wide::helpers::{ - assert_precise, assert_relative -}; -use orion::numbers::fixed_point::implementations::fp16x16wide::math::trig::{PI, HALF_PI}; + use orion::numbers::fixed_point::implementations::fp16x16wide::helpers::{ + assert_precise, assert_relative + }; + use orion::numbers::fixed_point::implementations::fp16x16wide::math::trig::{PI, HALF_PI}; use super::{ - FixedTrait, ONE, FP16x16W, ceil, floor, sqrt, round, lut, pow, exp, exp2, exp2_int, ln, log2, - log10, eq, add, ne, HALF + FixedTrait, ONE, FP16x16W, ceil, floor, sqrt, round, lut, pow, exp, exp2, exp2_int, ln, + log2, log10, eq, add, ne, HALF }; -#[test] -fn test_into() { - let a = FixedTrait::::new_unscaled(5, false); - assert(a.mag == 5 * ONE, 'invalid result'); -} + #[test] + fn test_into() { + let a = FixedTrait::::new_unscaled(5, false); + assert(a.mag == 5 * ONE, 'invalid result'); + } -#[test] -fn test_try_into_u128() { - // Positive unscaled - let a = FixedTrait::::new_unscaled(5, false); - assert(a.try_into().unwrap() == 5_u128, 'invalid result'); + #[test] + fn test_try_into_u128() { + // Positive unscaled + let a = FixedTrait::::new_unscaled(5, false); + assert(a.try_into().unwrap() == 5_u128, 'invalid result'); - // Positive scaled - let b = FixedTrait::::new(5 * ONE, false); - assert(b.try_into().unwrap() == 5_u128, 'invalid result'); + // Positive scaled + let b = FixedTrait::::new(5 * ONE, false); + assert(b.try_into().unwrap() == 5_u128, 'invalid result'); - // Zero - let d = FixedTrait::::new_unscaled(0, false); - assert(d.try_into().unwrap() == 0_u128, 'invalid result'); -} + // Zero + let d = FixedTrait::::new_unscaled(0, false); + assert(d.try_into().unwrap() == 0_u128, 'invalid result'); + } -#[test] -#[should_panic] -fn test_negative_try_into_u128() { - let a = FixedTrait::::new_unscaled(1, true); - let a: u128 = a.try_into().unwrap(); -} + #[test] + #[should_panic] + fn test_negative_try_into_u128() { + let a = FixedTrait::::new_unscaled(1, true); + let a: u128 = a.try_into().unwrap(); + } -#[test] -#[available_gas(1000000)] -fn test_acos() { - let a = FixedTrait::::ONE(); - assert(a.acos().into() == 0, 'invalid one'); -} + #[test] + #[available_gas(1000000)] + fn test_acos() { + let a = FixedTrait::::ONE(); + assert(a.acos().into() == 0, 'invalid one'); + } -#[test] -#[available_gas(1000000)] -fn test_asin() { - let a = FixedTrait::ONE(); - assert_precise(a.asin(), HALF_PI.into(), 'invalid one', Option::None(())); // PI / 2 -} + #[test] + #[available_gas(1000000)] + fn test_asin() { + let a = FixedTrait::ONE(); + assert_precise(a.asin(), HALF_PI.into(), 'invalid one', Option::None(())); // PI / 2 + } -#[test] -#[available_gas(2000000)] -fn test_atan() { - let a = FixedTrait::new(2 * ONE, false); - assert_relative(a.atan(), 72558, 'invalid two', Option::None(())); -} + #[test] + #[available_gas(2000000)] + fn test_atan() { + let a = FixedTrait::new(2 * ONE, false); + assert_relative(a.atan(), 72558, 'invalid two', Option::None(())); + } -#[test] -fn test_ceil() { - let a = FixedTrait::new(190054, false); // 2.9 - assert(ceil(a).mag == 3 * ONE, 'invalid pos decimal'); -} + #[test] + fn test_ceil() { + let a = FixedTrait::new(190054, false); // 2.9 + assert(ceil(a).mag == 3 * ONE, 'invalid pos decimal'); + } -#[test] -fn test_floor() { - let a = FixedTrait::new(190054, false); // 2.9 - assert(floor(a).mag == 2 * ONE, 'invalid pos decimal'); -} + #[test] + fn test_floor() { + let a = FixedTrait::new(190054, false); // 2.9 + assert(floor(a).mag == 2 * ONE, 'invalid pos decimal'); + } -#[test] -fn test_round() { - let a = FixedTrait::new(190054, false); // 2.9 - assert(round(a).mag == 3 * ONE, 'invalid pos decimal'); -} + #[test] + fn test_round() { + let a = FixedTrait::new(190054, false); // 2.9 + assert(round(a).mag == 3 * ONE, 'invalid pos decimal'); + } -#[test] -#[should_panic] -fn test_sqrt_fail() { - let a = FixedTrait::new_unscaled(25, true); - sqrt(a); -} + #[test] + #[should_panic] + fn test_sqrt_fail() { + let a = FixedTrait::new_unscaled(25, true); + sqrt(a); + } -#[test] -fn test_sqrt() { - let mut a = FixedTrait::new_unscaled(0, false); - assert(sqrt(a).mag == 0, 'invalid zero root'); - a = FixedTrait::new_unscaled(25, false); - assert(sqrt(a).mag == 5 * ONE, 'invalid pos root'); -} + #[test] + fn test_sqrt() { + let mut a = FixedTrait::new_unscaled(0, false); + assert(sqrt(a).mag == 0, 'invalid zero root'); + a = FixedTrait::new_unscaled(25, false); + assert(sqrt(a).mag == 5 * ONE, 'invalid pos root'); + } -#[test] -#[available_gas(100000)] -fn test_msb() { - let a = FixedTrait::::new_unscaled(100, false); - let (msb, div) = lut::msb(a.mag / ONE); - assert(msb == 6, 'invalid msb'); - assert(div == 64, 'invalid msb ceil'); -} + #[test] + #[available_gas(100000)] + fn test_msb() { + let a = FixedTrait::::new_unscaled(100, false); + let (msb, div) = lut::msb(a.mag / ONE); + assert(msb == 6, 'invalid msb'); + assert(div == 64, 'invalid msb ceil'); + } -#[test] -#[available_gas(600000)] -fn test_pow() { - let a = FixedTrait::new_unscaled(3, false); - let b = FixedTrait::new_unscaled(4, false); - assert(pow(a, b).mag == 81 * ONE, 'invalid pos base power'); -} + #[test] + #[available_gas(600000)] + fn test_pow() { + let a = FixedTrait::new_unscaled(3, false); + let b = FixedTrait::new_unscaled(4, false); + assert(pow(a, b).mag == 81 * ONE, 'invalid pos base power'); + } -#[test] -#[available_gas(900000)] -fn test_pow_frac() { - let a = FixedTrait::new_unscaled(3, false); - let b = FixedTrait::new(32768, false); // 0.5 - assert_relative( - pow(a, b), 113512, 'invalid pos base power', Option::None(()) - ); // 1.7320508075688772 -} + #[test] + #[available_gas(900000)] + fn test_pow_frac() { + let a = FixedTrait::new_unscaled(3, false); + let b = FixedTrait::new(32768, false); // 0.5 + assert_relative( + pow(a, b), 113512, 'invalid pos base power', Option::None(()) + ); // 1.7320508075688772 + } -#[test] -#[available_gas(1000000)] -fn test_exp() { - let a = FixedTrait::new_unscaled(2, false); - assert_relative(exp(a), 484249, 'invalid exp of 2', Option::None(())); // 7.389056098793725 -} + #[test] + #[available_gas(1000000)] + fn test_exp() { + let a = FixedTrait::new_unscaled(2, false); + assert_relative(exp(a), 484249, 'invalid exp of 2', Option::None(())); // 7.389056098793725 + } -#[test] -#[available_gas(400000)] -fn test_exp2() { - let a = FixedTrait::new_unscaled(5, false); - assert(exp2(a).mag == 2097152, 'invalid exp2 of 2'); -} + #[test] + #[available_gas(400000)] + fn test_exp2() { + let a = FixedTrait::new_unscaled(5, false); + assert(exp2(a).mag == 2097152, 'invalid exp2 of 2'); + } -#[test] -#[available_gas(20000)] -fn test_exp2_int() { - assert(exp2_int(5).into() == 2097152, 'invalid exp2 of 2'); -} + #[test] + #[available_gas(20000)] + fn test_exp2_int() { + assert(exp2_int(5).into() == 2097152, 'invalid exp2 of 2'); + } -#[test] -#[available_gas(1000000)] -fn test_ln() { - let mut a = FixedTrait::new_unscaled(1, false); - assert(ln(a).mag == 0, 'invalid ln of 1'); + #[test] + #[available_gas(1000000)] + fn test_ln() { + let mut a = FixedTrait::new_unscaled(1, false); + assert(ln(a).mag == 0, 'invalid ln of 1'); - a = FixedTrait::new(178145, false); - assert_relative(ln(a), ONE.into(), 'invalid ln of 2.7...', Option::None(())); -} + a = FixedTrait::new(178145, false); + assert_relative(ln(a), ONE.into(), 'invalid ln of 2.7...', Option::None(())); + } -#[test] -#[available_gas(1000000)] -fn test_log2() { - let mut a = FixedTrait::new_unscaled(32, false); - assert(log2(a) == FixedTrait::new_unscaled(5, false), 'invalid log2 32'); + #[test] + #[available_gas(1000000)] + fn test_log2() { + let mut a = FixedTrait::new_unscaled(32, false); + assert(log2(a) == FixedTrait::new_unscaled(5, false), 'invalid log2 32'); - a = FixedTrait::new_unscaled(10, false); - assert_relative(log2(a), 217706, 'invalid log2 10', Option::None(())); // 3.321928094887362 -} + a = FixedTrait::new_unscaled(10, false); + assert_relative(log2(a), 217706, 'invalid log2 10', Option::None(())); // 3.321928094887362 + } -#[test] -#[available_gas(1000000)] -fn test_log10() { - let a = FixedTrait::new_unscaled(100, false); - assert_relative(log10(a), 2 * ONE.into(), 'invalid log10', Option::None(())); -} + #[test] + #[available_gas(1000000)] + fn test_log10() { + let a = FixedTrait::new_unscaled(100, false); + assert_relative(log10(a), 2 * ONE.into(), 'invalid log10', Option::None(())); + } -#[test] -fn test_eq() { - let a = FixedTrait::new_unscaled(42, false); - let b = FixedTrait::new_unscaled(42, false); - let c = eq(@a, @b); - assert(c == true, 'invalid result'); -} + #[test] + fn test_eq() { + let a = FixedTrait::new_unscaled(42, false); + let b = FixedTrait::new_unscaled(42, false); + let c = eq(@a, @b); + assert(c == true, 'invalid result'); + } -#[test] -fn test_ne() { - let a = FixedTrait::new_unscaled(42, false); - let b = FixedTrait::new_unscaled(42, false); - let c = ne(@a, @b); - assert(c == false, 'invalid result'); -} + #[test] + fn test_ne() { + let a = FixedTrait::new_unscaled(42, false); + let b = FixedTrait::new_unscaled(42, false); + let c = ne(@a, @b); + assert(c == false, 'invalid result'); + } -#[test] -fn test_add() { - let a = FixedTrait::new_unscaled(1, false); - let b = FixedTrait::new_unscaled(2, false); - assert(add(a, b) == FixedTrait::new_unscaled(3, false), 'invalid result'); -} + #[test] + fn test_add() { + let a = FixedTrait::new_unscaled(1, false); + let b = FixedTrait::new_unscaled(2, false); + assert(add(a, b) == FixedTrait::new_unscaled(3, false), 'invalid result'); + } -#[test] -fn test_add_eq() { - let mut a = FixedTrait::new_unscaled(1, false); - let b = FixedTrait::new_unscaled(2, false); - a += b; - assert(a == FixedTrait::::new_unscaled(3, false), 'invalid result'); -} + #[test] + fn test_add_eq() { + let mut a = FixedTrait::new_unscaled(1, false); + let b = FixedTrait::new_unscaled(2, false); + a += b; + assert(a == FixedTrait::::new_unscaled(3, false), 'invalid result'); + } -#[test] -fn test_sub() { - let a = FixedTrait::new_unscaled(5, false); - let b = FixedTrait::new_unscaled(2, false); - let c = a - b; - assert(c == FixedTrait::::new_unscaled(3, false), 'false result invalid'); -} + #[test] + fn test_sub() { + let a = FixedTrait::new_unscaled(5, false); + let b = FixedTrait::new_unscaled(2, false); + let c = a - b; + assert(c == FixedTrait::::new_unscaled(3, false), 'false result invalid'); + } -#[test] -fn test_sub_eq() { - let mut a = FixedTrait::new_unscaled(5, false); - let b = FixedTrait::new_unscaled(2, false); - a -= b; - assert(a == FixedTrait::::new_unscaled(3, false), 'invalid result'); -} + #[test] + fn test_sub_eq() { + let mut a = FixedTrait::new_unscaled(5, false); + let b = FixedTrait::new_unscaled(2, false); + a -= b; + assert(a == FixedTrait::::new_unscaled(3, false), 'invalid result'); + } -#[test] -#[available_gas(100000)] -fn test_mul_pos() { - let a = FP16x16W { mag: 190054, sign: false }; - let b = FP16x16W { mag: 190054, sign: false }; - let c = a * b; - assert(c.mag == 551155, 'invalid result'); -} + #[test] + #[available_gas(100000)] + fn test_mul_pos() { + let a = FP16x16W { mag: 190054, sign: false }; + let b = FP16x16W { mag: 190054, sign: false }; + let c = a * b; + assert(c.mag == 551155, 'invalid result'); + } -#[test] -fn test_mul_neg() { - let a = FixedTrait::new_unscaled(5, false); - let b = FixedTrait::new_unscaled(2, true); - let c = a * b; - assert(c == FixedTrait::::new_unscaled(10, true), 'invalid result'); -} + #[test] + fn test_mul_neg() { + let a = FixedTrait::new_unscaled(5, false); + let b = FixedTrait::new_unscaled(2, true); + let c = a * b; + assert(c == FixedTrait::::new_unscaled(10, true), 'invalid result'); + } -#[test] -fn test_mul_eq() { - let mut a = FixedTrait::new_unscaled(5, false); - let b = FixedTrait::new_unscaled(2, true); - a *= b; - assert(a == FixedTrait::::new_unscaled(10, true), 'invalid result'); -} + #[test] + fn test_mul_eq() { + let mut a = FixedTrait::new_unscaled(5, false); + let b = FixedTrait::new_unscaled(2, true); + a *= b; + assert(a == FixedTrait::::new_unscaled(10, true), 'invalid result'); + } -#[test] -fn test_div() { - let a = FixedTrait::new_unscaled(10, false); - let b = FixedTrait::::new(190054, false); // 2.9 - let c = a / b; - assert(c.mag == 225986, 'invalid pos decimal'); // 3.4482758620689653 -} + #[test] + fn test_div() { + let a = FixedTrait::new_unscaled(10, false); + let b = FixedTrait::::new(190054, false); // 2.9 + let c = a / b; + assert(c.mag == 225986, 'invalid pos decimal'); // 3.4482758620689653 + } -#[test] -fn test_le() { - let a = FixedTrait::new_unscaled(1, false); - let b = FixedTrait::new_unscaled(0, false); - let c = FixedTrait::::new_unscaled(1, true); + #[test] + fn test_le() { + let a = FixedTrait::new_unscaled(1, false); + let b = FixedTrait::new_unscaled(0, false); + let c = FixedTrait::::new_unscaled(1, true); - assert(a <= a, 'a <= a'); - assert(a <= b == false, 'a <= b'); - assert(a <= c == false, 'a <= c'); + assert(a <= a, 'a <= a'); + assert(a <= b == false, 'a <= b'); + assert(a <= c == false, 'a <= c'); - assert(b <= a, 'b <= a'); - assert(b <= b, 'b <= b'); - assert(b <= c == false, 'b <= c'); + assert(b <= a, 'b <= a'); + assert(b <= b, 'b <= b'); + assert(b <= c == false, 'b <= c'); - assert(c <= a, 'c <= a'); - assert(c <= b, 'c <= b'); - assert(c <= c, 'c <= c'); -} + assert(c <= a, 'c <= a'); + assert(c <= b, 'c <= b'); + assert(c <= c, 'c <= c'); + } -#[test] -fn test_lt() { - let a = FixedTrait::new_unscaled(1, false); - let b = FixedTrait::new_unscaled(0, false); - let c = FixedTrait::::new_unscaled(1, true); + #[test] + fn test_lt() { + let a = FixedTrait::new_unscaled(1, false); + let b = FixedTrait::new_unscaled(0, false); + let c = FixedTrait::::new_unscaled(1, true); - assert(a < a == false, 'a < a'); - assert(a < b == false, 'a < b'); - assert(a < c == false, 'a < c'); + assert(a < a == false, 'a < a'); + assert(a < b == false, 'a < b'); + assert(a < c == false, 'a < c'); - assert(b < a, 'b < a'); - assert(b < b == false, 'b < b'); - assert(b < c == false, 'b < c'); + assert(b < a, 'b < a'); + assert(b < b == false, 'b < b'); + assert(b < c == false, 'b < c'); - assert(c < a, 'c < a'); - assert(c < b, 'c < b'); - assert(c < c == false, 'c < c'); -} + assert(c < a, 'c < a'); + assert(c < b, 'c < b'); + assert(c < c == false, 'c < c'); + } -#[test] -fn test_ge() { - let a = FixedTrait::new_unscaled(1, false); - let b = FixedTrait::new_unscaled(0, false); - let c = FixedTrait::::new_unscaled(1, true); + #[test] + fn test_ge() { + let a = FixedTrait::new_unscaled(1, false); + let b = FixedTrait::new_unscaled(0, false); + let c = FixedTrait::::new_unscaled(1, true); - assert(a >= a, 'a >= a'); - assert(a >= b, 'a >= b'); - assert(a >= c, 'a >= c'); + assert(a >= a, 'a >= a'); + assert(a >= b, 'a >= b'); + assert(a >= c, 'a >= c'); - assert(b >= a == false, 'b >= a'); - assert(b >= b, 'b >= b'); - assert(b >= c, 'b >= c'); + assert(b >= a == false, 'b >= a'); + assert(b >= b, 'b >= b'); + assert(b >= c, 'b >= c'); - assert(c >= a == false, 'c >= a'); - assert(c >= b == false, 'c >= b'); - assert(c >= c, 'c >= c'); -} + assert(c >= a == false, 'c >= a'); + assert(c >= b == false, 'c >= b'); + assert(c >= c, 'c >= c'); + } -#[test] -fn test_gt() { - let a = FixedTrait::new_unscaled(1, false); - let b = FixedTrait::new_unscaled(0, false); - let c = FixedTrait::::new_unscaled(1, true); + #[test] + fn test_gt() { + let a = FixedTrait::new_unscaled(1, false); + let b = FixedTrait::new_unscaled(0, false); + let c = FixedTrait::::new_unscaled(1, true); - assert(a > a == false, 'a > a'); - assert(a > b, 'a > b'); - assert(a > c, 'a > c'); + assert(a > a == false, 'a > a'); + assert(a > b, 'a > b'); + assert(a > c, 'a > c'); - assert(b > a == false, 'b > a'); - assert(b > b == false, 'b > b'); - assert(b > c, 'b > c'); + assert(b > a == false, 'b > a'); + assert(b > b == false, 'b > b'); + assert(b > c, 'b > c'); - assert(c > a == false, 'c > a'); - assert(c > b == false, 'c > b'); - assert(c > c == false, 'c > c'); -} + assert(c > a == false, 'c > a'); + assert(c > b == false, 'c > b'); + assert(c > c == false, 'c > c'); + } -#[test] -#[available_gas(1000000)] -fn test_cos() { - let a = FixedTrait::::new(HALF_PI, false); - assert(a.cos().into() == 0, 'invalid half pi'); -} + #[test] + #[available_gas(1000000)] + fn test_cos() { + let a = FixedTrait::::new(HALF_PI, false); + assert(a.cos().into() == 0, 'invalid half pi'); + } -#[test] -#[available_gas(1000000)] -fn test_sin() { - let a = FixedTrait::new(HALF_PI, false); - assert_precise(a.sin(), ONE.into(), 'invalid half pi', Option::None(())); -} + #[test] + #[available_gas(1000000)] + fn test_sin() { + let a = FixedTrait::new(HALF_PI, false); + assert_precise(a.sin(), ONE.into(), 'invalid half pi', Option::None(())); + } -#[test] -#[available_gas(2000000)] -fn test_tan() { - let a = FixedTrait::::new(HALF_PI / 2, false); - assert(a.tan().mag == 65536, 'invalid quarter pi'); -} + #[test] + #[available_gas(2000000)] + fn test_tan() { + let a = FixedTrait::::new(HALF_PI / 2, false); + assert(a.tan().mag == 65536, 'invalid quarter pi'); + } -#[test] -#[available_gas(2000000)] -fn test_sign() { - let a = FixedTrait::::new(0, false); - assert(a.sign().mag == 0 && !a.sign().sign, 'invalid sign (0, true)'); + #[test] + #[available_gas(2000000)] + fn test_sign() { + let a = FixedTrait::::new(0, false); + assert(a.sign().mag == 0 && !a.sign().sign, 'invalid sign (0, true)'); - let a = FixedTrait::::new(HALF, true); - assert(a.sign().mag == ONE && a.sign().sign, 'invalid sign (HALF, true)'); + let a = FixedTrait::::new(HALF, true); + assert(a.sign().mag == ONE && a.sign().sign, 'invalid sign (HALF, true)'); - let a = FixedTrait::::new(HALF, false); - assert(a.sign().mag == ONE && !a.sign().sign, 'invalid sign (HALF, false)'); + let a = FixedTrait::::new(HALF, false); + assert(a.sign().mag == ONE && !a.sign().sign, 'invalid sign (HALF, false)'); - let a = FixedTrait::::new(ONE, true); - assert(a.sign().mag == ONE && a.sign().sign, 'invalid sign (ONE, true)'); + let a = FixedTrait::::new(ONE, true); + assert(a.sign().mag == ONE && a.sign().sign, 'invalid sign (ONE, true)'); - let a = FixedTrait::::new(ONE, false); - assert(a.sign().mag == ONE && !a.sign().sign, 'invalid sign (ONE, false)'); -} + let a = FixedTrait::::new(ONE, false); + assert(a.sign().mag == ONE && !a.sign().sign, 'invalid sign (ONE, false)'); + } -#[test] -#[should_panic] -#[available_gas(2000000)] -fn test_sign_fail() { - let a = FixedTrait::::new(HALF, true); - assert(a.sign().mag != ONE && !a.sign().sign, 'invalid sign (HALF, true)'); + #[test] + #[should_panic] + #[available_gas(2000000)] + fn test_sign_fail() { + let a = FixedTrait::::new(HALF, true); + assert(a.sign().mag != ONE && !a.sign().sign, 'invalid sign (HALF, true)'); + } } - -} \ No newline at end of file diff --git a/src/numbers/fixed_point/implementations/fp16x16wide/math/hyp.cairo b/src/numbers/fixed_point/implementations/fp16x16wide/math/hyp.cairo index 2949b0e84..8ab228449 100644 --- a/src/numbers/fixed_point/implementations/fp16x16wide/math/hyp.cairo +++ b/src/numbers/fixed_point/implementations/fp16x16wide/math/hyp.cairo @@ -1,8 +1,8 @@ use core::debug::PrintTrait; use orion::numbers::fixed_point::implementations::fp16x16wide::core::{ HALF, ONE, TWO, FP16x16W, FP16x16WImpl, FP16x16WAdd, FP16x16WAddEq, FP16x16WSub, FP16x16WMul, - FP16x16WMulEq, FP16x16WTryIntoU128, FP16x16WPartialEq, FP16x16WPartialOrd, FP16x16WSubEq, FP16x16WNeg, - FP16x16WDiv, FP16x16WIntoFelt252, FixedTrait + FP16x16WMulEq, FP16x16WTryIntoU128, FP16x16WPartialEq, FP16x16WPartialOrd, FP16x16WSubEq, + FP16x16WNeg, FP16x16WDiv, FP16x16WIntoFelt252, FixedTrait }; // Calculates hyperbolic cosine of a (fixed point) @@ -47,122 +47,119 @@ fn atanh(a: FP16x16W) -> FP16x16W { #[cfg(test)] mod tests { + use option::OptionTrait; + use traits::Into; - -use option::OptionTrait; -use traits::Into; - -use orion::numbers::fixed_point::implementations::fp16x16wide::helpers::assert_precise; + use orion::numbers::fixed_point::implementations::fp16x16wide::helpers::assert_precise; use super::{FixedTrait, TWO, cosh, ONE, sinh, tanh, acosh, asinh, atanh, HALF}; -#[test] -#[available_gas(10000000)] -fn test_cosh() { - let a = FixedTrait::new(TWO, false); - assert_precise(cosh(a), 246550, 'invalid two', Option::None(())); // 3.5954653836066 + #[test] + #[available_gas(10000000)] + fn test_cosh() { + let a = FixedTrait::new(TWO, false); + assert_precise(cosh(a), 246550, 'invalid two', Option::None(())); // 3.5954653836066 - let a = FixedTrait::ONE(); - assert_precise(cosh(a), 101127, 'invalid one', Option::None(())); // 1.42428174592510 + let a = FixedTrait::ONE(); + assert_precise(cosh(a), 101127, 'invalid one', Option::None(())); // 1.42428174592510 - let a = FixedTrait::ZERO(); - assert_precise(cosh(a), ONE.into(), 'invalid zero', Option::None(())); + let a = FixedTrait::ZERO(); + assert_precise(cosh(a), ONE.into(), 'invalid zero', Option::None(())); - let a = FixedTrait::ONE(); - assert_precise(cosh(a), 101127, 'invalid neg one', Option::None(())); // 1.42428174592510 + let a = FixedTrait::ONE(); + assert_precise(cosh(a), 101127, 'invalid neg one', Option::None(())); // 1.42428174592510 - let a = FixedTrait::new(TWO, true); - assert_precise(cosh(a), 246568, 'invalid neg two', Option::None(())); // 3.5954653836066 -} + let a = FixedTrait::new(TWO, true); + assert_precise(cosh(a), 246568, 'invalid neg two', Option::None(())); // 3.5954653836066 + } -#[test] -#[available_gas(10000000)] -fn test_sinh() { - let a = FixedTrait::new(TWO, false); - assert_precise(sinh(a), 237681, 'invalid two', Option::None(())); // 3.48973469357602 + #[test] + #[available_gas(10000000)] + fn test_sinh() { + let a = FixedTrait::new(TWO, false); + assert_precise(sinh(a), 237681, 'invalid two', Option::None(())); // 3.48973469357602 - let a = FixedTrait::ONE(); - assert_precise(sinh(a), 77018, 'invalid one', Option::None(())); // 1.13687593250230 + let a = FixedTrait::ONE(); + assert_precise(sinh(a), 77018, 'invalid one', Option::None(())); // 1.13687593250230 - let a = FixedTrait::ZERO(); - assert(sinh(a).into() == 0, 'invalid zero'); + let a = FixedTrait::ZERO(); + assert(sinh(a).into() == 0, 'invalid zero'); - let a = FixedTrait::new(ONE, true); - assert_precise(sinh(a), -77018, 'invalid neg one', Option::None(())); // -1.13687593250230 + let a = FixedTrait::new(ONE, true); + assert_precise(sinh(a), -77018, 'invalid neg one', Option::None(())); // -1.13687593250230 - let a = FixedTrait::new(TWO, true); - assert_precise(sinh(a), -237699, 'invalid neg two', Option::None(())); // -3.48973469357602 -} + let a = FixedTrait::new(TWO, true); + assert_precise(sinh(a), -237699, 'invalid neg two', Option::None(())); // -3.48973469357602 + } -#[test] -#[available_gas(10000000)] -fn test_tanh() { - let a = FixedTrait::new(TWO, false); - assert_precise(tanh(a), 63179, 'invalid two', Option::None(())); // 0.75314654693321 + #[test] + #[available_gas(10000000)] + fn test_tanh() { + let a = FixedTrait::new(TWO, false); + assert_precise(tanh(a), 63179, 'invalid two', Option::None(())); // 0.75314654693321 - let a = FixedTrait::ONE(); - assert_precise(tanh(a), 49912, 'invalid one', Option::None(())); // 0.59499543433175 + let a = FixedTrait::ONE(); + assert_precise(tanh(a), 49912, 'invalid one', Option::None(())); // 0.59499543433175 - let a = FixedTrait::ZERO(); - assert(tanh(a).into() == 0, 'invalid zero'); + let a = FixedTrait::ZERO(); + assert(tanh(a).into() == 0, 'invalid zero'); - let a = FixedTrait::new(ONE, true); - assert_precise(tanh(a), -49912, 'invalid neg one', Option::None(())); // -0.59499543433175 + let a = FixedTrait::new(ONE, true); + assert_precise(tanh(a), -49912, 'invalid neg one', Option::None(())); // -0.59499543433175 - let a = FixedTrait::new(TWO, true); - assert_precise(tanh(a), -63179, 'invalid neg two', Option::None(())); // 0.75314654693321 -} + let a = FixedTrait::new(TWO, true); + assert_precise(tanh(a), -63179, 'invalid neg two', Option::None(())); // 0.75314654693321 + } -#[test] -#[available_gas(10000000)] -fn test_acosh() { - let a = FixedTrait::new(246559, false); // 3.5954653836066 - assert_precise(acosh(a), 131072, 'invalid two', Option::None(())); + #[test] + #[available_gas(10000000)] + fn test_acosh() { + let a = FixedTrait::new(246559, false); // 3.5954653836066 + assert_precise(acosh(a), 131072, 'invalid two', Option::None(())); - let a = FixedTrait::new(101127, false); // 1.42428174592510 - assert_precise(acosh(a), ONE.into(), 'invalid one', Option::None(())); + let a = FixedTrait::new(101127, false); // 1.42428174592510 + assert_precise(acosh(a), ONE.into(), 'invalid one', Option::None(())); - let a = FixedTrait::ONE(); // 1 - assert(acosh(a).into() == 0, 'invalid zero'); -} + let a = FixedTrait::ONE(); // 1 + assert(acosh(a).into() == 0, 'invalid zero'); + } -#[test] -#[available_gas(10000000)] -fn test_asinh() { - let a = FixedTrait::new(237690, false); // 3.48973469357602 - assert_precise(asinh(a), 131072, 'invalid two', Option::None(())); + #[test] + #[available_gas(10000000)] + fn test_asinh() { + let a = FixedTrait::new(237690, false); // 3.48973469357602 + assert_precise(asinh(a), 131072, 'invalid two', Option::None(())); - let a = FixedTrait::new(77018, false); // 1.13687593250230 - assert_precise(asinh(a), ONE.into(), 'invalid one', Option::None(())); + let a = FixedTrait::new(77018, false); // 1.13687593250230 + assert_precise(asinh(a), ONE.into(), 'invalid one', Option::None(())); - let a = FixedTrait::ZERO(); - assert(asinh(a).into() == 0, 'invalid zero'); + let a = FixedTrait::ZERO(); + assert(asinh(a).into() == 0, 'invalid zero'); - let a = FixedTrait::new(77018, true); // -1.13687593250230 - assert_precise(asinh(a), -ONE.into(), 'invalid neg one', Option::None(())); + let a = FixedTrait::new(77018, true); // -1.13687593250230 + assert_precise(asinh(a), -ONE.into(), 'invalid neg one', Option::None(())); - let a = FixedTrait::new(237690, true); // -3.48973469357602 - assert_precise(asinh(a), -131017, 'invalid neg two', Option::None(())); -} + let a = FixedTrait::new(237690, true); // -3.48973469357602 + assert_precise(asinh(a), -131017, 'invalid neg two', Option::None(())); + } -#[test] -#[available_gas(10000000)] -fn test_atanh() { - let a = FixedTrait::new(58982, false); // 0.9 - assert_precise(atanh(a), 96483, 'invalid 0.9', Option::None(())); // 1.36892147623689 + #[test] + #[available_gas(10000000)] + fn test_atanh() { + let a = FixedTrait::new(58982, false); // 0.9 + assert_precise(atanh(a), 96483, 'invalid 0.9', Option::None(())); // 1.36892147623689 - let a = FixedTrait::new(HALF, false); // 0.5 - assert_precise(atanh(a), 35999, 'invalid half', Option::None(())); // 0.42914542526098 + let a = FixedTrait::new(HALF, false); // 0.5 + assert_precise(atanh(a), 35999, 'invalid half', Option::None(())); // 0.42914542526098 - let a = FixedTrait::ZERO(); - assert(atanh(a).into() == 0, 'invalid zero'); + let a = FixedTrait::ZERO(); + assert(atanh(a).into() == 0, 'invalid zero'); - let a = FixedTrait::new(HALF, true); // 0.5 - assert_precise(atanh(a), -35999, 'invalid neg half', Option::None(())); // 0.42914542526098 + let a = FixedTrait::new(HALF, true); // 0.5 + assert_precise(atanh(a), -35999, 'invalid neg half', Option::None(())); // 0.42914542526098 - let a = FixedTrait::new(58982, true); // 0.9 - assert_precise(atanh(a), -96483, 'invalid -0.9', Option::None(())); // 1.36892147623689 + let a = FixedTrait::new(58982, true); // 0.9 + assert_precise(atanh(a), -96483, 'invalid -0.9', Option::None(())); // 1.36892147623689 + } } - -} \ No newline at end of file diff --git a/src/numbers/fixed_point/implementations/fp8x23/math/comp.cairo b/src/numbers/fixed_point/implementations/fp8x23/math/comp.cairo index 67a5fc08d..6a7dba297 100644 --- a/src/numbers/fixed_point/implementations/fp8x23/math/comp.cairo +++ b/src/numbers/fixed_point/implementations/fp8x23/math/comp.cairo @@ -48,7 +48,6 @@ fn and(a: FP8x23, b: FP8x23) -> bool { #[cfg(test)] mod tests { - use super::{FixedTrait, max, min}; #[test] diff --git a/src/numbers/fixed_point/implementations/fp8x23wide/core.cairo b/src/numbers/fixed_point/implementations/fp8x23wide/core.cairo index 3fe3cd3cb..0243b56fc 100644 --- a/src/numbers/fixed_point/implementations/fp8x23wide/core.cairo +++ b/src/numbers/fixed_point/implementations/fp8x23wide/core.cairo @@ -214,12 +214,8 @@ impl FP8x23IntoFP8x23W of Into { impl FP8x23WTryIntoFP8x23 of TryInto { fn try_into(self: FP8x23W) -> Option { match self.mag.try_into() { - Option::Some(val) => { - Option::Some(FP8x23 { mag: val, sign: self.sign }) - }, - Option::None(_) => { - Option::None(()) - } + Option::Some(val) => { Option::Some(FP8x23 { mag: val, sign: self.sign }) }, + Option::None(_) => { Option::None(()) } } } } diff --git a/src/numbers/fixed_point/implementations/fp8x23wide/helpers.cairo b/src/numbers/fixed_point/implementations/fp8x23wide/helpers.cairo index a627803be..2a08af58a 100644 --- a/src/numbers/fixed_point/implementations/fp8x23wide/helpers.cairo +++ b/src/numbers/fixed_point/implementations/fp8x23wide/helpers.cairo @@ -23,7 +23,9 @@ fn assert_precise(result: FP8x23W, expected: felt252, msg: felt252, custom_preci } } -fn assert_relative(result: FP8x23W, expected: felt252, msg: felt252, custom_precision: Option) { +fn assert_relative( + result: FP8x23W, expected: felt252, msg: felt252, custom_precision: Option +) { let precision = match custom_precision { Option::Some(val) => val, Option::None(_) => DEFAULT_PRECISION, diff --git a/src/numbers/fixed_point/implementations/fp8x23wide/math/trig.cairo b/src/numbers/fixed_point/implementations/fp8x23wide/math/trig.cairo index e850af255..5a16d18fa 100644 --- a/src/numbers/fixed_point/implementations/fp8x23wide/math/trig.cairo +++ b/src/numbers/fixed_point/implementations/fp8x23wide/math/trig.cairo @@ -205,255 +205,258 @@ fn _sin_loop(a: FP8x23W, i: u64, acc: FP8x23W) -> FP8x23W { #[cfg(test)] mod tests { + use traits::Into; - -use traits::Into; - -use orion::numbers::fixed_point::implementations::fp8x23wide::helpers::{ - assert_precise, assert_relative -}; + use orion::numbers::fixed_point::implementations::fp8x23wide::helpers::{ + assert_precise, assert_relative + }; use super::{ FixedTrait, acos, HALF_PI, ONE, acos_fast, PI, atan_fast, atan, asin, cos, cos_fast, sin, sin_fast, tan }; -#[test] -#[available_gas(3000000)] -fn test_acos() { - let error = Option::Some(84); // 1e-5 + #[test] + #[available_gas(3000000)] + fn test_acos() { + let error = Option::Some(84); // 1e-5 - let a = FixedTrait::ONE(); - assert(acos(a).into() == 0, 'invalid one'); + let a = FixedTrait::ONE(); + assert(acos(a).into() == 0, 'invalid one'); - let a = FixedTrait::new(ONE / 2, false); - assert_relative(acos(a), 8784530, 'invalid half', error); // 1.0471975506263043 + let a = FixedTrait::new(ONE / 2, false); + assert_relative(acos(a), 8784530, 'invalid half', error); // 1.0471975506263043 - let a = FixedTrait::ZERO(); - assert_relative(acos(a), HALF_PI.into(), 'invalid zero', Option::None(())); // PI / 2 + let a = FixedTrait::ZERO(); + assert_relative(acos(a), HALF_PI.into(), 'invalid zero', Option::None(())); // PI / 2 - let a = FixedTrait::new(ONE / 2, true); - assert_relative(acos(a), 17569060, 'invalid neg half', error); // 2.094395102963489 + let a = FixedTrait::new(ONE / 2, true); + assert_relative(acos(a), 17569060, 'invalid neg half', error); // 2.094395102963489 - let a = FixedTrait::new(ONE, true); - assert_relative(acos(a), PI.into(), 'invalid neg one', Option::None(())); // PI -} + let a = FixedTrait::new(ONE, true); + assert_relative(acos(a), PI.into(), 'invalid neg one', Option::None(())); // PI + } -#[test] -#[available_gas(3000000)] -fn test_acos_fast() { - let error = Option::Some(84); // 1e-5 + #[test] + #[available_gas(3000000)] + fn test_acos_fast() { + let error = Option::Some(84); // 1e-5 - let a = FixedTrait::ONE(); - assert(acos_fast(a).into() == 0, 'invalid one'); + let a = FixedTrait::ONE(); + assert(acos_fast(a).into() == 0, 'invalid one'); - let a = FixedTrait::new(ONE / 2, false); - assert_relative(acos_fast(a), 8784530, 'invalid half', error); // 1.0471975506263043 + let a = FixedTrait::new(ONE / 2, false); + assert_relative(acos_fast(a), 8784530, 'invalid half', error); // 1.0471975506263043 - let a = FixedTrait::ZERO(); - assert_relative(acos_fast(a), HALF_PI.into(), 'invalid zero', Option::None(())); // PI / 2 + let a = FixedTrait::ZERO(); + assert_relative(acos_fast(a), HALF_PI.into(), 'invalid zero', Option::None(())); // PI / 2 - let a = FixedTrait::new(ONE / 2, true); - assert_relative(acos_fast(a), 17569060, 'invalid neg half', error); // 2.094395102963489 + let a = FixedTrait::new(ONE / 2, true); + assert_relative(acos_fast(a), 17569060, 'invalid neg half', error); // 2.094395102963489 - let a = FixedTrait::new(ONE, true); - assert_relative(acos_fast(a), PI.into(), 'invalid neg one', Option::None(())); // PI -} + let a = FixedTrait::new(ONE, true); + assert_relative(acos_fast(a), PI.into(), 'invalid neg one', Option::None(())); // PI + } -#[test] -#[should_panic] -#[available_gas(1000000)] -fn test_acos_fail() { - let a = FixedTrait::new(2 * ONE, true); - acos(a); -} + #[test] + #[should_panic] + #[available_gas(1000000)] + fn test_acos_fail() { + let a = FixedTrait::new(2 * ONE, true); + acos(a); + } -#[test] -#[available_gas(1400000)] -fn test_atan_fast() { - let error = Option::Some(84); // 1e-5 + #[test] + #[available_gas(1400000)] + fn test_atan_fast() { + let error = Option::Some(84); // 1e-5 - let a = FixedTrait::new(2 * ONE, false); - assert_relative(atan_fast(a), 9287437, 'invalid two', error); + let a = FixedTrait::new(2 * ONE, false); + assert_relative(atan_fast(a), 9287437, 'invalid two', error); - let a = FixedTrait::ONE(); - assert_relative(atan_fast(a), 6588397, 'invalid one', error); + let a = FixedTrait::ONE(); + assert_relative(atan_fast(a), 6588397, 'invalid one', error); - let a = FixedTrait::new(ONE / 2, false); - assert_relative(atan_fast(a), 3889358, 'invalid half', error); + let a = FixedTrait::new(ONE / 2, false); + assert_relative(atan_fast(a), 3889358, 'invalid half', error); - let a = FixedTrait::ZERO(); - assert(atan_fast(a).into() == 0, 'invalid zero'); + let a = FixedTrait::ZERO(); + assert(atan_fast(a).into() == 0, 'invalid zero'); - let a = FixedTrait::new(ONE / 2, true); - assert_relative(atan_fast(a), -3889358, 'invalid neg half', error); + let a = FixedTrait::new(ONE / 2, true); + assert_relative(atan_fast(a), -3889358, 'invalid neg half', error); - let a = FixedTrait::new(ONE, true); - assert_relative(atan_fast(a), -6588397, 'invalid neg one', error); + let a = FixedTrait::new(ONE, true); + assert_relative(atan_fast(a), -6588397, 'invalid neg one', error); - let a = FixedTrait::new(2 * ONE, true); - assert_relative(atan_fast(a), -9287437, 'invalid neg two', error); -} + let a = FixedTrait::new(2 * ONE, true); + assert_relative(atan_fast(a), -9287437, 'invalid neg two', error); + } -#[test] -#[available_gas(2600000)] -fn test_atan() { - let a = FixedTrait::new(2 * ONE, false); - assert_relative(atan(a), 9287437, 'invalid two', Option::None(())); + #[test] + #[available_gas(2600000)] + fn test_atan() { + let a = FixedTrait::new(2 * ONE, false); + assert_relative(atan(a), 9287437, 'invalid two', Option::None(())); - let a = FixedTrait::ONE(); - assert_relative(atan(a), 6588397, 'invalid one', Option::None(())); + let a = FixedTrait::ONE(); + assert_relative(atan(a), 6588397, 'invalid one', Option::None(())); - let a = FixedTrait::new(ONE / 2, false); - assert_relative(atan(a), 3889358, 'invalid half', Option::None(())); + let a = FixedTrait::new(ONE / 2, false); + assert_relative(atan(a), 3889358, 'invalid half', Option::None(())); - let a = FixedTrait::ZERO(); - assert(atan(a).into() == 0, 'invalid zero'); + let a = FixedTrait::ZERO(); + assert(atan(a).into() == 0, 'invalid zero'); - let a = FixedTrait::new(ONE / 2, true); - assert_relative(atan(a), -3889358, 'invalid neg half', Option::None(())); + let a = FixedTrait::new(ONE / 2, true); + assert_relative(atan(a), -3889358, 'invalid neg half', Option::None(())); - let a = FixedTrait::new(ONE, true); - assert_relative(atan(a), -6588397, 'invalid neg one', Option::None(())); + let a = FixedTrait::new(ONE, true); + assert_relative(atan(a), -6588397, 'invalid neg one', Option::None(())); - let a = FixedTrait::new(2 * ONE, true); - assert_relative(atan(a), -9287437, 'invalid neg two', Option::None(())); -} + let a = FixedTrait::new(2 * ONE, true); + assert_relative(atan(a), -9287437, 'invalid neg two', Option::None(())); + } -#[test] -#[available_gas(3000000)] -fn test_asin() { - let error = Option::Some(84); // 1e-5 + #[test] + #[available_gas(3000000)] + fn test_asin() { + let error = Option::Some(84); // 1e-5 - let a = FixedTrait::ONE(); - assert_relative(asin(a), HALF_PI.into(), 'invalid one', Option::None(())); // PI / 2 + let a = FixedTrait::ONE(); + assert_relative(asin(a), HALF_PI.into(), 'invalid one', Option::None(())); // PI / 2 - let a = FixedTrait::new(ONE / 2, false); - assert_relative(asin(a), 4392265, 'invalid half', error); + let a = FixedTrait::new(ONE / 2, false); + assert_relative(asin(a), 4392265, 'invalid half', error); - let a = FixedTrait::ZERO(); - assert_precise(asin(a), 0, 'invalid zero', Option::None(())); + let a = FixedTrait::ZERO(); + assert_precise(asin(a), 0, 'invalid zero', Option::None(())); - let a = FixedTrait::new(ONE / 2, true); - assert_relative(asin(a), -4392265, 'invalid neg half', error); + let a = FixedTrait::new(ONE / 2, true); + assert_relative(asin(a), -4392265, 'invalid neg half', error); - let a = FixedTrait::new(ONE, true); - assert_relative(asin(a), -HALF_PI.into(), 'invalid neg one', Option::None(())); // -PI / 2 -} + let a = FixedTrait::new(ONE, true); + assert_relative(asin(a), -HALF_PI.into(), 'invalid neg one', Option::None(())); // -PI / 2 + } -#[test] -#[should_panic] -#[available_gas(1000000)] -fn test_asin_fail() { - let a = FixedTrait::new(2 * ONE, false); - asin(a); -} + #[test] + #[should_panic] + #[available_gas(1000000)] + fn test_asin_fail() { + let a = FixedTrait::new(2 * ONE, false); + asin(a); + } -#[test] -#[available_gas(6000000)] -fn test_cos() { - let a = FixedTrait::new(HALF_PI, false); - assert(cos(a).into() == 0, 'invalid half pi'); + #[test] + #[available_gas(6000000)] + fn test_cos() { + let a = FixedTrait::new(HALF_PI, false); + assert(cos(a).into() == 0, 'invalid half pi'); - let a = FixedTrait::new(HALF_PI / 2, false); - assert_relative(cos(a), 5931642, 'invalid quarter pi', Option::None(())); // 0.7071067811865475 + let a = FixedTrait::new(HALF_PI / 2, false); + assert_relative( + cos(a), 5931642, 'invalid quarter pi', Option::None(()) + ); // 0.7071067811865475 - let a = FixedTrait::new(PI, false); - assert_relative(cos(a), -1 * ONE.into(), 'invalid pi', Option::None(())); + let a = FixedTrait::new(PI, false); + assert_relative(cos(a), -1 * ONE.into(), 'invalid pi', Option::None(())); - let a = FixedTrait::new(HALF_PI, true); - assert_precise(cos(a), 0, 'invalid neg half pi', Option::None(())); + let a = FixedTrait::new(HALF_PI, true); + assert_precise(cos(a), 0, 'invalid neg half pi', Option::None(())); - let a = FixedTrait::new_unscaled(17, false); - assert_relative(cos(a), -2308239, 'invalid 17', Option::None(())); // -0.2751631780463348 + let a = FixedTrait::new_unscaled(17, false); + assert_relative(cos(a), -2308239, 'invalid 17', Option::None(())); // -0.2751631780463348 - let a = FixedTrait::new_unscaled(17, true); - assert_relative(cos(a), -2308236, 'invalid -17', Option::None(())); // -0.2751631780463348 -} + let a = FixedTrait::new_unscaled(17, true); + assert_relative(cos(a), -2308236, 'invalid -17', Option::None(())); // -0.2751631780463348 + } -#[test] -#[available_gas(6000000)] -fn test_cos_fast() { - let error = Option::Some(84); // 1e-5 + #[test] + #[available_gas(6000000)] + fn test_cos_fast() { + let error = Option::Some(84); // 1e-5 - let a = FixedTrait::new(HALF_PI, false); - assert(cos_fast(a).into() == 0, 'invalid half pi'); + let a = FixedTrait::new(HALF_PI, false); + assert(cos_fast(a).into() == 0, 'invalid half pi'); - let a = FixedTrait::new(HALF_PI / 2, false); - assert_precise(cos_fast(a), 5931642, 'invalid quarter pi', error); // 0.7071067811865475 + let a = FixedTrait::new(HALF_PI / 2, false); + assert_precise(cos_fast(a), 5931642, 'invalid quarter pi', error); // 0.7071067811865475 - let a = FixedTrait::new(PI, false); - assert_precise(cos_fast(a), -1 * ONE.into(), 'invalid pi', error); + let a = FixedTrait::new(PI, false); + assert_precise(cos_fast(a), -1 * ONE.into(), 'invalid pi', error); - let a = FixedTrait::new(HALF_PI, true); - assert_precise(cos(a), 0, 'invalid neg half pi', Option::None(())); + let a = FixedTrait::new(HALF_PI, true); + assert_precise(cos(a), 0, 'invalid neg half pi', Option::None(())); - let a = FixedTrait::new_unscaled(17, false); - assert_precise(cos_fast(a), -2308239, 'invalid 17', error); // -0.2751631780463348 -} + let a = FixedTrait::new_unscaled(17, false); + assert_precise(cos_fast(a), -2308239, 'invalid 17', error); // -0.2751631780463348 + } -#[test] -#[available_gas(6000000)] -fn test_sin() { - let a = FixedTrait::new(HALF_PI, false); - assert_precise(sin(a), ONE.into(), 'invalid half pi', Option::None(())); + #[test] + #[available_gas(6000000)] + fn test_sin() { + let a = FixedTrait::new(HALF_PI, false); + assert_precise(sin(a), ONE.into(), 'invalid half pi', Option::None(())); - let a = FixedTrait::new(HALF_PI / 2, false); - assert_precise(sin(a), 5931642, 'invalid quarter pi', Option::None(())); // 0.7071067811865475 + let a = FixedTrait::new(HALF_PI / 2, false); + assert_precise( + sin(a), 5931642, 'invalid quarter pi', Option::None(()) + ); // 0.7071067811865475 - let a = FixedTrait::new(PI, false); - assert(sin(a).into() == 0, 'invalid pi'); + let a = FixedTrait::new(PI, false); + assert(sin(a).into() == 0, 'invalid pi'); - let a = FixedTrait::new(HALF_PI, true); - assert_precise( - sin(a), -ONE.into(), 'invalid neg half pi', Option::None(()) - ); // 0.9999999999939766 + let a = FixedTrait::new(HALF_PI, true); + assert_precise( + sin(a), -ONE.into(), 'invalid neg half pi', Option::None(()) + ); // 0.9999999999939766 - let a = FixedTrait::new_unscaled(17, false); - assert_precise(sin(a), -8064787, 'invalid 17', Option::None(())); // -0.9613974918793389 + let a = FixedTrait::new_unscaled(17, false); + assert_precise(sin(a), -8064787, 'invalid 17', Option::None(())); // -0.9613974918793389 - let a = FixedTrait::new_unscaled(17, true); - assert_precise(sin(a), 8064787, 'invalid -17', Option::None(())); // 0.9613974918793389 -} + let a = FixedTrait::new_unscaled(17, true); + assert_precise(sin(a), 8064787, 'invalid -17', Option::None(())); // 0.9613974918793389 + } -#[test] -#[available_gas(1000000)] -fn test_sin_fast() { - let error = Option::Some(84); // 1e-5 + #[test] + #[available_gas(1000000)] + fn test_sin_fast() { + let error = Option::Some(84); // 1e-5 - let a = FixedTrait::new(HALF_PI, false); - assert_precise(sin_fast(a), ONE.into(), 'invalid half pi', error); + let a = FixedTrait::new(HALF_PI, false); + assert_precise(sin_fast(a), ONE.into(), 'invalid half pi', error); - let a = FixedTrait::new(HALF_PI / 2, false); - assert_precise(sin_fast(a), 5931642, 'invalid quarter pi', error); // 0.7071067811865475 + let a = FixedTrait::new(HALF_PI / 2, false); + assert_precise(sin_fast(a), 5931642, 'invalid quarter pi', error); // 0.7071067811865475 - let a = FixedTrait::new(PI, false); - assert(sin_fast(a).into() == 0, 'invalid pi'); + let a = FixedTrait::new(PI, false); + assert(sin_fast(a).into() == 0, 'invalid pi'); - let a = FixedTrait::new(HALF_PI, true); - assert_precise(sin_fast(a), -ONE.into(), 'invalid neg half pi', error); // 0.9999999999939766 + let a = FixedTrait::new(HALF_PI, true); + assert_precise( + sin_fast(a), -ONE.into(), 'invalid neg half pi', error + ); // 0.9999999999939766 - let a = FixedTrait::new_unscaled(17, false); - assert_precise(sin_fast(a), -8064787, 'invalid 17', error); // -0.9613974918793389 + let a = FixedTrait::new_unscaled(17, false); + assert_precise(sin_fast(a), -8064787, 'invalid 17', error); // -0.9613974918793389 - let a = FixedTrait::new_unscaled(17, true); - assert_precise(sin_fast(a), 8064787, 'invalid -17', error); // 0.9613974918793389 -} + let a = FixedTrait::new_unscaled(17, true); + assert_precise(sin_fast(a), 8064787, 'invalid -17', error); // 0.9613974918793389 + } -#[test] -#[available_gas(8000000)] -fn test_tan() { - let a = FixedTrait::new(HALF_PI / 2, false); - assert_precise(tan(a), ONE.into(), 'invalid quarter pi', Option::None(())); + #[test] + #[available_gas(8000000)] + fn test_tan() { + let a = FixedTrait::new(HALF_PI / 2, false); + assert_precise(tan(a), ONE.into(), 'invalid quarter pi', Option::None(())); - let a = FixedTrait::new(PI, false); - assert_precise(tan(a), 0, 'invalid pi', Option::None(())); + let a = FixedTrait::new(PI, false); + assert_precise(tan(a), 0, 'invalid pi', Option::None(())); - let a = FixedTrait::new_unscaled(17, false); - assert_precise(tan(a), 29309069, 'invalid 17', Option::None(())); // 3.493917677159002 + let a = FixedTrait::new_unscaled(17, false); + assert_precise(tan(a), 29309069, 'invalid 17', Option::None(())); // 3.493917677159002 - let a = FixedTrait::new_unscaled(17, true); - assert_precise(tan(a), -29309106, 'invalid -17', Option::None(())); // -3.493917677159002 + let a = FixedTrait::new_unscaled(17, true); + assert_precise(tan(a), -29309106, 'invalid -17', Option::None(())); // -3.493917677159002 + } } - -} \ No newline at end of file diff --git a/src/numbers/fixed_point/utils.cairo b/src/numbers/fixed_point/utils.cairo index 5ef1f9e4c..7e57cc68d 100644 --- a/src/numbers/fixed_point/utils.cairo +++ b/src/numbers/fixed_point/utils.cairo @@ -20,26 +20,26 @@ fn felt_abs(a: felt252) -> felt252 { } - #[cfg(test)] - mod tests { - use super::{felt_sign, felt_abs}; - - #[test] - fn test_sign() { - let min = -1809251394333065606848661391547535052811553607665798349986546028067936010240; - let max = 1809251394333065606848661391547535052811553607665798349986546028067936010240; - assert(felt_sign(min) == true, 'invalid result'); - assert(felt_sign(-1) == true, 'invalid result'); - assert(felt_sign(0) == false, 'invalid result'); - assert(felt_sign(1) == false, 'invalid result'); - assert(felt_sign(max) == false, 'invalid result'); - } - - #[test] - fn test_abs() { - assert(felt_abs(5) == 5, 'abs of pos should be pos'); - assert(felt_abs(-5) == 5, 'abs of neg should be pos'); - assert(felt_abs(0) == 0, 'abs of 0 should be 0'); - } +#[cfg(test)] +mod tests { + use super::{felt_sign, felt_abs}; + + #[test] + fn test_sign() { + let min = -1809251394333065606848661391547535052811553607665798349986546028067936010240; + let max = 1809251394333065606848661391547535052811553607665798349986546028067936010240; + assert(felt_sign(min) == true, 'invalid result'); + assert(felt_sign(-1) == true, 'invalid result'); + assert(felt_sign(0) == false, 'invalid result'); + assert(felt_sign(1) == false, 'invalid result'); + assert(felt_sign(max) == false, 'invalid result'); } + #[test] + fn test_abs() { + assert(felt_abs(5) == 5, 'abs of pos should be pos'); + assert(felt_abs(-5) == 5, 'abs of neg should be pos'); + assert(felt_abs(0) == 0, 'abs of 0 should be 0'); + } +} + diff --git a/src/operators/ml/tree_classifier.cairo b/src/operators/ml/tree_classifier.cairo index 2ab1a62ac..469d634e4 100644 --- a/src/operators/ml/tree_classifier.cairo +++ b/src/operators/ml/tree_classifier.cairo @@ -1,2 +1,2 @@ mod core; -mod implementations; \ No newline at end of file +mod implementations; diff --git a/src/operators/ml/tree_classifier/core.cairo b/src/operators/ml/tree_classifier/core.cairo index f4c948762..a42e6dd94 100644 --- a/src/operators/ml/tree_classifier/core.cairo +++ b/src/operators/ml/tree_classifier/core.cairo @@ -7,7 +7,9 @@ struct TreeClassifier { split_feature: usize, split_value: T, prediction: T, - class_distribution: Span, // assuming class labels of type usize (span index), and probability as T. + class_distribution: Span< + T + >, // assuming class labels of type usize (span index), and probability as T. } /// Trait @@ -117,14 +119,10 @@ fn predict< current_node = right.unbox(); } }, - Option::None(_) => { - break; - } + Option::None(_) => { break; } } }, - Option::None(_) => { - break; - } + Option::None(_) => { break; } }; }; @@ -154,14 +152,10 @@ fn predict_proba< current_node = right.unbox(); } }, - Option::None(_) => { - break; - } + Option::None(_) => { break; } } }, - Option::None(_) => { - break; - } + Option::None(_) => { break; } }; }; diff --git a/src/operators/ml/tree_regressor/core.cairo b/src/operators/ml/tree_regressor/core.cairo index 1206d9094..9811e2589 100644 --- a/src/operators/ml/tree_regressor/core.cairo +++ b/src/operators/ml/tree_regressor/core.cairo @@ -77,14 +77,10 @@ fn predict< current_node = right.unbox(); } }, - Option::None(_) => { - break; - } + Option::None(_) => { break; } } }, - Option::None(_) => { - break; - } + Option::None(_) => { break; } }; }; diff --git a/src/operators/ml/xgboost_regressor.cairo b/src/operators/ml/xgboost_regressor.cairo index 2ab1a62ac..469d634e4 100644 --- a/src/operators/ml/xgboost_regressor.cairo +++ b/src/operators/ml/xgboost_regressor.cairo @@ -1,2 +1,2 @@ mod core; -mod implementations; \ No newline at end of file +mod implementations; diff --git a/src/operators/ml/xgboost_regressor/core.cairo b/src/operators/ml/xgboost_regressor/core.cairo index 6c7f0ea4f..bbb80dbff 100644 --- a/src/operators/ml/xgboost_regressor/core.cairo +++ b/src/operators/ml/xgboost_regressor/core.cairo @@ -73,9 +73,7 @@ fn predict< let mut tree = *tree; sum_prediction += tree.predict(features) * *weights.pop_front().unwrap() }, - Option::None(_) => { - break; - } + Option::None(_) => { break; } }; }; diff --git a/src/operators/ml/xgboost_regressor/implementations/xgboost_regressor_fp16x16.cairo b/src/operators/ml/xgboost_regressor/implementations/xgboost_regressor_fp16x16.cairo index e8202a8d1..ab8bb3f40 100644 --- a/src/operators/ml/xgboost_regressor/implementations/xgboost_regressor_fp16x16.cairo +++ b/src/operators/ml/xgboost_regressor/implementations/xgboost_regressor_fp16x16.cairo @@ -5,7 +5,9 @@ use orion::numbers::FP16x16; impl FP16x16XGBoostRegressor of XGBoostRegressorTrait { fn predict( - ref self: Span>, ref features: Span, ref weights: Span + ref self: Span>, + ref features: Span, + ref weights: Span ) -> FP16x16 { core::predict(ref self, ref features, ref weights) } diff --git a/src/operators/ml/xgboost_regressor/implementations/xgboost_regressor_fp32x32.cairo b/src/operators/ml/xgboost_regressor/implementations/xgboost_regressor_fp32x32.cairo index 6d266fce4..4c4d72f74 100644 --- a/src/operators/ml/xgboost_regressor/implementations/xgboost_regressor_fp32x32.cairo +++ b/src/operators/ml/xgboost_regressor/implementations/xgboost_regressor_fp32x32.cairo @@ -5,7 +5,9 @@ use orion::numbers::{FP32x32, FP32x32Impl}; impl FP32x32XGBoostRegressor of XGBoostRegressorTrait { fn predict( - ref self: Span>, ref features: Span, ref weights: Span + ref self: Span>, + ref features: Span, + ref weights: Span ) -> FP32x32 { core::predict(ref self, ref features, ref weights) } diff --git a/src/operators/ml/xgboost_regressor/implementations/xgboost_regressor_fp64x64.cairo b/src/operators/ml/xgboost_regressor/implementations/xgboost_regressor_fp64x64.cairo index ff21c9860..4ad8402bd 100644 --- a/src/operators/ml/xgboost_regressor/implementations/xgboost_regressor_fp64x64.cairo +++ b/src/operators/ml/xgboost_regressor/implementations/xgboost_regressor_fp64x64.cairo @@ -5,7 +5,9 @@ use orion::numbers::{FP64x64, FP64x64Impl}; impl FP64x64XGBoostRegressor of XGBoostRegressorTrait { fn predict( - ref self: Span>, ref features: Span, ref weights: Span + ref self: Span>, + ref features: Span, + ref weights: Span ) -> FP64x64 { core::predict(ref self, ref features, ref weights) } diff --git a/src/operators/nn/functional.cairo b/src/operators/nn/functional.cairo index d130433bc..6e40e562f 100644 --- a/src/operators/nn/functional.cairo +++ b/src/operators/nn/functional.cairo @@ -8,4 +8,4 @@ mod linear; mod logsoftmax; mod thresholded_relu; mod hard_sigmoid; -mod gemm; \ No newline at end of file +mod gemm; diff --git a/src/operators/nn/functional/gemm.cairo b/src/operators/nn/functional/gemm.cairo index 7f63990a1..2bfea4114 100644 --- a/src/operators/nn/functional/gemm.cairo +++ b/src/operators/nn/functional/gemm.cairo @@ -50,8 +50,6 @@ fn gemm< Option::Some(c) => { return mul_by_scalar(@A.matmul(@B), alpha) + mul_by_scalar(@c, beta); }, - Option::None(_) => { - return mul_by_scalar(@A.matmul(@B), alpha); - } + Option::None(_) => { return mul_by_scalar(@A.matmul(@B), alpha); } } } diff --git a/src/operators/nn/functional/hard_sigmoid.cairo b/src/operators/nn/functional/hard_sigmoid.cairo index 8f7f3dd10..48308c6b7 100644 --- a/src/operators/nn/functional/hard_sigmoid.cairo +++ b/src/operators/nn/functional/hard_sigmoid.cairo @@ -32,9 +32,7 @@ fn hard_sigmoid< let result = temp.min(NumberTrait::one()).max(NumberTrait::zero()); data_result.append(result); }, - Option::None(_) => { - break; - } + Option::None(_) => { break; } }; }; diff --git a/src/operators/nn/functional/leaky_relu.cairo b/src/operators/nn/functional/leaky_relu.cairo index 5ad8c3e02..2792884e9 100644 --- a/src/operators/nn/functional/leaky_relu.cairo +++ b/src/operators/nn/functional/leaky_relu.cairo @@ -34,9 +34,7 @@ fn leaky_relu< data_result.append(*item * *alpha); }; }, - Option::None(_) => { - break; - } + Option::None(_) => { break; } }; }; diff --git a/src/operators/nn/functional/logsoftmax.cairo b/src/operators/nn/functional/logsoftmax.cairo index bd38d138c..ff5228458 100644 --- a/src/operators/nn/functional/logsoftmax.cairo +++ b/src/operators/nn/functional/logsoftmax.cairo @@ -43,4 +43,4 @@ fn logsoftmaxWide< let sum = exp_tensor.reduce_sum(axis, true); let softmax = div_downcast(@exp_tensor, @sum); softmax.log() -} \ No newline at end of file +} diff --git a/src/operators/nn/functional/relu.cairo b/src/operators/nn/functional/relu.cairo index f8f1bb99d..5b0b96719 100644 --- a/src/operators/nn/functional/relu.cairo +++ b/src/operators/nn/functional/relu.cairo @@ -28,9 +28,7 @@ fn relu< data_result.append(*item); }; }, - Option::None(_) => { - break; - } + Option::None(_) => { break; } }; }; diff --git a/src/operators/nn/functional/sigmoid.cairo b/src/operators/nn/functional/sigmoid.cairo index 23f444e23..4746414b5 100644 --- a/src/operators/nn/functional/sigmoid.cairo +++ b/src/operators/nn/functional/sigmoid.cairo @@ -32,9 +32,7 @@ fn sigmoid< / (NumberTrait::one() + (*item * NumberTrait::neg_one()).exp()); data_result.append(result); }, - Option::None(_) => { - break; - } + Option::None(_) => { break; } }; }; diff --git a/src/operators/nn/functional/softplus.cairo b/src/operators/nn/functional/softplus.cairo index 1d98a848b..a41af52a1 100644 --- a/src/operators/nn/functional/softplus.cairo +++ b/src/operators/nn/functional/softplus.cairo @@ -30,9 +30,7 @@ fn softplus< let result = (FixedTrait::ONE() + (*item).exp()).ln(); data_result.append(result); }, - Option::None(_) => { - break; - } + Option::None(_) => { break; } }; }; diff --git a/src/operators/nn/functional/softsign.cairo b/src/operators/nn/functional/softsign.cairo index 7d88ae2ce..53d61de90 100644 --- a/src/operators/nn/functional/softsign.cairo +++ b/src/operators/nn/functional/softsign.cairo @@ -30,9 +30,7 @@ fn softsign< let result = *item / (FixedTrait::ONE() + (*item).abs()); data_result.append(result); }, - Option::None(_) => { - break; - } + Option::None(_) => { break; } }; }; diff --git a/src/operators/nn/functional/thresholded_relu.cairo b/src/operators/nn/functional/thresholded_relu.cairo index dd4ced172..86576bad7 100644 --- a/src/operators/nn/functional/thresholded_relu.cairo +++ b/src/operators/nn/functional/thresholded_relu.cairo @@ -28,9 +28,7 @@ fn thresholded_relu< data_result.append(*item); }; }, - Option::None(_) => { - break; - } + Option::None(_) => { break; } }; }; diff --git a/src/operators/tensor/core.cairo b/src/operators/tensor/core.cairo index 1ad154e3f..97c454308 100644 --- a/src/operators/tensor/core.cairo +++ b/src/operators/tensor/core.cairo @@ -2747,7 +2747,7 @@ trait TensorTrait { /// >>> [[1 2] [3 4]] // A Tensor with the same shape and contents as input /// ``` /// - fn identity(self: @Tensor) -> Tensor; + fn identity(self: @Tensor) -> Tensor; /// #tensor.and /// /// ```rust @@ -2840,9 +2840,7 @@ fn ravel_index(mut shape: Span, mut indices: Span) -> usize { stride *= *i; }, - Option::None(_) => { - break; - } + Option::None(_) => { break; } }; }; @@ -2867,9 +2865,7 @@ fn unravel_index(index: usize, mut shape: Span) -> Span { result.append(coord); }, - Option::None(_) => { - break; - } + Option::None(_) => { break; } }; }; @@ -2890,21 +2886,15 @@ fn stride(mut shape: Span) -> Span { temp_result.append(accumulated); accumulated *= *i; }, - Option::None(_) => { - break; - } + Option::None(_) => { break; } }; }; let mut temp_result = temp_result.span(); loop { match temp_result.pop_back() { - Option::Some(val) => { - result.append(*val); - }, - Option::None(_) => { - break; - } + Option::Some(val) => { result.append(*val); }, + Option::None(_) => { break; } }; }; @@ -3056,9 +3046,7 @@ fn slice, impl TCopy: Copy, impl TDrop: Drop< i += 1; }, - Option::None(_) => { - break; - } + Option::None(_) => { break; } }; }; @@ -3099,9 +3087,7 @@ fn slice, impl TCopy: Copy, impl TDrop: Drop< break (); } }, - Option::None(_) => { - break; - } + Option::None(_) => { break; } }; }; @@ -3111,9 +3097,7 @@ fn slice, impl TCopy: Copy, impl TDrop: Drop< j += 1; }, - Option::None(_) => { - break; - } + Option::None(_) => { break; } }; }; @@ -3150,17 +3134,13 @@ fn nonzero< indexes_of_dimensions.append(*indices.at(i)); i += 1; }, - Option::None(_) => { - break (); - } + Option::None(_) => { break (); } }; }; } j += 1; }, - Option::None(_) => { - break (); - } + Option::None(_) => { break (); } }; }; @@ -3168,9 +3148,9 @@ fn nonzero< let mut output_data: Array = ArrayTrait::new(); if indexes_of_dimensions_span.len() == 0 { - return Tensor:: { - shape: array![(*self.shape).len(), 0].span(), data: output_data.span() - }; + return Tensor::< + usize + > { shape: array![(*self.shape).len(), 0].span(), data: output_data.span() }; } let stop_k = (indexes_of_dimensions_span.len() / (*self.shape).len()) - 1; @@ -3192,15 +3172,13 @@ fn nonzero< }; i += 1; }, - Option::None(_) => { - break (); - } + Option::None(_) => { break (); } }; }; - return Tensor:: { - shape: array![(*self.shape).len(), stop_k + 1].span(), data: output_data.span() - }; + return Tensor::< + usize + > { shape: array![(*self.shape).len(), stop_k + 1].span(), data: output_data.span() }; } /// Cf: TensorTrait::squeeze docstring @@ -3237,17 +3215,13 @@ fn squeeze(self: @Tensor, axes: Option>) -> Tensor { reshape.append(*shape); } }, - Option::None(_) => { - break; - }, + Option::None(_) => { break; }, }; index += 1; }; shape = reshape.span(); }, - Option::None(_) => { - break shape; - }, + Option::None(_) => { break shape; }, }; } }, @@ -3256,14 +3230,10 @@ fn squeeze(self: @Tensor, axes: Option>) -> Tensor { let mut shape = *self.shape; loop { match shape.pop_front() { - Option::Some(shape) => { - if *shape != 1 { - reshape.append(*shape); - } - }, - Option::None(_) => { - break reshape.span(); - }, + Option::Some(shape) => { if *shape != 1 { + reshape.append(*shape); + } }, + Option::None(_) => { break reshape.span(); }, }; } }, @@ -3290,9 +3260,7 @@ fn unsqueeze(self: @Tensor, axes: Span) -> Tensor { output_shape.append(*val); i += 1; }, - Option::None(_) => { - break (); - } + Option::None(_) => { break (); } }; }; }; @@ -3358,15 +3326,11 @@ fn clip< ) -> Tensor { let min = match min { Option::Some(min) => min, - Option::None(_) => { - NumberTrait::min_value() - }, + Option::None(_) => { NumberTrait::min_value() }, }; let max = match max { Option::Some(max) => max, - Option::None(_) => { - NumberTrait::max_value() - }, + Option::None(_) => { NumberTrait::max_value() }, }; let mut return_data: Array = ArrayTrait::new(); @@ -3383,9 +3347,7 @@ fn clip< return_data.append(*val); } }, - Option::None(_) => { - break (); - } + Option::None(_) => { break (); } }; }; @@ -3393,9 +3355,6 @@ fn clip< } /// Cf: TensorTrait::identity docstring -fn identity -( - self: @Tensor -) -> Tensor { +fn identity(self: @Tensor) -> Tensor { Tensor:: { shape: *self.shape, data: *self.data } -} \ No newline at end of file +} diff --git a/src/operators/tensor/helpers.cairo b/src/operators/tensor/helpers.cairo index e72b08a2e..471ec7e4e 100644 --- a/src/operators/tensor/helpers.cairo +++ b/src/operators/tensor/helpers.cairo @@ -22,12 +22,8 @@ fn len_from_shape(mut shape: Span) -> usize { loop { match shape.pop_front() { - Option::Some(item) => { - result *= *item; - }, - Option::None(_) => { - break; - } + Option::Some(item) => { result *= *item; }, + Option::None(_) => { break; } }; }; @@ -67,9 +63,7 @@ fn check_compatibility(mut shape_1: Span, mut shape_2: Span) { 'tensors shape must match' ); }, - Option::None(_) => { - break; - } + Option::None(_) => { break; } }; }; } @@ -100,9 +94,7 @@ fn broadcast_index_mapping(mut shape: Span, mut indices: Span) -> let index = (indices_val % *shape_val) * stride_val; result += index; }, - Option::None(_) => { - break; - } + Option::None(_) => { break; } }; }; @@ -141,9 +133,7 @@ fn reduce_output_shape(mut input_shape: Span, axis: usize, keepdims: bool n += 1; }, - Option::None(_) => { - break; - } + Option::None(_) => { break; } }; }; @@ -172,12 +162,8 @@ fn permutation_output_shape(input_shape: Span, mut axes: Span) -> loop { match axes.pop_front() { - Option::Some(item) => { - output_shape.append(*input_shape[*item]); - }, - Option::None(_) => { - break; - } + Option::Some(item) => { output_shape.append(*input_shape[*item]); }, + Option::None(_) => { break; } }; }; @@ -247,9 +233,7 @@ fn find_axis(mut axes: Span, target_axis: usize) -> usize { } axis += 1; }, - Option::None(_) => { - break; - } + Option::None(_) => { break; } }; }; @@ -277,25 +261,17 @@ fn broadcast_shape(mut shape1: Span, mut shape2: Span) -> Span { - dim1 = *item; - }, - Option::None(_) => { - if shape1.len() == 0 && shape2.len() == 0 { - break (); - }; - } + Option::Some(item) => { dim1 = *item; }, + Option::None(_) => { if shape1.len() == 0 && shape2.len() == 0 { + break (); + }; } }; match shape2.pop_front() { - Option::Some(item) => { - dim2 = *item; - }, - Option::None(_) => { - if shape1.len() == 0 && shape2.len() == 0 { - break (); - }; - } + Option::Some(item) => { dim2 = *item; }, + Option::None(_) => { if shape1.len() == 0 && shape2.len() == 0 { + break (); + }; } }; let broadcasted_dim = u32_max(dim1, dim2); @@ -334,9 +310,7 @@ fn replace_index(mut shape: Span, index: usize, value: usize) -> Span { - break; - } + Option::None(_) => { break; } }; }; diff --git a/src/operators/tensor/implementations.cairo b/src/operators/tensor/implementations.cairo index a96030744..61dd41674 100644 --- a/src/operators/tensor/implementations.cairo +++ b/src/operators/tensor/implementations.cairo @@ -6,4 +6,4 @@ mod tensor_fp16x16; mod tensor_fp64x64; mod tensor_fp32x32; mod tensor_fp16x16wide; -mod tensor_fp8x23wide; \ No newline at end of file +mod tensor_fp8x23wide; diff --git a/src/operators/tensor/implementations/tensor_fp16x16.cairo b/src/operators/tensor/implementations/tensor_fp16x16.cairo index b16d724bd..e3307aa42 100644 --- a/src/operators/tensor/implementations/tensor_fp16x16.cairo +++ b/src/operators/tensor/implementations/tensor_fp16x16.cairo @@ -237,11 +237,10 @@ impl FP16x16Tensor of TensorTrait { fn and(self: @Tensor, other: @Tensor) -> Tensor { math::and::and(self, other) } - + fn identity(self: @Tensor) -> Tensor { core::identity(self) } - } /// Implements addition for `Tensor` using the `Add` trait. diff --git a/src/operators/tensor/implementations/tensor_fp16x16wide.cairo b/src/operators/tensor/implementations/tensor_fp16x16wide.cairo index 101ad4d21..ceb61fff5 100644 --- a/src/operators/tensor/implementations/tensor_fp16x16wide.cairo +++ b/src/operators/tensor/implementations/tensor_fp16x16wide.cairo @@ -249,7 +249,6 @@ impl FP16x16WTensor of TensorTrait { fn identity(self: @Tensor) -> Tensor { core::identity(self) } - } /// Implements addition for `Tensor` using the `Add` trait. diff --git a/src/operators/tensor/implementations/tensor_fp32x32.cairo b/src/operators/tensor/implementations/tensor_fp32x32.cairo index 3d0c40dcd..99882ecd3 100644 --- a/src/operators/tensor/implementations/tensor_fp32x32.cairo +++ b/src/operators/tensor/implementations/tensor_fp32x32.cairo @@ -238,11 +238,10 @@ impl FP32x32Tensor of TensorTrait { fn and(self: @Tensor, other: @Tensor) -> Tensor { math::and::and(self, other) } - + fn identity(self: @Tensor) -> Tensor { core::identity(self) } - } /// Implements addition for `Tensor` using the `Add` trait. diff --git a/src/operators/tensor/implementations/tensor_fp64x64.cairo b/src/operators/tensor/implementations/tensor_fp64x64.cairo index 1754a8a4a..39b6043f7 100644 --- a/src/operators/tensor/implementations/tensor_fp64x64.cairo +++ b/src/operators/tensor/implementations/tensor_fp64x64.cairo @@ -238,11 +238,10 @@ impl FP64x64Tensor of TensorTrait { fn and(self: @Tensor, other: @Tensor) -> Tensor { math::and::and(self, other) } - + fn identity(self: @Tensor) -> Tensor { core::identity(self) } - } /// Implements addition for `Tensor` using the `Add` trait. diff --git a/src/operators/tensor/implementations/tensor_fp8x23.cairo b/src/operators/tensor/implementations/tensor_fp8x23.cairo index b13b6545c..c7a8620e2 100644 --- a/src/operators/tensor/implementations/tensor_fp8x23.cairo +++ b/src/operators/tensor/implementations/tensor_fp8x23.cairo @@ -237,11 +237,10 @@ impl FP8x23Tensor of TensorTrait { fn and(self: @Tensor, other: @Tensor) -> Tensor { math::and::and(self, other) } - + fn identity(self: @Tensor) -> Tensor { core::identity(self) } - } /// Implements addition for `Tensor` using the `Add` trait. diff --git a/src/operators/tensor/implementations/tensor_fp8x23wide.cairo b/src/operators/tensor/implementations/tensor_fp8x23wide.cairo index e81beb028..953c4e62d 100644 --- a/src/operators/tensor/implementations/tensor_fp8x23wide.cairo +++ b/src/operators/tensor/implementations/tensor_fp8x23wide.cairo @@ -241,7 +241,6 @@ impl FP8x23WTensor of TensorTrait { fn identity(self: @Tensor) -> Tensor { core::identity(self) } - } /// Implements addition for `Tensor` using the `Add` trait. diff --git a/src/operators/tensor/implementations/tensor_i32.cairo b/src/operators/tensor/implementations/tensor_i32.cairo index d7b9c1548..48ea13bf4 100644 --- a/src/operators/tensor/implementations/tensor_i32.cairo +++ b/src/operators/tensor/implementations/tensor_i32.cairo @@ -236,11 +236,10 @@ impl I32Tensor of TensorTrait { fn and(self: @Tensor, other: @Tensor) -> Tensor { math::and::and(self, other) } - + fn identity(self: @Tensor) -> Tensor { core::identity(self) } - } /// Implements addition for `Tensor` using the `Add` trait. diff --git a/src/operators/tensor/implementations/tensor_i8.cairo b/src/operators/tensor/implementations/tensor_i8.cairo index cbe31cb53..7a79fa566 100644 --- a/src/operators/tensor/implementations/tensor_i8.cairo +++ b/src/operators/tensor/implementations/tensor_i8.cairo @@ -235,11 +235,10 @@ impl I8Tensor of TensorTrait { fn and(self: @Tensor, other: @Tensor) -> Tensor { math::and::and(self, other) } - + fn identity(self: @Tensor) -> Tensor { core::identity(self) } - } /// Implements addition for `Tensor` using the `Add` trait. diff --git a/src/operators/tensor/implementations/tensor_u32.cairo b/src/operators/tensor/implementations/tensor_u32.cairo index 7840c31af..01f1ec309 100644 --- a/src/operators/tensor/implementations/tensor_u32.cairo +++ b/src/operators/tensor/implementations/tensor_u32.cairo @@ -229,11 +229,10 @@ impl U32Tensor of TensorTrait { fn and(self: @Tensor, other: @Tensor) -> Tensor { math::and::and(self, other) } - + fn identity(self: @Tensor) -> Tensor { core::identity(self) } - } /// Implements addition for `Tensor` using the `Add` trait. diff --git a/src/operators/tensor/linalg/matmul.cairo b/src/operators/tensor/linalg/matmul.cairo index ca72ba74a..a1fb9824a 100644 --- a/src/operators/tensor/linalg/matmul.cairo +++ b/src/operators/tensor/linalg/matmul.cairo @@ -78,9 +78,7 @@ fn dot_product< let element_product = *vec1_item * *vec2.pop_front().unwrap(); result += element_product; }, - Option::None(_) => { - break; - } + Option::None(_) => { break; } }; }; @@ -186,12 +184,8 @@ fn prepare_shape_for_matmul(mut shape: Span, is_first_tensor: bool) -> Sp loop { match shape.pop_front() { - Option::Some(item) => { - shape_adjusted.append(*item); - }, - Option::None(_) => { - break; - } + Option::Some(item) => { shape_adjusted.append(*item); }, + Option::None(_) => { break; } }; }; @@ -202,12 +196,8 @@ fn prepare_shape_for_matmul(mut shape: Span, is_first_tensor: bool) -> Sp loop { match shape.pop_front() { - Option::Some(item) => { - shape_adjusted.append(*item); - }, - Option::None(_) => { - break; - } + Option::Some(item) => { shape_adjusted.append(*item); }, + Option::None(_) => { break; } }; }; diff --git a/src/operators/tensor/math/abs.cairo b/src/operators/tensor/math/abs.cairo index 56662aa6c..33aa69578 100644 --- a/src/operators/tensor/math/abs.cairo +++ b/src/operators/tensor/math/abs.cairo @@ -19,12 +19,8 @@ fn abs< let mut data_result = ArrayTrait::::new(); loop { match z.data.pop_front() { - Option::Some(item) => { - data_result.append((*item).abs()); - }, - Option::None(_) => { - break; - } + Option::Some(item) => { data_result.append((*item).abs()); }, + Option::None(_) => { break; } }; }; diff --git a/src/operators/tensor/math/acos.cairo b/src/operators/tensor/math/acos.cairo index b394620cd..dd39d3d9d 100644 --- a/src/operators/tensor/math/acos.cairo +++ b/src/operators/tensor/math/acos.cairo @@ -19,12 +19,8 @@ fn acos< let mut result = ArrayTrait::new(); loop { match self.data.pop_front() { - Option::Some(item) => { - result.append((*item).acos()); - }, - Option::None(_) => { - break; - } + Option::Some(item) => { result.append((*item).acos()); }, + Option::None(_) => { break; } }; }; diff --git a/src/operators/tensor/math/acosh.cairo b/src/operators/tensor/math/acosh.cairo index ed253063e..80e610f5f 100644 --- a/src/operators/tensor/math/acosh.cairo +++ b/src/operators/tensor/math/acosh.cairo @@ -22,12 +22,8 @@ fn acosh< loop { match self.data.pop_front() { - Option::Some(item) => { - result.append((*item).acosh()); - }, - Option::None(_) => { - break; - } + Option::Some(item) => { result.append((*item).acosh()); }, + Option::None(_) => { break; } }; }; diff --git a/src/operators/tensor/math/argmax.cairo b/src/operators/tensor/math/argmax.cairo index d270e0c4c..1060b811f 100644 --- a/src/operators/tensor/math/argmax.cairo +++ b/src/operators/tensor/math/argmax.cairo @@ -56,9 +56,9 @@ fn argmax< }; }; - return TensorTrait::::new( - reduce_output_shape(*self.shape, axis, keepdims), output_data.span() - ); + return TensorTrait::< + usize + >::new(reduce_output_shape(*self.shape, axis, keepdims), output_data.span()); } /// Helper function that finds the index of the maximum value in a flat tensor. @@ -89,9 +89,9 @@ fn find_argmax_1D< let mut max = match input.data.pop_front() { Option::Some(item) => *item, Option::None(_) => { - return TensorTrait::::new( - reduce_output_shape(input.shape, axis, keepdims), output_data.span() - ); + return TensorTrait::< + usize + >::new(reduce_output_shape(input.shape, axis, keepdims), output_data.span()); } }; let mut max_index = 0; @@ -111,17 +111,15 @@ fn find_argmax_1D< } }; }, - Option::None(_) => { - break; - } + Option::None(_) => { break; } }; }; output_data.append(max_index); - return TensorTrait::::new( - reduce_output_shape(input.shape, axis, keepdims), output_data.span() - ); + return TensorTrait::< + usize + >::new(reduce_output_shape(input.shape, axis, keepdims), output_data.span()); } diff --git a/src/operators/tensor/math/argmin.cairo b/src/operators/tensor/math/argmin.cairo index 77217a9ab..f11a2825a 100644 --- a/src/operators/tensor/math/argmin.cairo +++ b/src/operators/tensor/math/argmin.cairo @@ -56,9 +56,9 @@ fn argmin< }; }; - return TensorTrait::::new( - reduce_output_shape(*self.shape, axis, keepdims), output_data.span() - ); + return TensorTrait::< + usize + >::new(reduce_output_shape(*self.shape, axis, keepdims), output_data.span()); } @@ -90,9 +90,9 @@ fn find_argmin_1D< let mut min = match input.data.pop_front() { Option::Some(item) => *item, Option::None(_) => { - return TensorTrait::::new( - reduce_output_shape(input.shape, axis, keepdims), output_data.span() - ); + return TensorTrait::< + usize + >::new(reduce_output_shape(input.shape, axis, keepdims), output_data.span()); } }; let mut min_index = 0; @@ -112,17 +112,15 @@ fn find_argmin_1D< } }; }, - Option::None(_) => { - break; - } + Option::None(_) => { break; } }; }; output_data.append(min_index); - return TensorTrait::::new( - reduce_output_shape(input.shape, axis, keepdims), output_data.span() - ); + return TensorTrait::< + usize + >::new(reduce_output_shape(input.shape, axis, keepdims), output_data.span()); } diff --git a/src/operators/tensor/math/arithmetic.cairo b/src/operators/tensor/math/arithmetic.cairo index 12fbff8c2..46c346ed2 100644 --- a/src/operators/tensor/math/arithmetic.cairo +++ b/src/operators/tensor/math/arithmetic.cairo @@ -58,12 +58,8 @@ fn add_by_scalar< let mut data_result = ArrayTrait::::new(); loop { match input_data.pop_front() { - Option::Some(ele) => { - data_result.append(*ele + val); - }, - Option::None(_) => { - break; - } + Option::Some(ele) => { data_result.append(*ele + val); }, + Option::None(_) => { break; } }; }; @@ -164,12 +160,8 @@ fn sub_by_scalar< let mut data_result = ArrayTrait::::new(); loop { match input_data.pop_front() { - Option::Some(ele) => { - data_result.append(*ele - val); - }, - Option::None(_) => { - break; - } + Option::Some(ele) => { data_result.append(*ele - val); }, + Option::None(_) => { break; } }; }; @@ -270,12 +262,8 @@ fn mul_by_scalar< let mut data_result = ArrayTrait::::new(); loop { match input_data.pop_front() { - Option::Some(ele) => { - data_result.append(*ele * val); - }, - Option::None(_) => { - break; - } + Option::Some(ele) => { data_result.append(*ele * val); }, + Option::None(_) => { break; } }; }; @@ -376,12 +364,8 @@ fn div_by_scalar< let mut data_result = ArrayTrait::::new(); loop { match input_data.pop_front() { - Option::Some(ele) => { - data_result.append(*ele / val); - }, - Option::None(_) => { - break; - } + Option::Some(ele) => { data_result.append(*ele / val); }, + Option::None(_) => { break; } }; }; diff --git a/src/operators/tensor/math/asin.cairo b/src/operators/tensor/math/asin.cairo index 712c34575..2022bc33e 100644 --- a/src/operators/tensor/math/asin.cairo +++ b/src/operators/tensor/math/asin.cairo @@ -20,12 +20,8 @@ fn asin< loop { match self.data.pop_front() { - Option::Some(item) => { - result.append((*item).asin()); - }, - Option::None(_) => { - break; - } + Option::Some(item) => { result.append((*item).asin()); }, + Option::None(_) => { break; } }; }; diff --git a/src/operators/tensor/math/asinh.cairo b/src/operators/tensor/math/asinh.cairo index 4fe92bc16..fc1ea17f6 100644 --- a/src/operators/tensor/math/asinh.cairo +++ b/src/operators/tensor/math/asinh.cairo @@ -23,12 +23,8 @@ fn asinh< loop { match self.data.pop_front() { - Option::Some(item) => { - result.append((*item).asinh()); - }, - Option::None(_) => { - break; - } + Option::Some(item) => { result.append((*item).asinh()); }, + Option::None(_) => { break; } }; }; diff --git a/src/operators/tensor/math/atan.cairo b/src/operators/tensor/math/atan.cairo index d1a0ab3b3..77d123653 100644 --- a/src/operators/tensor/math/atan.cairo +++ b/src/operators/tensor/math/atan.cairo @@ -22,12 +22,8 @@ fn atan< loop { match self.data.pop_front() { - Option::Some(item) => { - result.append((*item).atan()); - }, - Option::None(_) => { - break; - } + Option::Some(item) => { result.append((*item).atan()); }, + Option::None(_) => { break; } }; }; diff --git a/src/operators/tensor/math/ceil.cairo b/src/operators/tensor/math/ceil.cairo index 6b8e68d4b..b2f232a95 100644 --- a/src/operators/tensor/math/ceil.cairo +++ b/src/operators/tensor/math/ceil.cairo @@ -20,12 +20,8 @@ fn ceil< loop { match z.data.pop_front() { - Option::Some(item) => { - data_result.append((*item).ceil()); - }, - Option::None(_) => { - break; - } + Option::Some(item) => { data_result.append((*item).ceil()); }, + Option::None(_) => { break; } }; }; diff --git a/src/operators/tensor/math/concat.cairo b/src/operators/tensor/math/concat.cairo index a6a76b9d1..39353cc2e 100644 --- a/src/operators/tensor/math/concat.cairo +++ b/src/operators/tensor/math/concat.cairo @@ -47,15 +47,11 @@ fn validate_shapes(mut tensors: Span>, mut base_shape: Span, } axis_index += 1; }, - Option::None(_) => { - break; - } + Option::None(_) => { break; } }; }; }, - Option::None(_) => { - break; - } + Option::None(_) => { break; } }; }; } @@ -68,12 +64,8 @@ fn compute_output_size( let mut axis_size = 0; loop { match tensors.pop_front() { - Option::Some(tensor) => { - axis_size += *(*tensor.shape).at(axis); - }, - Option::None(_) => { - break; - } + Option::Some(tensor) => { axis_size += *(*tensor.shape).at(axis); }, + Option::None(_) => { break; } }; }; @@ -88,9 +80,7 @@ fn compute_output_size( } shape_index += 1; }, - Option::None(_) => { - break; - } + Option::None(_) => { break; } }; }; @@ -127,9 +117,7 @@ fn concatenate_data, impl TDrop: Drop,>( inner_index += 1; }; }, - Option::None(_) => { - break; - } + Option::None(_) => { break; } }; }; @@ -153,9 +141,7 @@ fn product_upto(mut shape: Span, upto: usize) -> usize { total *= *val; index += 1; }, - Option::None(_) => { - break; - } + Option::None(_) => { break; } }; }; diff --git a/src/operators/tensor/math/cos.cairo b/src/operators/tensor/math/cos.cairo index e27ad5c1d..678320c1b 100644 --- a/src/operators/tensor/math/cos.cairo +++ b/src/operators/tensor/math/cos.cairo @@ -23,12 +23,8 @@ fn cos< loop { match self.data.pop_front() { - Option::Some(item) => { - result.append((*item).cos()); - }, - Option::None(_) => { - break; - } + Option::Some(item) => { result.append((*item).cos()); }, + Option::None(_) => { break; } }; }; diff --git a/src/operators/tensor/math/cosh.cairo b/src/operators/tensor/math/cosh.cairo index d0c2d8515..58ffd2cc9 100644 --- a/src/operators/tensor/math/cosh.cairo +++ b/src/operators/tensor/math/cosh.cairo @@ -23,12 +23,8 @@ fn cosh< loop { match self.data.pop_front() { - Option::Some(item) => { - result.append((*item).cosh()); - }, - Option::None(_) => { - break; - } + Option::Some(item) => { result.append((*item).cosh()); }, + Option::None(_) => { break; } }; }; diff --git a/src/operators/tensor/math/exp.cairo b/src/operators/tensor/math/exp.cairo index 83f79eac7..dfab30669 100644 --- a/src/operators/tensor/math/exp.cairo +++ b/src/operators/tensor/math/exp.cairo @@ -23,12 +23,8 @@ fn exp< loop { match self.data.pop_front() { - Option::Some(item) => { - result.append((*item).exp()); - }, - Option::None(_) => { - break; - } + Option::Some(item) => { result.append((*item).exp()); }, + Option::None(_) => { break; } }; }; @@ -59,12 +55,8 @@ fn exp_upcast< loop { match self.data.pop_front() { - Option::Some(item) => { - result.append((TIntoW::into(*item)).exp()); - }, - Option::None(_) => { - break; - } + Option::Some(item) => { result.append((TIntoW::into(*item)).exp()); }, + Option::None(_) => { break; } }; }; diff --git a/src/operators/tensor/math/flatten.cairo b/src/operators/tensor/math/flatten.cairo index df295d18e..a16e78a25 100644 --- a/src/operators/tensor/math/flatten.cairo +++ b/src/operators/tensor/math/flatten.cairo @@ -21,9 +21,7 @@ fn flatten>(self: @Tensor, axis: usize) new_shape_first_axis *= *val; index += 1; }, - Option::None(_) => { - break; - } + Option::None(_) => { break; } }; }; diff --git a/src/operators/tensor/math/gather.cairo b/src/operators/tensor/math/gather.cairo index f30d6e96c..ea8b85852 100644 --- a/src/operators/tensor/math/gather.cairo +++ b/src/operators/tensor/math/gather.cairo @@ -37,12 +37,8 @@ fn gather, impl TCopy: Copy, impl TDrop: let mut indices_shape = indices.shape; loop { match indices_shape.pop_front() { - Option::Some(item) => { - output_size.append(*item); - }, - Option::None(_) => { - break; - } + Option::Some(item) => { output_size.append(*item); }, + Option::None(_) => { break; } }; }; } else { @@ -50,9 +46,7 @@ fn gather, impl TCopy: Copy, impl TDrop: } i += 1; }, - Option::None(_) => { - break; - } + Option::None(_) => { break; } }; }; @@ -72,9 +66,7 @@ fn gather, impl TCopy: Copy, impl TDrop: divisor /= *val; i += 1; }, - Option::None(_) => { - break; - } + Option::None(_) => { break; } }; }; @@ -88,9 +80,7 @@ fn gather, impl TCopy: Copy, impl TDrop: } break_loop *= *val; }, - Option::None(_) => { - break; - } + Option::None(_) => { break; } }; }; @@ -118,9 +108,7 @@ fn gather, impl TCopy: Copy, impl TDrop: inner_loop += 1; } }, - Option::None(_) => { - break; - }, + Option::None(_) => { break; }, }; }; diff --git a/src/operators/tensor/math/log.cairo b/src/operators/tensor/math/log.cairo index 1b9413e57..4ad8d6823 100644 --- a/src/operators/tensor/math/log.cairo +++ b/src/operators/tensor/math/log.cairo @@ -23,12 +23,8 @@ fn log< loop { match self.data.pop_front() { - Option::Some(item) => { - result.append((*item).ln()); - }, - Option::None(_) => { - break; - } + Option::Some(item) => { result.append((*item).ln()); }, + Option::None(_) => { break; } }; }; diff --git a/src/operators/tensor/math/max.cairo b/src/operators/tensor/math/max.cairo index 854ef9613..15580c7d7 100644 --- a/src/operators/tensor/math/max.cairo +++ b/src/operators/tensor/math/max.cairo @@ -24,9 +24,7 @@ fn max_in_tensor< max_value = check_max; } }, - Option::None(_) => { - break; - } + Option::None(_) => { break; } }; }; diff --git a/src/operators/tensor/math/min.cairo b/src/operators/tensor/math/min.cairo index 518e0eb69..100b173f0 100644 --- a/src/operators/tensor/math/min.cairo +++ b/src/operators/tensor/math/min.cairo @@ -24,9 +24,7 @@ fn min_in_tensor< min_value = check_min; } }, - Option::None(_) => { - break; - } + Option::None(_) => { break; } }; }; diff --git a/src/operators/tensor/math/neg.cairo b/src/operators/tensor/math/neg.cairo index b34ea16f0..f7bae988f 100644 --- a/src/operators/tensor/math/neg.cairo +++ b/src/operators/tensor/math/neg.cairo @@ -19,12 +19,8 @@ fn neg< let mut data_result = ArrayTrait::::new(); loop { match z.data.pop_front() { - Option::Some(item) => { - data_result.append((*item).neg()); - }, - Option::None(_) => { - break; - } + Option::Some(item) => { data_result.append((*item).neg()); }, + Option::None(_) => { break; } }; }; diff --git a/src/operators/tensor/math/onehot.cairo b/src/operators/tensor/math/onehot.cairo index 4c42845d5..d6e4f4c2c 100644 --- a/src/operators/tensor/math/onehot.cairo +++ b/src/operators/tensor/math/onehot.cairo @@ -48,12 +48,8 @@ fn onehot_encode< // New shape for output data loop { match shape.pop_front() { - Option::Some(size) => { - output_size.append(*size); - }, - Option::None(_) => { - break; - } + Option::Some(size) => { output_size.append(*size); }, + Option::None(_) => { break; } }; }; output_size.append(depth.into()); @@ -75,8 +71,9 @@ fn onehot_encode< if inner_index == depth { break (); }; - let ind = FixedTrait::::new_unscaled(inner_index.try_into().unwrap(), false); + let ind = FixedTrait::< + T, MAG + >::new_unscaled(inner_index.try_into().unwrap(), false); if fixed_number == ind { output_data.append(*values.data.at(1)); @@ -87,9 +84,7 @@ fn onehot_encode< inner_index += 1; }; }, - Option::None(_) => { - break; - } + Option::None(_) => { break; } }; }; diff --git a/src/operators/tensor/math/reduce_sum.cairo b/src/operators/tensor/math/reduce_sum.cairo index fb27c9c26..4bc530cad 100644 --- a/src/operators/tensor/math/reduce_sum.cairo +++ b/src/operators/tensor/math/reduce_sum.cairo @@ -100,12 +100,8 @@ fn accumulate_sum< } else { loop { match input_data.pop_front() { - Option::Some(item) => { - acc += *item; - }, - Option::None(_) => { - break; - } + Option::Some(item) => { acc += *item; }, + Option::None(_) => { break; } }; }; } diff --git a/src/operators/tensor/math/sign.cairo b/src/operators/tensor/math/sign.cairo index 0897a95ac..892ad19d0 100644 --- a/src/operators/tensor/math/sign.cairo +++ b/src/operators/tensor/math/sign.cairo @@ -21,12 +21,8 @@ fn sign< loop { match self.data.pop_front() { - Option::Some(item) => { - result.append((*item).sign()); - }, - Option::None(_) => { - break; - } + Option::Some(item) => { result.append((*item).sign()); }, + Option::None(_) => { break; } }; }; diff --git a/src/operators/tensor/math/sin.cairo b/src/operators/tensor/math/sin.cairo index fb8212a77..0a93aea5d 100644 --- a/src/operators/tensor/math/sin.cairo +++ b/src/operators/tensor/math/sin.cairo @@ -23,12 +23,8 @@ fn sin< loop { match self.data.pop_front() { - Option::Some(item) => { - result.append((*item).sin()); - }, - Option::None(_) => { - break; - } + Option::Some(item) => { result.append((*item).sin()); }, + Option::None(_) => { break; } }; }; diff --git a/src/operators/tensor/math/sinh.cairo b/src/operators/tensor/math/sinh.cairo index f728bf966..3437e5ade 100644 --- a/src/operators/tensor/math/sinh.cairo +++ b/src/operators/tensor/math/sinh.cairo @@ -23,12 +23,8 @@ fn sinh< loop { match self.data.pop_front() { - Option::Some(item) => { - result.append((*item).sinh()); - }, - Option::None(_) => { - break; - } + Option::Some(item) => { result.append((*item).sinh()); }, + Option::None(_) => { break; } }; }; diff --git a/src/operators/tensor/math/sqrt.cairo b/src/operators/tensor/math/sqrt.cairo index 39cae98a4..5e0119103 100644 --- a/src/operators/tensor/math/sqrt.cairo +++ b/src/operators/tensor/math/sqrt.cairo @@ -22,12 +22,8 @@ fn sqrt< loop { match self.data.pop_front() { - Option::Some(item) => { - result.append((*item).sqrt()); - }, - Option::None(_) => { - break; - } + Option::Some(item) => { result.append((*item).sqrt()); }, + Option::None(_) => { break; } }; }; diff --git a/src/operators/tensor/math/tanh.cairo b/src/operators/tensor/math/tanh.cairo index cb12690c5..12bc8a396 100644 --- a/src/operators/tensor/math/tanh.cairo +++ b/src/operators/tensor/math/tanh.cairo @@ -23,12 +23,8 @@ fn tanh< loop { match self.data.pop_front() { - Option::Some(item) => { - result.append((*item).tanh()); - }, - Option::None(_) => { - break; - } + Option::Some(item) => { result.append((*item).tanh()); }, + Option::None(_) => { break; } }; }; diff --git a/src/operators/tensor/quantization/dequantize_linear.cairo b/src/operators/tensor/quantization/dequantize_linear.cairo index 1ca4bf8d5..dd99f92a8 100644 --- a/src/operators/tensor/quantization/dequantize_linear.cairo +++ b/src/operators/tensor/quantization/dequantize_linear.cairo @@ -72,9 +72,7 @@ fn dequantize_element_wise< let dequantized = dequantize(*item, x_scale, x_zero_point); result_data.append(dequantized); }, - Option::None(_) => { - break; - } + Option::None(_) => { break; } }; }; diff --git a/src/operators/tensor/quantization/quantize_linear.cairo b/src/operators/tensor/quantization/quantize_linear.cairo index 4c68edfe4..32f527696 100644 --- a/src/operators/tensor/quantization/quantize_linear.cairo +++ b/src/operators/tensor/quantization/quantize_linear.cairo @@ -78,9 +78,7 @@ fn quantize_element_wise< let quantized = quantize(*item, y_scale, y_zero_point, min, max); result_data.append(quantized); }, - Option::None(_) => { - break; - } + Option::None(_) => { break; } }; }; diff --git a/tests/ml/tree_regressor.cairo b/tests/ml/tree_regressor.cairo index 98a9a3265..235f704ee 100644 --- a/tests/ml/tree_regressor.cairo +++ b/tests/ml/tree_regressor.cairo @@ -1 +1,2 @@ -// TODO: make test once Tree transpilation implemented \ No newline at end of file +// TODO: make test once Tree transpilation implemented + diff --git a/tests/nodes.cairo b/tests/nodes.cairo index 466b0e664..1ad8bb5ee 100644 --- a/tests/nodes.cairo +++ b/tests/nodes.cairo @@ -433,34 +433,34 @@ mod clip_i8_2d; mod clip_i8_3d; mod clip_u32_2d; mod clip_u32_3d; -mod and_fp16x16; -mod and_fp16x16_broadcast; -mod and_fp8x23; -mod and_fp8x23_broadcast; -mod and_i32; -mod and_i32_broadcast; -mod and_i8; -mod and_i8_broadcast; -mod and_u32; -mod and_u32_broadcast; -mod identity_fP16x16; -mod identity_fP8x23; -mod identity_i32; -mod identity_i8; +mod and_fp16x16; +mod and_fp16x16_broadcast; +mod and_fp8x23; +mod and_fp8x23_broadcast; +mod and_i32; +mod and_i32_broadcast; +mod and_i8; +mod and_i8_broadcast; +mod and_u32; +mod and_u32_broadcast; +mod identity_fP16x16; +mod identity_fP8x23; +mod identity_i32; +mod identity_i8; mod identity_u32; -mod thresholded_relu_fp16x16; -mod thresholded_relu_fp8x23; -mod hard_sigmoid_fp8x23; -mod hard_sigmoid_fp16x16; -mod neg_fp16x16; -mod neg_fp8x23; -mod neg_i32; -mod neg_i8; -mod gemm_all_attributes; -mod gemm_alpha; -mod gemm_beta; -mod gemm_default_matrix_bias; -mod gemm_default_vector_bias; -mod gemm_default_no_bias; -mod gemm_transposeA; -mod gemm_transposeB; +mod thresholded_relu_fp16x16; +mod thresholded_relu_fp8x23; +mod hard_sigmoid_fp8x23; +mod hard_sigmoid_fp16x16; +mod neg_fp16x16; +mod neg_fp8x23; +mod neg_i32; +mod neg_i8; +mod gemm_all_attributes; +mod gemm_alpha; +mod gemm_beta; +mod gemm_default_matrix_bias; +mod gemm_default_vector_bias; +mod gemm_default_no_bias; +mod gemm_transposeA; +mod gemm_transposeB; diff --git a/tests/nodes/and_fp16x16.cairo b/tests/nodes/and_fp16x16.cairo index 87b32da17..dcd53ea37 100644 --- a/tests/nodes/and_fp16x16.cairo +++ b/tests/nodes/and_fp16x16.cairo @@ -1,6 +1,6 @@ -mod input_0; -mod input_1; -mod output_0; +mod input_0; +mod input_1; +mod output_0; use array::{ArrayTrait, SpanTrait}; @@ -19,4 +19,4 @@ fn test_and_fp16x16() { let y = input_0.and(@input_1); assert_eq(y, z); -} \ No newline at end of file +} diff --git a/tests/nodes/and_fp16x16/input_0.cairo b/tests/nodes/and_fp16x16/input_0.cairo index 05fb9a94d..b32a5f0b6 100644 --- a/tests/nodes/and_fp16x16/input_0.cairo +++ b/tests/nodes/and_fp16x16/input_0.cairo @@ -39,4 +39,4 @@ fn input_0() -> Tensor { data.append(FP16x16 { mag: 196608, sign: true }); data.append(FP16x16 { mag: 131072, sign: true }); TensorTrait::new(shape.span(), data.span()) -} \ No newline at end of file +} diff --git a/tests/nodes/and_fp16x16/input_1.cairo b/tests/nodes/and_fp16x16/input_1.cairo index 991a8f688..2b2036fce 100644 --- a/tests/nodes/and_fp16x16/input_1.cairo +++ b/tests/nodes/and_fp16x16/input_1.cairo @@ -39,4 +39,4 @@ fn input_1() -> Tensor { data.append(FP16x16 { mag: 196608, sign: true }); data.append(FP16x16 { mag: 131072, sign: true }); TensorTrait::new(shape.span(), data.span()) -} \ No newline at end of file +} diff --git a/tests/nodes/and_fp16x16/output_0.cairo b/tests/nodes/and_fp16x16/output_0.cairo index 75d7aed70..8a754463f 100644 --- a/tests/nodes/and_fp16x16/output_0.cairo +++ b/tests/nodes/and_fp16x16/output_0.cairo @@ -37,4 +37,4 @@ fn output_0() -> Tensor { data.append(1); data.append(1); TensorTrait::new(shape.span(), data.span()) -} \ No newline at end of file +} diff --git a/tests/nodes/and_fp16x16_broadcast.cairo b/tests/nodes/and_fp16x16_broadcast.cairo index 3abd8c250..0f0a979da 100644 --- a/tests/nodes/and_fp16x16_broadcast.cairo +++ b/tests/nodes/and_fp16x16_broadcast.cairo @@ -1,6 +1,6 @@ -mod input_0; -mod input_1; -mod output_0; +mod input_0; +mod input_1; +mod output_0; use array::{ArrayTrait, SpanTrait}; @@ -19,4 +19,4 @@ fn test_and_fp16x16_broadcast() { let y = input_0.and(@input_1); assert_eq(y, z); -} \ No newline at end of file +} diff --git a/tests/nodes/and_fp16x16_broadcast/input_0.cairo b/tests/nodes/and_fp16x16_broadcast/input_0.cairo index a461be36c..2554de21d 100644 --- a/tests/nodes/and_fp16x16_broadcast/input_0.cairo +++ b/tests/nodes/and_fp16x16_broadcast/input_0.cairo @@ -15,4 +15,4 @@ fn input_0() -> Tensor { data.append(FP16x16 { mag: 65536, sign: false }); data.append(FP16x16 { mag: 65536, sign: false }); TensorTrait::new(shape.span(), data.span()) -} \ No newline at end of file +} diff --git a/tests/nodes/and_fp16x16_broadcast/input_1.cairo b/tests/nodes/and_fp16x16_broadcast/input_1.cairo index 0bc098ab8..019f2f532 100644 --- a/tests/nodes/and_fp16x16_broadcast/input_1.cairo +++ b/tests/nodes/and_fp16x16_broadcast/input_1.cairo @@ -13,4 +13,4 @@ fn input_1() -> Tensor { data.append(FP16x16 { mag: 65536, sign: false }); data.append(FP16x16 { mag: 131072, sign: false }); TensorTrait::new(shape.span(), data.span()) -} \ No newline at end of file +} diff --git a/tests/nodes/and_fp16x16_broadcast/output_0.cairo b/tests/nodes/and_fp16x16_broadcast/output_0.cairo index 2094003c4..12e081541 100644 --- a/tests/nodes/and_fp16x16_broadcast/output_0.cairo +++ b/tests/nodes/and_fp16x16_broadcast/output_0.cairo @@ -13,4 +13,4 @@ fn output_0() -> Tensor { data.append(1); data.append(1); TensorTrait::new(shape.span(), data.span()) -} \ No newline at end of file +} diff --git a/tests/nodes/and_fp8x23.cairo b/tests/nodes/and_fp8x23.cairo index 17e9bdad0..373cfadaf 100644 --- a/tests/nodes/and_fp8x23.cairo +++ b/tests/nodes/and_fp8x23.cairo @@ -1,6 +1,6 @@ -mod input_0; -mod input_1; -mod output_0; +mod input_0; +mod input_1; +mod output_0; use array::{ArrayTrait, SpanTrait}; @@ -19,4 +19,4 @@ fn test_and_fp8x23() { let y = input_0.and(@input_1); assert_eq(y, z); -} \ No newline at end of file +} diff --git a/tests/nodes/and_fp8x23/input_0.cairo b/tests/nodes/and_fp8x23/input_0.cairo index d43898dd1..b093e4c53 100644 --- a/tests/nodes/and_fp8x23/input_0.cairo +++ b/tests/nodes/and_fp8x23/input_0.cairo @@ -39,4 +39,4 @@ fn input_0() -> Tensor { data.append(FP8x23 { mag: 25165824, sign: true }); data.append(FP8x23 { mag: 16777216, sign: false }); TensorTrait::new(shape.span(), data.span()) -} \ No newline at end of file +} diff --git a/tests/nodes/and_fp8x23/input_1.cairo b/tests/nodes/and_fp8x23/input_1.cairo index d2d59fda5..0553e0019 100644 --- a/tests/nodes/and_fp8x23/input_1.cairo +++ b/tests/nodes/and_fp8x23/input_1.cairo @@ -39,4 +39,4 @@ fn input_1() -> Tensor { data.append(FP8x23 { mag: 0, sign: false }); data.append(FP8x23 { mag: 8388608, sign: false }); TensorTrait::new(shape.span(), data.span()) -} \ No newline at end of file +} diff --git a/tests/nodes/and_fp8x23/output_0.cairo b/tests/nodes/and_fp8x23/output_0.cairo index e2e18825c..fa2a76b74 100644 --- a/tests/nodes/and_fp8x23/output_0.cairo +++ b/tests/nodes/and_fp8x23/output_0.cairo @@ -37,4 +37,4 @@ fn output_0() -> Tensor { data.append(0); data.append(1); TensorTrait::new(shape.span(), data.span()) -} \ No newline at end of file +} diff --git a/tests/nodes/and_fp8x23_broadcast.cairo b/tests/nodes/and_fp8x23_broadcast.cairo index d54fd4afe..ad50264f8 100644 --- a/tests/nodes/and_fp8x23_broadcast.cairo +++ b/tests/nodes/and_fp8x23_broadcast.cairo @@ -1,6 +1,6 @@ -mod input_0; -mod input_1; -mod output_0; +mod input_0; +mod input_1; +mod output_0; use array::{ArrayTrait, SpanTrait}; @@ -19,4 +19,4 @@ fn test_and_fp8x23_broadcast() { let y = input_0.and(@input_1); assert_eq(y, z); -} \ No newline at end of file +} diff --git a/tests/nodes/and_fp8x23_broadcast/input_0.cairo b/tests/nodes/and_fp8x23_broadcast/input_0.cairo index 4bcaf93cd..f7cb3a134 100644 --- a/tests/nodes/and_fp8x23_broadcast/input_0.cairo +++ b/tests/nodes/and_fp8x23_broadcast/input_0.cairo @@ -15,4 +15,4 @@ fn input_0() -> Tensor { data.append(FP8x23 { mag: 25165824, sign: true }); data.append(FP8x23 { mag: 16777216, sign: false }); TensorTrait::new(shape.span(), data.span()) -} \ No newline at end of file +} diff --git a/tests/nodes/and_fp8x23_broadcast/input_1.cairo b/tests/nodes/and_fp8x23_broadcast/input_1.cairo index 538d00e70..35cf05e4e 100644 --- a/tests/nodes/and_fp8x23_broadcast/input_1.cairo +++ b/tests/nodes/and_fp8x23_broadcast/input_1.cairo @@ -13,4 +13,4 @@ fn input_1() -> Tensor { data.append(FP8x23 { mag: 16777216, sign: false }); data.append(FP8x23 { mag: 8388608, sign: false }); TensorTrait::new(shape.span(), data.span()) -} \ No newline at end of file +} diff --git a/tests/nodes/and_fp8x23_broadcast/output_0.cairo b/tests/nodes/and_fp8x23_broadcast/output_0.cairo index e7b1da4b1..3883dcaf3 100644 --- a/tests/nodes/and_fp8x23_broadcast/output_0.cairo +++ b/tests/nodes/and_fp8x23_broadcast/output_0.cairo @@ -13,4 +13,4 @@ fn output_0() -> Tensor { data.append(1); data.append(1); TensorTrait::new(shape.span(), data.span()) -} \ No newline at end of file +} diff --git a/tests/nodes/and_i32.cairo b/tests/nodes/and_i32.cairo index 6c85c1433..fd56fd1bb 100644 --- a/tests/nodes/and_i32.cairo +++ b/tests/nodes/and_i32.cairo @@ -1,6 +1,6 @@ -mod input_0; -mod input_1; -mod output_0; +mod input_0; +mod input_1; +mod output_0; use array::{ArrayTrait, SpanTrait}; @@ -19,4 +19,4 @@ fn test_and_i32() { let y = input_0.and(@input_1); assert_eq(y, z); -} \ No newline at end of file +} diff --git a/tests/nodes/and_i32/input_0.cairo b/tests/nodes/and_i32/input_0.cairo index 246a30bdf..bb190dea5 100644 --- a/tests/nodes/and_i32/input_0.cairo +++ b/tests/nodes/and_i32/input_0.cairo @@ -38,4 +38,4 @@ fn input_0() -> Tensor { data.append(i32 { mag: 0, sign: false }); data.append(i32 { mag: 1, sign: false }); TensorTrait::new(shape.span(), data.span()) -} \ No newline at end of file +} diff --git a/tests/nodes/and_i32/input_1.cairo b/tests/nodes/and_i32/input_1.cairo index 2798d8bf5..45d38f5a8 100644 --- a/tests/nodes/and_i32/input_1.cairo +++ b/tests/nodes/and_i32/input_1.cairo @@ -38,4 +38,4 @@ fn input_1() -> Tensor { data.append(i32 { mag: 1, sign: true }); data.append(i32 { mag: 0, sign: false }); TensorTrait::new(shape.span(), data.span()) -} \ No newline at end of file +} diff --git a/tests/nodes/and_i32/output_0.cairo b/tests/nodes/and_i32/output_0.cairo index 5cfd192c9..bb81daa72 100644 --- a/tests/nodes/and_i32/output_0.cairo +++ b/tests/nodes/and_i32/output_0.cairo @@ -37,4 +37,4 @@ fn output_0() -> Tensor { data.append(0); data.append(0); TensorTrait::new(shape.span(), data.span()) -} \ No newline at end of file +} diff --git a/tests/nodes/and_i32_broadcast.cairo b/tests/nodes/and_i32_broadcast.cairo index 33f7abd02..761e4e147 100644 --- a/tests/nodes/and_i32_broadcast.cairo +++ b/tests/nodes/and_i32_broadcast.cairo @@ -1,6 +1,6 @@ -mod input_0; -mod input_1; -mod output_0; +mod input_0; +mod input_1; +mod output_0; use array::{ArrayTrait, SpanTrait}; @@ -19,4 +19,4 @@ fn test_and_i32_broadcast() { let y = input_0.and(@input_1); assert_eq(y, z); -} \ No newline at end of file +} diff --git a/tests/nodes/and_i32_broadcast/input_0.cairo b/tests/nodes/and_i32_broadcast/input_0.cairo index 8893b6d3b..2d6775e4b 100644 --- a/tests/nodes/and_i32_broadcast/input_0.cairo +++ b/tests/nodes/and_i32_broadcast/input_0.cairo @@ -14,4 +14,4 @@ fn input_0() -> Tensor { data.append(i32 { mag: 0, sign: false }); data.append(i32 { mag: 0, sign: false }); TensorTrait::new(shape.span(), data.span()) -} \ No newline at end of file +} diff --git a/tests/nodes/and_i32_broadcast/input_1.cairo b/tests/nodes/and_i32_broadcast/input_1.cairo index 0e3bae4c3..07dcdc4f2 100644 --- a/tests/nodes/and_i32_broadcast/input_1.cairo +++ b/tests/nodes/and_i32_broadcast/input_1.cairo @@ -12,4 +12,4 @@ fn input_1() -> Tensor { data.append(i32 { mag: 2, sign: false }); data.append(i32 { mag: 3, sign: true }); TensorTrait::new(shape.span(), data.span()) -} \ No newline at end of file +} diff --git a/tests/nodes/and_i32_broadcast/output_0.cairo b/tests/nodes/and_i32_broadcast/output_0.cairo index 386b678ef..f7205c752 100644 --- a/tests/nodes/and_i32_broadcast/output_0.cairo +++ b/tests/nodes/and_i32_broadcast/output_0.cairo @@ -13,4 +13,4 @@ fn output_0() -> Tensor { data.append(0); data.append(0); TensorTrait::new(shape.span(), data.span()) -} \ No newline at end of file +} diff --git a/tests/nodes/and_i8.cairo b/tests/nodes/and_i8.cairo index 7d2e67c2d..5f03b69eb 100644 --- a/tests/nodes/and_i8.cairo +++ b/tests/nodes/and_i8.cairo @@ -1,6 +1,6 @@ -mod input_0; -mod input_1; -mod output_0; +mod input_0; +mod input_1; +mod output_0; use array::{ArrayTrait, SpanTrait}; @@ -19,4 +19,4 @@ fn test_and_i8() { let y = input_0.and(@input_1); assert_eq(y, z); -} \ No newline at end of file +} diff --git a/tests/nodes/and_i8/input_0.cairo b/tests/nodes/and_i8/input_0.cairo index 4271563b5..0c3934de7 100644 --- a/tests/nodes/and_i8/input_0.cairo +++ b/tests/nodes/and_i8/input_0.cairo @@ -38,4 +38,4 @@ fn input_0() -> Tensor { data.append(i8 { mag: 0, sign: false }); data.append(i8 { mag: 1, sign: true }); TensorTrait::new(shape.span(), data.span()) -} \ No newline at end of file +} diff --git a/tests/nodes/and_i8/input_1.cairo b/tests/nodes/and_i8/input_1.cairo index ba15f89b4..43c7fdb27 100644 --- a/tests/nodes/and_i8/input_1.cairo +++ b/tests/nodes/and_i8/input_1.cairo @@ -38,4 +38,4 @@ fn input_1() -> Tensor { data.append(i8 { mag: 1, sign: true }); data.append(i8 { mag: 2, sign: true }); TensorTrait::new(shape.span(), data.span()) -} \ No newline at end of file +} diff --git a/tests/nodes/and_i8/output_0.cairo b/tests/nodes/and_i8/output_0.cairo index 3e2f5f3f3..f3a1ad29a 100644 --- a/tests/nodes/and_i8/output_0.cairo +++ b/tests/nodes/and_i8/output_0.cairo @@ -37,4 +37,4 @@ fn output_0() -> Tensor { data.append(0); data.append(1); TensorTrait::new(shape.span(), data.span()) -} \ No newline at end of file +} diff --git a/tests/nodes/and_i8_broadcast.cairo b/tests/nodes/and_i8_broadcast.cairo index 12d5f13e7..d2da45ca6 100644 --- a/tests/nodes/and_i8_broadcast.cairo +++ b/tests/nodes/and_i8_broadcast.cairo @@ -1,6 +1,6 @@ -mod input_0; -mod input_1; -mod output_0; +mod input_0; +mod input_1; +mod output_0; use array::{ArrayTrait, SpanTrait}; @@ -19,4 +19,4 @@ fn test_and_i8_broadcast() { let y = input_0.and(@input_1); assert_eq(y, z); -} \ No newline at end of file +} diff --git a/tests/nodes/and_i8_broadcast/input_0.cairo b/tests/nodes/and_i8_broadcast/input_0.cairo index 6de8ea3a8..542c0c702 100644 --- a/tests/nodes/and_i8_broadcast/input_0.cairo +++ b/tests/nodes/and_i8_broadcast/input_0.cairo @@ -14,4 +14,4 @@ fn input_0() -> Tensor { data.append(i8 { mag: 2, sign: true }); data.append(i8 { mag: 2, sign: false }); TensorTrait::new(shape.span(), data.span()) -} \ No newline at end of file +} diff --git a/tests/nodes/and_i8_broadcast/input_1.cairo b/tests/nodes/and_i8_broadcast/input_1.cairo index 1bc1a2f2b..e9b39b561 100644 --- a/tests/nodes/and_i8_broadcast/input_1.cairo +++ b/tests/nodes/and_i8_broadcast/input_1.cairo @@ -12,4 +12,4 @@ fn input_1() -> Tensor { data.append(i8 { mag: 0, sign: false }); data.append(i8 { mag: 1, sign: false }); TensorTrait::new(shape.span(), data.span()) -} \ No newline at end of file +} diff --git a/tests/nodes/and_i8_broadcast/output_0.cairo b/tests/nodes/and_i8_broadcast/output_0.cairo index 328774a25..f90728ddd 100644 --- a/tests/nodes/and_i8_broadcast/output_0.cairo +++ b/tests/nodes/and_i8_broadcast/output_0.cairo @@ -13,4 +13,4 @@ fn output_0() -> Tensor { data.append(0); data.append(1); TensorTrait::new(shape.span(), data.span()) -} \ No newline at end of file +} diff --git a/tests/nodes/and_u32.cairo b/tests/nodes/and_u32.cairo index 477f59981..f5c996719 100644 --- a/tests/nodes/and_u32.cairo +++ b/tests/nodes/and_u32.cairo @@ -1,6 +1,6 @@ -mod input_0; -mod input_1; -mod output_0; +mod input_0; +mod input_1; +mod output_0; use array::{ArrayTrait, SpanTrait}; @@ -19,4 +19,4 @@ fn test_and_u32() { let y = input_0.and(@input_1); assert_eq(y, z); -} \ No newline at end of file +} diff --git a/tests/nodes/and_u32/input_0.cairo b/tests/nodes/and_u32/input_0.cairo index a1d822fcd..f04e9df2f 100644 --- a/tests/nodes/and_u32/input_0.cairo +++ b/tests/nodes/and_u32/input_0.cairo @@ -37,4 +37,4 @@ fn input_0() -> Tensor { data.append(0); data.append(1); TensorTrait::new(shape.span(), data.span()) -} \ No newline at end of file +} diff --git a/tests/nodes/and_u32/input_1.cairo b/tests/nodes/and_u32/input_1.cairo index 37ce51b01..3b2fcb9c1 100644 --- a/tests/nodes/and_u32/input_1.cairo +++ b/tests/nodes/and_u32/input_1.cairo @@ -37,4 +37,4 @@ fn input_1() -> Tensor { data.append(3); data.append(4); TensorTrait::new(shape.span(), data.span()) -} \ No newline at end of file +} diff --git a/tests/nodes/and_u32/output_0.cairo b/tests/nodes/and_u32/output_0.cairo index 0eced5867..576401ac8 100644 --- a/tests/nodes/and_u32/output_0.cairo +++ b/tests/nodes/and_u32/output_0.cairo @@ -37,4 +37,4 @@ fn output_0() -> Tensor { data.append(0); data.append(1); TensorTrait::new(shape.span(), data.span()) -} \ No newline at end of file +} diff --git a/tests/nodes/and_u32_broadcast.cairo b/tests/nodes/and_u32_broadcast.cairo index a98e806d9..cf022d7e5 100644 --- a/tests/nodes/and_u32_broadcast.cairo +++ b/tests/nodes/and_u32_broadcast.cairo @@ -1,6 +1,6 @@ -mod input_0; -mod input_1; -mod output_0; +mod input_0; +mod input_1; +mod output_0; use array::{ArrayTrait, SpanTrait}; @@ -19,4 +19,4 @@ fn test_and_u32_broadcast() { let y = input_0.and(@input_1); assert_eq(y, z); -} \ No newline at end of file +} diff --git a/tests/nodes/and_u32_broadcast/input_0.cairo b/tests/nodes/and_u32_broadcast/input_0.cairo index afd5ea46c..17f01780b 100644 --- a/tests/nodes/and_u32_broadcast/input_0.cairo +++ b/tests/nodes/and_u32_broadcast/input_0.cairo @@ -13,4 +13,4 @@ fn input_0() -> Tensor { data.append(5); data.append(4); TensorTrait::new(shape.span(), data.span()) -} \ No newline at end of file +} diff --git a/tests/nodes/and_u32_broadcast/input_1.cairo b/tests/nodes/and_u32_broadcast/input_1.cairo index ea3e50244..a11f0a16e 100644 --- a/tests/nodes/and_u32_broadcast/input_1.cairo +++ b/tests/nodes/and_u32_broadcast/input_1.cairo @@ -11,4 +11,4 @@ fn input_1() -> Tensor { data.append(5); data.append(5); TensorTrait::new(shape.span(), data.span()) -} \ No newline at end of file +} diff --git a/tests/nodes/and_u32_broadcast/output_0.cairo b/tests/nodes/and_u32_broadcast/output_0.cairo index e7b1da4b1..3883dcaf3 100644 --- a/tests/nodes/and_u32_broadcast/output_0.cairo +++ b/tests/nodes/and_u32_broadcast/output_0.cairo @@ -13,4 +13,4 @@ fn output_0() -> Tensor { data.append(1); data.append(1); TensorTrait::new(shape.span(), data.span()) -} \ No newline at end of file +} diff --git a/tests/nodes/gemm_all_attributes/input_0.cairo b/tests/nodes/gemm_all_attributes/input_0.cairo index 8f6e44c42..2c7e91b7f 100644 --- a/tests/nodes/gemm_all_attributes/input_0.cairo +++ b/tests/nodes/gemm_all_attributes/input_0.cairo @@ -23,4 +23,4 @@ fn input_0() -> Tensor { data.append(FP16x16 { mag: 40779, sign: false }); data.append(FP16x16 { mag: 41935, sign: false }); TensorTrait::new(shape.span(), data.span()) -} \ No newline at end of file +} diff --git a/tests/nodes/gemm_all_attributes/input_1.cairo b/tests/nodes/gemm_all_attributes/input_1.cairo index 1ac4d61df..1e66acb98 100644 --- a/tests/nodes/gemm_all_attributes/input_1.cairo +++ b/tests/nodes/gemm_all_attributes/input_1.cairo @@ -31,4 +31,4 @@ fn input_1() -> Tensor { data.append(FP16x16 { mag: 2602, sign: false }); data.append(FP16x16 { mag: 12136, sign: false }); TensorTrait::new(shape.span(), data.span()) -} \ No newline at end of file +} diff --git a/tests/nodes/gemm_all_attributes/input_2.cairo b/tests/nodes/gemm_all_attributes/input_2.cairo index fcf62d4c2..7339b5f95 100644 --- a/tests/nodes/gemm_all_attributes/input_2.cairo +++ b/tests/nodes/gemm_all_attributes/input_2.cairo @@ -16,4 +16,4 @@ fn input_2() -> Tensor { data.append(FP16x16 { mag: 20143, sign: false }); data.append(FP16x16 { mag: 23206, sign: false }); TensorTrait::new(shape.span(), data.span()) -} \ No newline at end of file +} diff --git a/tests/nodes/gemm_all_attributes/output_0.cairo b/tests/nodes/gemm_all_attributes/output_0.cairo index 3b5c49233..b8ed0cb53 100644 --- a/tests/nodes/gemm_all_attributes/output_0.cairo +++ b/tests/nodes/gemm_all_attributes/output_0.cairo @@ -26,4 +26,4 @@ fn output_0() -> Tensor { data.append(FP16x16 { mag: 23721, sign: false }); data.append(FP16x16 { mag: 15499, sign: false }); TensorTrait::new(shape.span(), data.span()) -} \ No newline at end of file +} diff --git a/tests/nodes/gemm_alpha.cairo b/tests/nodes/gemm_alpha.cairo index bc10ace4e..8e7385877 100644 --- a/tests/nodes/gemm_alpha.cairo +++ b/tests/nodes/gemm_alpha.cairo @@ -1,6 +1,6 @@ -mod input_0; -mod input_1; -mod output_0; +mod input_0; +mod input_1; +mod output_0; use orion::operators::nn::NNTrait; @@ -16,7 +16,15 @@ fn test_gemm_alpha() { let input_1 = input_1::input_1(); let z = output_0::output_0(); - let y = NNTrait::gemm(input_0, input_1, Option::None(()), Option::Some(FixedTrait::new(32768, false)), Option::None(()), false, false); + let y = NNTrait::gemm( + input_0, + input_1, + Option::None(()), + Option::Some(FixedTrait::new(32768, false)), + Option::None(()), + false, + false + ); assert_eq(y, z); -} \ No newline at end of file +} diff --git a/tests/nodes/gemm_alpha/input_0.cairo b/tests/nodes/gemm_alpha/input_0.cairo index dbe226af7..c0d4ff0f3 100644 --- a/tests/nodes/gemm_alpha/input_0.cairo +++ b/tests/nodes/gemm_alpha/input_0.cairo @@ -26,4 +26,4 @@ fn input_0() -> Tensor { data.append(FP16x16 { mag: 46201, sign: false }); data.append(FP16x16 { mag: 51565, sign: false }); TensorTrait::new(shape.span(), data.span()) -} \ No newline at end of file +} diff --git a/tests/nodes/gemm_alpha/input_1.cairo b/tests/nodes/gemm_alpha/input_1.cairo index d170ea9c4..f37539ec8 100644 --- a/tests/nodes/gemm_alpha/input_1.cairo +++ b/tests/nodes/gemm_alpha/input_1.cairo @@ -31,4 +31,4 @@ fn input_1() -> Tensor { data.append(FP16x16 { mag: 59520, sign: false }); data.append(FP16x16 { mag: 40977, sign: false }); TensorTrait::new(shape.span(), data.span()) -} \ No newline at end of file +} diff --git a/tests/nodes/gemm_alpha/output_0.cairo b/tests/nodes/gemm_alpha/output_0.cairo index 0ccff1b3a..2f7b7cd31 100644 --- a/tests/nodes/gemm_alpha/output_0.cairo +++ b/tests/nodes/gemm_alpha/output_0.cairo @@ -23,4 +23,4 @@ fn output_0() -> Tensor { data.append(FP16x16 { mag: 49237, sign: false }); data.append(FP16x16 { mag: 36865, sign: false }); TensorTrait::new(shape.span(), data.span()) -} \ No newline at end of file +} diff --git a/tests/nodes/gemm_beta.cairo b/tests/nodes/gemm_beta.cairo index e12b6a0fc..1507da49a 100644 --- a/tests/nodes/gemm_beta.cairo +++ b/tests/nodes/gemm_beta.cairo @@ -1,7 +1,7 @@ -mod input_0; -mod input_1; -mod input_2; -mod output_0; +mod input_0; +mod input_1; +mod input_2; +mod output_0; use orion::operators::nn::NNTrait; @@ -18,7 +18,15 @@ fn test_gemm_beta() { let input_2 = input_2::input_2(); let z = output_0::output_0(); - let y = NNTrait::gemm(input_0, input_1, Option::Some(input_2), Option::None(()), Option::Some(FixedTrait::new(32768, false)), false, false); + let y = NNTrait::gemm( + input_0, + input_1, + Option::Some(input_2), + Option::None(()), + Option::Some(FixedTrait::new(32768, false)), + false, + false + ); assert_eq(y, z); -} \ No newline at end of file +} diff --git a/tests/nodes/gemm_beta/input_0.cairo b/tests/nodes/gemm_beta/input_0.cairo index c90783e32..4a61c26b9 100644 --- a/tests/nodes/gemm_beta/input_0.cairo +++ b/tests/nodes/gemm_beta/input_0.cairo @@ -25,4 +25,4 @@ fn input_0() -> Tensor { data.append(FP16x16 { mag: 7074, sign: false }); data.append(FP16x16 { mag: 45946, sign: false }); TensorTrait::new(shape.span(), data.span()) -} \ No newline at end of file +} diff --git a/tests/nodes/gemm_beta/input_1.cairo b/tests/nodes/gemm_beta/input_1.cairo index adef0b2c0..3da60ea52 100644 --- a/tests/nodes/gemm_beta/input_1.cairo +++ b/tests/nodes/gemm_beta/input_1.cairo @@ -39,4 +39,4 @@ fn input_1() -> Tensor { data.append(FP16x16 { mag: 25652, sign: false }); data.append(FP16x16 { mag: 20892, sign: false }); TensorTrait::new(shape.span(), data.span()) -} \ No newline at end of file +} diff --git a/tests/nodes/gemm_beta/input_2.cairo b/tests/nodes/gemm_beta/input_2.cairo index 1a31b973d..1f3cb57f9 100644 --- a/tests/nodes/gemm_beta/input_2.cairo +++ b/tests/nodes/gemm_beta/input_2.cairo @@ -15,4 +15,4 @@ fn input_2() -> Tensor { data.append(FP16x16 { mag: 28175, sign: false }); data.append(FP16x16 { mag: 36784, sign: false }); TensorTrait::new(shape.span(), data.span()) -} \ No newline at end of file +} diff --git a/tests/nodes/gemm_beta/output_0.cairo b/tests/nodes/gemm_beta/output_0.cairo index c8270eb8e..47a714ff9 100644 --- a/tests/nodes/gemm_beta/output_0.cairo +++ b/tests/nodes/gemm_beta/output_0.cairo @@ -19,4 +19,4 @@ fn output_0() -> Tensor { data.append(FP16x16 { mag: 134574, sign: false }); data.append(FP16x16 { mag: 128355, sign: false }); TensorTrait::new(shape.span(), data.span()) -} \ No newline at end of file +} diff --git a/tests/nodes/gemm_default_matrix_bias.cairo b/tests/nodes/gemm_default_matrix_bias.cairo index f2172e0e8..f3340870f 100644 --- a/tests/nodes/gemm_default_matrix_bias.cairo +++ b/tests/nodes/gemm_default_matrix_bias.cairo @@ -1,7 +1,7 @@ -mod input_0; -mod input_1; -mod input_2; -mod output_0; +mod input_0; +mod input_1; +mod input_2; +mod output_0; use orion::operators::nn::NNTrait; @@ -18,7 +18,9 @@ fn test_gemm_default_matrix_bias() { let input_2 = input_2::input_2(); let z = output_0::output_0(); - let y = NNTrait::gemm(input_0, input_1, Option::Some(input_2), Option::None(()), Option::None(()), false, false); + let y = NNTrait::gemm( + input_0, input_1, Option::Some(input_2), Option::None(()), Option::None(()), false, false + ); assert_eq(y, z); -} \ No newline at end of file +} diff --git a/tests/nodes/gemm_default_matrix_bias/input_0.cairo b/tests/nodes/gemm_default_matrix_bias/input_0.cairo index 7c87dd7f2..ec07544ee 100644 --- a/tests/nodes/gemm_default_matrix_bias/input_0.cairo +++ b/tests/nodes/gemm_default_matrix_bias/input_0.cairo @@ -29,4 +29,4 @@ fn input_0() -> Tensor { data.append(FP16x16 { mag: 45579, sign: false }); data.append(FP16x16 { mag: 12475, sign: false }); TensorTrait::new(shape.span(), data.span()) -} \ No newline at end of file +} diff --git a/tests/nodes/gemm_default_matrix_bias/input_1.cairo b/tests/nodes/gemm_default_matrix_bias/input_1.cairo index 5aee549de..f1382d582 100644 --- a/tests/nodes/gemm_default_matrix_bias/input_1.cairo +++ b/tests/nodes/gemm_default_matrix_bias/input_1.cairo @@ -35,4 +35,4 @@ fn input_1() -> Tensor { data.append(FP16x16 { mag: 22814, sign: false }); data.append(FP16x16 { mag: 60423, sign: false }); TensorTrait::new(shape.span(), data.span()) -} \ No newline at end of file +} diff --git a/tests/nodes/gemm_default_matrix_bias/input_2.cairo b/tests/nodes/gemm_default_matrix_bias/input_2.cairo index 59be7972a..fd6b344af 100644 --- a/tests/nodes/gemm_default_matrix_bias/input_2.cairo +++ b/tests/nodes/gemm_default_matrix_bias/input_2.cairo @@ -23,4 +23,4 @@ fn input_2() -> Tensor { data.append(FP16x16 { mag: 31592, sign: false }); data.append(FP16x16 { mag: 38555, sign: false }); TensorTrait::new(shape.span(), data.span()) -} \ No newline at end of file +} diff --git a/tests/nodes/gemm_default_matrix_bias/output_0.cairo b/tests/nodes/gemm_default_matrix_bias/output_0.cairo index 4fa3d81b8..cd78b473b 100644 --- a/tests/nodes/gemm_default_matrix_bias/output_0.cairo +++ b/tests/nodes/gemm_default_matrix_bias/output_0.cairo @@ -23,4 +23,4 @@ fn output_0() -> Tensor { data.append(FP16x16 { mag: 162874, sign: false }); data.append(FP16x16 { mag: 125446, sign: false }); TensorTrait::new(shape.span(), data.span()) -} \ No newline at end of file +} diff --git a/tests/nodes/gemm_default_no_bias.cairo b/tests/nodes/gemm_default_no_bias.cairo index 747ddc2c9..b60163b30 100644 --- a/tests/nodes/gemm_default_no_bias.cairo +++ b/tests/nodes/gemm_default_no_bias.cairo @@ -1,6 +1,6 @@ -mod input_0; -mod input_1; -mod output_0; +mod input_0; +mod input_1; +mod output_0; use orion::operators::nn::NNTrait; @@ -16,7 +16,9 @@ fn test_gemm_default_no_bias() { let input_1 = input_1::input_1(); let z = output_0::output_0(); - let y = NNTrait::gemm(input_0, input_1, Option::None(()), Option::None(()), Option::None(()), false, false); + let y = NNTrait::gemm( + input_0, input_1, Option::None(()), Option::None(()), Option::None(()), false, false + ); assert_eq(y, z); -} \ No newline at end of file +} diff --git a/tests/nodes/gemm_default_no_bias/input_0.cairo b/tests/nodes/gemm_default_no_bias/input_0.cairo index 46bc3b52f..91505db07 100644 --- a/tests/nodes/gemm_default_no_bias/input_0.cairo +++ b/tests/nodes/gemm_default_no_bias/input_0.cairo @@ -26,4 +26,4 @@ fn input_0() -> Tensor { data.append(FP16x16 { mag: 16964, sign: false }); data.append(FP16x16 { mag: 24102, sign: false }); TensorTrait::new(shape.span(), data.span()) -} \ No newline at end of file +} diff --git a/tests/nodes/gemm_default_no_bias/input_1.cairo b/tests/nodes/gemm_default_no_bias/input_1.cairo index 9c0d880c9..9e3f4ab18 100644 --- a/tests/nodes/gemm_default_no_bias/input_1.cairo +++ b/tests/nodes/gemm_default_no_bias/input_1.cairo @@ -31,4 +31,4 @@ fn input_1() -> Tensor { data.append(FP16x16 { mag: 8798, sign: false }); data.append(FP16x16 { mag: 32105, sign: false }); TensorTrait::new(shape.span(), data.span()) -} \ No newline at end of file +} diff --git a/tests/nodes/gemm_default_no_bias/output_0.cairo b/tests/nodes/gemm_default_no_bias/output_0.cairo index c01e5ab6c..a6ea619ed 100644 --- a/tests/nodes/gemm_default_no_bias/output_0.cairo +++ b/tests/nodes/gemm_default_no_bias/output_0.cairo @@ -23,4 +23,4 @@ fn output_0() -> Tensor { data.append(FP16x16 { mag: 75553, sign: false }); data.append(FP16x16 { mag: 98680, sign: false }); TensorTrait::new(shape.span(), data.span()) -} \ No newline at end of file +} diff --git a/tests/nodes/gemm_default_vector_bias.cairo b/tests/nodes/gemm_default_vector_bias.cairo index 5892179d9..567a2f9d6 100644 --- a/tests/nodes/gemm_default_vector_bias.cairo +++ b/tests/nodes/gemm_default_vector_bias.cairo @@ -1,7 +1,7 @@ -mod input_0; -mod input_1; -mod input_2; -mod output_0; +mod input_0; +mod input_1; +mod input_2; +mod output_0; use orion::operators::nn::NNTrait; @@ -18,7 +18,9 @@ fn test_gemm_default_vector_bias() { let input_2 = input_2::input_2(); let z = output_0::output_0(); - let y = NNTrait::gemm(input_0, input_1, Option::Some(input_2), Option::None(()), Option::None(()), false, false); + let y = NNTrait::gemm( + input_0, input_1, Option::Some(input_2), Option::None(()), Option::None(()), false, false + ); assert_eq(y, z); -} \ No newline at end of file +} diff --git a/tests/nodes/gemm_default_vector_bias/input_0.cairo b/tests/nodes/gemm_default_vector_bias/input_0.cairo index 604574282..012d57462 100644 --- a/tests/nodes/gemm_default_vector_bias/input_0.cairo +++ b/tests/nodes/gemm_default_vector_bias/input_0.cairo @@ -25,4 +25,4 @@ fn input_0() -> Tensor { data.append(FP16x16 { mag: 57856, sign: false }); data.append(FP16x16 { mag: 27283, sign: false }); TensorTrait::new(shape.span(), data.span()) -} \ No newline at end of file +} diff --git a/tests/nodes/gemm_default_vector_bias/input_1.cairo b/tests/nodes/gemm_default_vector_bias/input_1.cairo index 835e8631a..51711b3bc 100644 --- a/tests/nodes/gemm_default_vector_bias/input_1.cairo +++ b/tests/nodes/gemm_default_vector_bias/input_1.cairo @@ -39,4 +39,4 @@ fn input_1() -> Tensor { data.append(FP16x16 { mag: 28457, sign: false }); data.append(FP16x16 { mag: 16731, sign: false }); TensorTrait::new(shape.span(), data.span()) -} \ No newline at end of file +} diff --git a/tests/nodes/gemm_default_vector_bias/input_2.cairo b/tests/nodes/gemm_default_vector_bias/input_2.cairo index bef8eccaf..a9cc07f33 100644 --- a/tests/nodes/gemm_default_vector_bias/input_2.cairo +++ b/tests/nodes/gemm_default_vector_bias/input_2.cairo @@ -15,4 +15,4 @@ fn input_2() -> Tensor { data.append(FP16x16 { mag: 44948, sign: false }); data.append(FP16x16 { mag: 18261, sign: false }); TensorTrait::new(shape.span(), data.span()) -} \ No newline at end of file +} diff --git a/tests/nodes/gemm_default_vector_bias/output_0.cairo b/tests/nodes/gemm_default_vector_bias/output_0.cairo index 9dcd30c63..1a1a06845 100644 --- a/tests/nodes/gemm_default_vector_bias/output_0.cairo +++ b/tests/nodes/gemm_default_vector_bias/output_0.cairo @@ -19,4 +19,4 @@ fn output_0() -> Tensor { data.append(FP16x16 { mag: 124434, sign: false }); data.append(FP16x16 { mag: 101476, sign: false }); TensorTrait::new(shape.span(), data.span()) -} \ No newline at end of file +} diff --git a/tests/nodes/gemm_transposeA.cairo b/tests/nodes/gemm_transposeA.cairo index 6863e6327..499fcef3a 100644 --- a/tests/nodes/gemm_transposeA.cairo +++ b/tests/nodes/gemm_transposeA.cairo @@ -1,6 +1,6 @@ -mod input_0; -mod input_1; -mod output_0; +mod input_0; +mod input_1; +mod output_0; use orion::operators::nn::NNTrait; @@ -16,7 +16,9 @@ fn test_gemm_transposeA() { let input_1 = input_1::input_1(); let z = output_0::output_0(); - let y = NNTrait::gemm(input_0, input_1, Option::None(()), Option::None(()), Option::None(()), true, false); + let y = NNTrait::gemm( + input_0, input_1, Option::None(()), Option::None(()), Option::None(()), true, false + ); assert_eq(y, z); -} \ No newline at end of file +} diff --git a/tests/nodes/gemm_transposeA/input_0.cairo b/tests/nodes/gemm_transposeA/input_0.cairo index 6bfd7ea69..16d07812e 100644 --- a/tests/nodes/gemm_transposeA/input_0.cairo +++ b/tests/nodes/gemm_transposeA/input_0.cairo @@ -29,4 +29,4 @@ fn input_0() -> Tensor { data.append(FP16x16 { mag: 49636, sign: false }); data.append(FP16x16 { mag: 54933, sign: false }); TensorTrait::new(shape.span(), data.span()) -} \ No newline at end of file +} diff --git a/tests/nodes/gemm_transposeA/input_1.cairo b/tests/nodes/gemm_transposeA/input_1.cairo index 73cc1030c..bc0ad1d87 100644 --- a/tests/nodes/gemm_transposeA/input_1.cairo +++ b/tests/nodes/gemm_transposeA/input_1.cairo @@ -35,4 +35,4 @@ fn input_1() -> Tensor { data.append(FP16x16 { mag: 57203, sign: false }); data.append(FP16x16 { mag: 17320, sign: false }); TensorTrait::new(shape.span(), data.span()) -} \ No newline at end of file +} diff --git a/tests/nodes/gemm_transposeA/output_0.cairo b/tests/nodes/gemm_transposeA/output_0.cairo index ed2738343..c898157f7 100644 --- a/tests/nodes/gemm_transposeA/output_0.cairo +++ b/tests/nodes/gemm_transposeA/output_0.cairo @@ -23,4 +23,4 @@ fn output_0() -> Tensor { data.append(FP16x16 { mag: 100563, sign: false }); data.append(FP16x16 { mag: 81533, sign: false }); TensorTrait::new(shape.span(), data.span()) -} \ No newline at end of file +} diff --git a/tests/nodes/gemm_transposeB.cairo b/tests/nodes/gemm_transposeB.cairo index 2146957cc..8eb5c8412 100644 --- a/tests/nodes/gemm_transposeB.cairo +++ b/tests/nodes/gemm_transposeB.cairo @@ -1,6 +1,6 @@ -mod input_0; -mod input_1; -mod output_0; +mod input_0; +mod input_1; +mod output_0; use orion::operators::nn::NNTrait; @@ -16,7 +16,9 @@ fn test_gemm_transposeB() { let input_1 = input_1::input_1(); let z = output_0::output_0(); - let y = NNTrait::gemm(input_0, input_1, Option::None(()), Option::None(()), Option::None(()), false, true); + let y = NNTrait::gemm( + input_0, input_1, Option::None(()), Option::None(()), Option::None(()), false, true + ); assert_eq(y, z); -} \ No newline at end of file +} diff --git a/tests/nodes/gemm_transposeB/input_0.cairo b/tests/nodes/gemm_transposeB/input_0.cairo index 3d609ad0f..fdef456a4 100644 --- a/tests/nodes/gemm_transposeB/input_0.cairo +++ b/tests/nodes/gemm_transposeB/input_0.cairo @@ -29,4 +29,4 @@ fn input_0() -> Tensor { data.append(FP16x16 { mag: 28378, sign: false }); data.append(FP16x16 { mag: 25924, sign: false }); TensorTrait::new(shape.span(), data.span()) -} \ No newline at end of file +} diff --git a/tests/nodes/gemm_transposeB/input_1.cairo b/tests/nodes/gemm_transposeB/input_1.cairo index a726da8d5..571cabcc0 100644 --- a/tests/nodes/gemm_transposeB/input_1.cairo +++ b/tests/nodes/gemm_transposeB/input_1.cairo @@ -35,4 +35,4 @@ fn input_1() -> Tensor { data.append(FP16x16 { mag: 48030, sign: false }); data.append(FP16x16 { mag: 37338, sign: false }); TensorTrait::new(shape.span(), data.span()) -} \ No newline at end of file +} diff --git a/tests/nodes/gemm_transposeB/output_0.cairo b/tests/nodes/gemm_transposeB/output_0.cairo index c543f1f7f..aef897233 100644 --- a/tests/nodes/gemm_transposeB/output_0.cairo +++ b/tests/nodes/gemm_transposeB/output_0.cairo @@ -23,4 +23,4 @@ fn output_0() -> Tensor { data.append(FP16x16 { mag: 76585, sign: false }); data.append(FP16x16 { mag: 57394, sign: false }); TensorTrait::new(shape.span(), data.span()) -} \ No newline at end of file +} diff --git a/tests/nodes/hard_sigmoid_fp16x16.cairo b/tests/nodes/hard_sigmoid_fp16x16.cairo index e2e7faf89..e6293a929 100644 --- a/tests/nodes/hard_sigmoid_fp16x16.cairo +++ b/tests/nodes/hard_sigmoid_fp16x16.cairo @@ -1,5 +1,5 @@ -mod input_0; -mod output_0; +mod input_0; +mod output_0; use orion::operators::nn::NNTrait; @@ -14,7 +14,9 @@ fn test_hard_sigmoid_fp16x16() { let input_0 = input_0::input_0(); let z = output_0::output_0(); - let y = NNTrait::hard_sigmoid(@input_0, @FixedTrait::new(13107, false), @FixedTrait::new(32768, false)); + let y = NNTrait::hard_sigmoid( + @input_0, @FixedTrait::new(13107, false), @FixedTrait::new(32768, false) + ); assert_eq(y, z); -} \ No newline at end of file +} diff --git a/tests/nodes/hard_sigmoid_fp16x16/input_0.cairo b/tests/nodes/hard_sigmoid_fp16x16/input_0.cairo index dd5b12108..8e1fb9ea6 100644 --- a/tests/nodes/hard_sigmoid_fp16x16/input_0.cairo +++ b/tests/nodes/hard_sigmoid_fp16x16/input_0.cairo @@ -15,4 +15,4 @@ fn input_0() -> Tensor { data.append(FP16x16 { mag: 17807, sign: true }); data.append(FP16x16 { mag: 93701, sign: false }); TensorTrait::new(shape.span(), data.span()) -} \ No newline at end of file +} diff --git a/tests/nodes/hard_sigmoid_fp16x16/output_0.cairo b/tests/nodes/hard_sigmoid_fp16x16/output_0.cairo index 31f36b587..6996b1089 100644 --- a/tests/nodes/hard_sigmoid_fp16x16/output_0.cairo +++ b/tests/nodes/hard_sigmoid_fp16x16/output_0.cairo @@ -15,4 +15,4 @@ fn output_0() -> Tensor { data.append(FP16x16 { mag: 29206, sign: false }); data.append(FP16x16 { mag: 51508, sign: false }); TensorTrait::new(shape.span(), data.span()) -} \ No newline at end of file +} diff --git a/tests/nodes/hard_sigmoid_fp8x23.cairo b/tests/nodes/hard_sigmoid_fp8x23.cairo index 7db64baac..df7312259 100644 --- a/tests/nodes/hard_sigmoid_fp8x23.cairo +++ b/tests/nodes/hard_sigmoid_fp8x23.cairo @@ -1,5 +1,5 @@ -mod input_0; -mod output_0; +mod input_0; +mod output_0; use orion::operators::nn::NNTrait; @@ -14,7 +14,9 @@ fn test_hard_sigmoid_fp8x23() { let input_0 = input_0::input_0(); let z = output_0::output_0(); - let y = NNTrait::hard_sigmoid(@input_0, @FixedTrait::new(1677721, false), @FixedTrait::new(4194304, false)); + let y = NNTrait::hard_sigmoid( + @input_0, @FixedTrait::new(1677721, false), @FixedTrait::new(4194304, false) + ); assert_eq(y, z); } diff --git a/tests/nodes/hard_sigmoid_fp8x23/input_0.cairo b/tests/nodes/hard_sigmoid_fp8x23/input_0.cairo index e8756adf0..0a960f676 100644 --- a/tests/nodes/hard_sigmoid_fp8x23/input_0.cairo +++ b/tests/nodes/hard_sigmoid_fp8x23/input_0.cairo @@ -15,4 +15,4 @@ fn input_0() -> Tensor { data.append(FP8x23 { mag: 13798595, sign: true }); data.append(FP8x23 { mag: 9114792, sign: true }); TensorTrait::new(shape.span(), data.span()) -} \ No newline at end of file +} diff --git a/tests/nodes/hard_sigmoid_fp8x23/output_0.cairo b/tests/nodes/hard_sigmoid_fp8x23/output_0.cairo index a55c6e091..8ed6579a9 100644 --- a/tests/nodes/hard_sigmoid_fp8x23/output_0.cairo +++ b/tests/nodes/hard_sigmoid_fp8x23/output_0.cairo @@ -15,4 +15,4 @@ fn output_0() -> Tensor { data.append(FP8x23 { mag: 1434585, sign: false }); data.append(FP8x23 { mag: 2371345, sign: false }); TensorTrait::new(shape.span(), data.span()) -} \ No newline at end of file +} diff --git a/tests/nodes/identity_fP16x16.cairo b/tests/nodes/identity_fP16x16.cairo index 5a3fa9893..de9d9d4e0 100644 --- a/tests/nodes/identity_fP16x16.cairo +++ b/tests/nodes/identity_fP16x16.cairo @@ -1,5 +1,5 @@ -mod input_0; -mod output_0; +mod input_0; +mod output_0; use array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::TensorTrait; @@ -14,6 +14,6 @@ fn test_identity_fP16x16() { let z = output_0::output_0(); let y = input_0.identity(); - + assert_eq(y, z); -} \ No newline at end of file +} diff --git a/tests/nodes/identity_fP16x16/input_0.cairo b/tests/nodes/identity_fP16x16/input_0.cairo index 621d26f75..8e56273f8 100644 --- a/tests/nodes/identity_fP16x16/input_0.cairo +++ b/tests/nodes/identity_fP16x16/input_0.cairo @@ -15,4 +15,4 @@ fn input_0() -> Tensor { data.append(FP16x16 { mag: 3, sign: false }); data.append(FP16x16 { mag: 4, sign: false }); TensorTrait::new(shape.span(), data.span()) -} \ No newline at end of file +} diff --git a/tests/nodes/identity_fP16x16/output_0.cairo b/tests/nodes/identity_fP16x16/output_0.cairo index c43d35cc6..939e2f43a 100644 --- a/tests/nodes/identity_fP16x16/output_0.cairo +++ b/tests/nodes/identity_fP16x16/output_0.cairo @@ -15,4 +15,4 @@ fn output_0() -> Tensor { data.append(FP16x16 { mag: 3, sign: false }); data.append(FP16x16 { mag: 4, sign: false }); TensorTrait::new(shape.span(), data.span()) -} \ No newline at end of file +} diff --git a/tests/nodes/identity_fP8x23.cairo b/tests/nodes/identity_fP8x23.cairo index 0d525dd66..f11d32451 100644 --- a/tests/nodes/identity_fP8x23.cairo +++ b/tests/nodes/identity_fP8x23.cairo @@ -1,5 +1,5 @@ -mod input_0; -mod output_0; +mod input_0; +mod output_0; use array::{ArrayTrait, SpanTrait}; @@ -17,4 +17,4 @@ fn test_identity_fP8x23() { let y = input_0.identity(); assert_eq(y, z); -} \ No newline at end of file +} diff --git a/tests/nodes/identity_fP8x23/input_0.cairo b/tests/nodes/identity_fP8x23/input_0.cairo index 788d470dc..22d5aad06 100644 --- a/tests/nodes/identity_fP8x23/input_0.cairo +++ b/tests/nodes/identity_fP8x23/input_0.cairo @@ -15,4 +15,4 @@ fn input_0() -> Tensor { data.append(FP8x23 { mag: 3, sign: false }); data.append(FP8x23 { mag: 4, sign: false }); TensorTrait::new(shape.span(), data.span()) -} \ No newline at end of file +} diff --git a/tests/nodes/identity_fP8x23/output_0.cairo b/tests/nodes/identity_fP8x23/output_0.cairo index 91c661c60..bc9b93c9d 100644 --- a/tests/nodes/identity_fP8x23/output_0.cairo +++ b/tests/nodes/identity_fP8x23/output_0.cairo @@ -15,4 +15,4 @@ fn output_0() -> Tensor { data.append(FP8x23 { mag: 3, sign: false }); data.append(FP8x23 { mag: 4, sign: false }); TensorTrait::new(shape.span(), data.span()) -} \ No newline at end of file +} diff --git a/tests/nodes/identity_i32.cairo b/tests/nodes/identity_i32.cairo index a9071a4d5..8fac3e958 100644 --- a/tests/nodes/identity_i32.cairo +++ b/tests/nodes/identity_i32.cairo @@ -1,5 +1,5 @@ -mod input_0; -mod output_0; +mod input_0; +mod output_0; use array::{ArrayTrait, SpanTrait}; @@ -17,4 +17,4 @@ fn test_identity_i32() { let y = input_0.identity(); assert_eq(y, z); -} \ No newline at end of file +} diff --git a/tests/nodes/identity_i32/input_0.cairo b/tests/nodes/identity_i32/input_0.cairo index 235eb099e..aba4d7eb5 100644 --- a/tests/nodes/identity_i32/input_0.cairo +++ b/tests/nodes/identity_i32/input_0.cairo @@ -14,4 +14,4 @@ fn input_0() -> Tensor { data.append(i32 { mag: 3, sign: false }); data.append(i32 { mag: 4, sign: false }); TensorTrait::new(shape.span(), data.span()) -} \ No newline at end of file +} diff --git a/tests/nodes/identity_i32/output_0.cairo b/tests/nodes/identity_i32/output_0.cairo index a9b5e2a13..5a67e6f0a 100644 --- a/tests/nodes/identity_i32/output_0.cairo +++ b/tests/nodes/identity_i32/output_0.cairo @@ -14,4 +14,4 @@ fn output_0() -> Tensor { data.append(i32 { mag: 3, sign: false }); data.append(i32 { mag: 4, sign: false }); TensorTrait::new(shape.span(), data.span()) -} \ No newline at end of file +} diff --git a/tests/nodes/identity_i8.cairo b/tests/nodes/identity_i8.cairo index 29af4b5ea..e45de42a5 100644 --- a/tests/nodes/identity_i8.cairo +++ b/tests/nodes/identity_i8.cairo @@ -1,5 +1,5 @@ -mod input_0; -mod output_0; +mod input_0; +mod output_0; use array::{ArrayTrait, SpanTrait}; @@ -17,4 +17,4 @@ fn test_identity_i8() { let y = input_0.identity(); assert_eq(y, z); -} \ No newline at end of file +} diff --git a/tests/nodes/identity_i8/input_0.cairo b/tests/nodes/identity_i8/input_0.cairo index 93b08b452..9e149f16d 100644 --- a/tests/nodes/identity_i8/input_0.cairo +++ b/tests/nodes/identity_i8/input_0.cairo @@ -14,4 +14,4 @@ fn input_0() -> Tensor { data.append(i8 { mag: 3, sign: false }); data.append(i8 { mag: 4, sign: false }); TensorTrait::new(shape.span(), data.span()) -} \ No newline at end of file +} diff --git a/tests/nodes/identity_i8/output_0.cairo b/tests/nodes/identity_i8/output_0.cairo index 1aac8f583..455aa03be 100644 --- a/tests/nodes/identity_i8/output_0.cairo +++ b/tests/nodes/identity_i8/output_0.cairo @@ -14,4 +14,4 @@ fn output_0() -> Tensor { data.append(i8 { mag: 3, sign: false }); data.append(i8 { mag: 4, sign: false }); TensorTrait::new(shape.span(), data.span()) -} \ No newline at end of file +} diff --git a/tests/nodes/identity_u32.cairo b/tests/nodes/identity_u32.cairo index 548b41804..9ccbe538a 100644 --- a/tests/nodes/identity_u32.cairo +++ b/tests/nodes/identity_u32.cairo @@ -1,5 +1,5 @@ -mod input_0; -mod output_0; +mod input_0; +mod output_0; use array::{ArrayTrait, SpanTrait}; @@ -17,4 +17,4 @@ fn test_identity_u32() { let y = input_0.identity(); assert_eq(y, z); -} \ No newline at end of file +} diff --git a/tests/nodes/identity_u32/input_0.cairo b/tests/nodes/identity_u32/input_0.cairo index 9594bde53..4fbd16da0 100644 --- a/tests/nodes/identity_u32/input_0.cairo +++ b/tests/nodes/identity_u32/input_0.cairo @@ -13,4 +13,4 @@ fn input_0() -> Tensor { data.append(3); data.append(4); TensorTrait::new(shape.span(), data.span()) -} \ No newline at end of file +} diff --git a/tests/nodes/identity_u32/output_0.cairo b/tests/nodes/identity_u32/output_0.cairo index c760602db..e8f0d2acd 100644 --- a/tests/nodes/identity_u32/output_0.cairo +++ b/tests/nodes/identity_u32/output_0.cairo @@ -13,4 +13,4 @@ fn output_0() -> Tensor { data.append(3); data.append(4); TensorTrait::new(shape.span(), data.span()) -} \ No newline at end of file +} diff --git a/tests/nodes/neg_fp16x16.cairo b/tests/nodes/neg_fp16x16.cairo index 5c0731454..beab5b033 100644 --- a/tests/nodes/neg_fp16x16.cairo +++ b/tests/nodes/neg_fp16x16.cairo @@ -1,5 +1,5 @@ -mod input_0; -mod output_0; +mod input_0; +mod output_0; use array::{ArrayTrait, SpanTrait}; @@ -17,4 +17,4 @@ fn test_neg_fp16x16() { let y = input_0.neg(); assert_eq(y, z); -} \ No newline at end of file +} diff --git a/tests/nodes/neg_fp16x16/input_0.cairo b/tests/nodes/neg_fp16x16/input_0.cairo index dc17867bd..92b65dc73 100644 --- a/tests/nodes/neg_fp16x16/input_0.cairo +++ b/tests/nodes/neg_fp16x16/input_0.cairo @@ -15,4 +15,4 @@ fn input_0() -> Tensor { data.append(FP16x16 { mag: 2097152, sign: true }); data.append(FP16x16 { mag: 7274496, sign: false }); TensorTrait::new(shape.span(), data.span()) -} \ No newline at end of file +} diff --git a/tests/nodes/neg_fp16x16/output_0.cairo b/tests/nodes/neg_fp16x16/output_0.cairo index cac798f63..bb610196d 100644 --- a/tests/nodes/neg_fp16x16/output_0.cairo +++ b/tests/nodes/neg_fp16x16/output_0.cairo @@ -15,4 +15,4 @@ fn output_0() -> Tensor { data.append(FP16x16 { mag: 2097152, sign: false }); data.append(FP16x16 { mag: 7274496, sign: true }); TensorTrait::new(shape.span(), data.span()) -} \ No newline at end of file +} diff --git a/tests/nodes/neg_fp8x23.cairo b/tests/nodes/neg_fp8x23.cairo index 349c6fc08..aefdd1ed5 100644 --- a/tests/nodes/neg_fp8x23.cairo +++ b/tests/nodes/neg_fp8x23.cairo @@ -1,5 +1,5 @@ -mod input_0; -mod output_0; +mod input_0; +mod output_0; use array::{ArrayTrait, SpanTrait}; @@ -17,4 +17,4 @@ fn test_neg_fp8x23() { let y = input_0.neg(); assert_eq(y, z); -} \ No newline at end of file +} diff --git a/tests/nodes/neg_fp8x23/input_0.cairo b/tests/nodes/neg_fp8x23/input_0.cairo index 5a59a5874..cb5b0161b 100644 --- a/tests/nodes/neg_fp8x23/input_0.cairo +++ b/tests/nodes/neg_fp8x23/input_0.cairo @@ -15,4 +15,4 @@ fn input_0() -> Tensor { data.append(FP8x23 { mag: 637534208, sign: false }); data.append(FP8x23 { mag: 92274688, sign: true }); TensorTrait::new(shape.span(), data.span()) -} \ No newline at end of file +} diff --git a/tests/nodes/neg_fp8x23/output_0.cairo b/tests/nodes/neg_fp8x23/output_0.cairo index 10fd45912..0e56f359c 100644 --- a/tests/nodes/neg_fp8x23/output_0.cairo +++ b/tests/nodes/neg_fp8x23/output_0.cairo @@ -15,4 +15,4 @@ fn output_0() -> Tensor { data.append(FP8x23 { mag: 637534208, sign: true }); data.append(FP8x23 { mag: 92274688, sign: false }); TensorTrait::new(shape.span(), data.span()) -} \ No newline at end of file +} diff --git a/tests/nodes/neg_i32.cairo b/tests/nodes/neg_i32.cairo index fa738e698..9e6fdc212 100644 --- a/tests/nodes/neg_i32.cairo +++ b/tests/nodes/neg_i32.cairo @@ -1,5 +1,5 @@ -mod input_0; -mod output_0; +mod input_0; +mod output_0; use array::{ArrayTrait, SpanTrait}; @@ -17,4 +17,4 @@ fn test_neg_i32() { let y = input_0.neg(); assert_eq(y, z); -} \ No newline at end of file +} diff --git a/tests/nodes/neg_i32/input_0.cairo b/tests/nodes/neg_i32/input_0.cairo index 46b571d16..985826d57 100644 --- a/tests/nodes/neg_i32/input_0.cairo +++ b/tests/nodes/neg_i32/input_0.cairo @@ -14,4 +14,4 @@ fn input_0() -> Tensor { data.append(i32 { mag: 53, sign: true }); data.append(i32 { mag: 77, sign: true }); TensorTrait::new(shape.span(), data.span()) -} \ No newline at end of file +} diff --git a/tests/nodes/neg_i32/output_0.cairo b/tests/nodes/neg_i32/output_0.cairo index de0636cda..ed55bfd0b 100644 --- a/tests/nodes/neg_i32/output_0.cairo +++ b/tests/nodes/neg_i32/output_0.cairo @@ -14,4 +14,4 @@ fn output_0() -> Tensor { data.append(i32 { mag: 53, sign: false }); data.append(i32 { mag: 77, sign: false }); TensorTrait::new(shape.span(), data.span()) -} \ No newline at end of file +} diff --git a/tests/nodes/neg_i8.cairo b/tests/nodes/neg_i8.cairo index decb2e9aa..001a97927 100644 --- a/tests/nodes/neg_i8.cairo +++ b/tests/nodes/neg_i8.cairo @@ -1,5 +1,5 @@ -mod input_0; -mod output_0; +mod input_0; +mod output_0; use array::{ArrayTrait, SpanTrait}; @@ -17,4 +17,4 @@ fn test_neg_i8() { let y = input_0.neg(); assert_eq(y, z); -} \ No newline at end of file +} diff --git a/tests/nodes/neg_i8/input_0.cairo b/tests/nodes/neg_i8/input_0.cairo index 6f0c3c00a..f4f1b41fb 100644 --- a/tests/nodes/neg_i8/input_0.cairo +++ b/tests/nodes/neg_i8/input_0.cairo @@ -14,4 +14,4 @@ fn input_0() -> Tensor { data.append(i8 { mag: 113, sign: false }); data.append(i8 { mag: 63, sign: true }); TensorTrait::new(shape.span(), data.span()) -} \ No newline at end of file +} diff --git a/tests/nodes/neg_i8/output_0.cairo b/tests/nodes/neg_i8/output_0.cairo index e339959f3..1c7131cb4 100644 --- a/tests/nodes/neg_i8/output_0.cairo +++ b/tests/nodes/neg_i8/output_0.cairo @@ -14,4 +14,4 @@ fn output_0() -> Tensor { data.append(i8 { mag: 113, sign: true }); data.append(i8 { mag: 63, sign: false }); TensorTrait::new(shape.span(), data.span()) -} \ No newline at end of file +} diff --git a/tests/nodes/thresholded_relu_fp16x16.cairo b/tests/nodes/thresholded_relu_fp16x16.cairo index 881e285eb..37c56dc7d 100644 --- a/tests/nodes/thresholded_relu_fp16x16.cairo +++ b/tests/nodes/thresholded_relu_fp16x16.cairo @@ -1,5 +1,5 @@ -mod input_0; -mod output_0; +mod input_0; +mod output_0; use orion::operators::nn::NNTrait; @@ -17,4 +17,4 @@ fn test_thresholded_relu_fp16x16() { let y = NNTrait::thresholded_relu(@input_0, @FixedTrait::new(65536, false)); assert_eq(y, z); -} \ No newline at end of file +} diff --git a/tests/nodes/thresholded_relu_fp16x16/input_0.cairo b/tests/nodes/thresholded_relu_fp16x16/input_0.cairo index 8b3c534c8..050c4a2b4 100644 --- a/tests/nodes/thresholded_relu_fp16x16/input_0.cairo +++ b/tests/nodes/thresholded_relu_fp16x16/input_0.cairo @@ -15,4 +15,4 @@ fn input_0() -> Tensor { data.append(FP16x16 { mag: 255480, sign: false }); data.append(FP16x16 { mag: 300914, sign: false }); TensorTrait::new(shape.span(), data.span()) -} \ No newline at end of file +} diff --git a/tests/nodes/thresholded_relu_fp16x16/output_0.cairo b/tests/nodes/thresholded_relu_fp16x16/output_0.cairo index cc607e6ec..460c8544e 100644 --- a/tests/nodes/thresholded_relu_fp16x16/output_0.cairo +++ b/tests/nodes/thresholded_relu_fp16x16/output_0.cairo @@ -15,4 +15,4 @@ fn output_0() -> Tensor { data.append(FP16x16 { mag: 255480, sign: false }); data.append(FP16x16 { mag: 300914, sign: false }); TensorTrait::new(shape.span(), data.span()) -} \ No newline at end of file +} diff --git a/tests/nodes/thresholded_relu_fp8x23.cairo b/tests/nodes/thresholded_relu_fp8x23.cairo index ae79fc5c8..0b9c93534 100644 --- a/tests/nodes/thresholded_relu_fp8x23.cairo +++ b/tests/nodes/thresholded_relu_fp8x23.cairo @@ -1,5 +1,5 @@ -mod input_0; -mod output_0; +mod input_0; +mod output_0; use orion::operators::nn::NNTrait; @@ -17,4 +17,4 @@ fn test_thresholded_relu_fp8x23() { let y = NNTrait::thresholded_relu(@input_0, @FixedTrait::new(256, false)); assert_eq(y, z); -} \ No newline at end of file +} diff --git a/tests/nodes/thresholded_relu_fp8x23/input_0.cairo b/tests/nodes/thresholded_relu_fp8x23/input_0.cairo index c9cd35061..8002f08f2 100644 --- a/tests/nodes/thresholded_relu_fp8x23/input_0.cairo +++ b/tests/nodes/thresholded_relu_fp8x23/input_0.cairo @@ -15,4 +15,4 @@ fn input_0() -> Tensor { data.append(FP8x23 { mag: 45758723, sign: false }); data.append(FP8x23 { mag: 45541560, sign: false }); TensorTrait::new(shape.span(), data.span()) -} \ No newline at end of file +} diff --git a/tests/nodes/thresholded_relu_fp8x23/output_0.cairo b/tests/nodes/thresholded_relu_fp8x23/output_0.cairo index b4d86023f..a5bb987e3 100644 --- a/tests/nodes/thresholded_relu_fp8x23/output_0.cairo +++ b/tests/nodes/thresholded_relu_fp8x23/output_0.cairo @@ -15,4 +15,4 @@ fn output_0() -> Tensor { data.append(FP8x23 { mag: 45758723, sign: false }); data.append(FP8x23 { mag: 45541560, sign: false }); TensorTrait::new(shape.span(), data.span()) -} \ No newline at end of file +} diff --git a/tests/operators.cairo b/tests/operators.cairo index 3c2ffc47b..d84e29548 100644 --- a/tests/operators.cairo +++ b/tests/operators.cairo @@ -1 +1 @@ -mod transpose_test; \ No newline at end of file +mod transpose_test; diff --git a/tests/operators/transpose_test.cairo b/tests/operators/transpose_test.cairo index de9b048f6..c1bdcaf90 100644 --- a/tests/operators/transpose_test.cairo +++ b/tests/operators/transpose_test.cairo @@ -6,9 +6,9 @@ use debug::PrintTrait; #[test] #[available_gas(200000000000)] fn transpose_test_shape() { - let tensor = TensorTrait::::new( - shape: array![4, 2].span(), data: array![0, 1, 2, 3, 4, 5, 6, 7].span(), - ); + let tensor = TensorTrait::< + u32 + >::new(shape: array![4, 2].span(), data: array![0, 1, 2, 3, 4, 5, 6, 7].span(),); let result = tensor.transpose(axes: array![1, 0].span()); assert(result.shape == array![2, 4].span(), 'wrong dim'); @@ -17,9 +17,9 @@ fn transpose_test_shape() { #[test] #[available_gas(200000000000)] fn transpose_test_values() { - let tensor = TensorTrait::::new( - shape: array![4, 2].span(), data: array![0, 1, 2, 3, 4, 5, 6, 7].span(), - ); + let tensor = TensorTrait::< + u32 + >::new(shape: array![4, 2].span(), data: array![0, 1, 2, 3, 4, 5, 6, 7].span(),); let result = tensor.transpose(axes: array![1, 0].span()); assert(result.data == array![0, 2, 4, 6, 1, 3, 5, 7].span(), 'wrong data'); @@ -29,9 +29,9 @@ fn transpose_test_values() { #[test] #[available_gas(200000000000)] fn transpose_test_3D() { - let tensor = TensorTrait::::new( - shape: array![2, 2, 2].span(), data: array![0, 1, 2, 3, 4, 5, 6, 7].span(), - ); + let tensor = TensorTrait::< + u32 + >::new(shape: array![2, 2, 2].span(), data: array![0, 1, 2, 3, 4, 5, 6, 7].span(),); let result = tensor.transpose(axes: array![1, 2, 0].span());