file_path
stringlengths
7
180
content
stringlengths
0
811k
repo
stringclasses
11 values
tests/nodes/cumsum_fp8x23_1d_reverse.cairo
mod input_0; mod output_0; use orion::operators::tensor::{FP8x23Tensor, FP8x23TensorAdd}; use orion::operators::tensor::{TensorTrait, Tensor}; use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::FP8x23TensorPartialEq; use orion::utils::{assert_eq, assert_seq_eq}; #[test] #[available_gas(200000000...
https://github.com/gizatechxyz/orion
tests/nodes/cumsum_fp8x23_1d_reverse/input_0.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{FP8x23Tensor, FP8x23TensorAdd}; use orion::numbers::{FixedTrait, FP8x23}; fn input_0() -> Tensor<FP8x23> { let mut shape = ArrayTrait::<usize>::new(); shape.append(5); let mut data...
https://github.com/gizatechxyz/orion
tests/nodes/cumsum_fp8x23_1d_reverse/output_0.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{FP8x23Tensor, FP8x23TensorAdd}; use orion::numbers::{FixedTrait, FP8x23}; fn output_0() -> Tensor<FP8x23> { let mut shape = ArrayTrait::<usize>::new(); shape.append(5); let mut dat...
https://github.com/gizatechxyz/orion
tests/nodes/cumsum_fp8x23_1d_reverse_exclusive.cairo
mod input_0; mod output_0; use orion::operators::tensor::{FP8x23Tensor, FP8x23TensorAdd}; use orion::operators::tensor::{TensorTrait, Tensor}; use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::FP8x23TensorPartialEq; use orion::utils::{assert_eq, assert_seq_eq}; #[test] #[available_gas(200000000...
https://github.com/gizatechxyz/orion
tests/nodes/cumsum_fp8x23_1d_reverse_exclusive/input_0.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{FP8x23Tensor, FP8x23TensorAdd}; use orion::numbers::{FixedTrait, FP8x23}; fn input_0() -> Tensor<FP8x23> { let mut shape = ArrayTrait::<usize>::new(); shape.append(5); let mut data...
https://github.com/gizatechxyz/orion
tests/nodes/cumsum_fp8x23_1d_reverse_exclusive/output_0.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{FP8x23Tensor, FP8x23TensorAdd}; use orion::numbers::{FixedTrait, FP8x23}; fn output_0() -> Tensor<FP8x23> { let mut shape = ArrayTrait::<usize>::new(); shape.append(5); let mut dat...
https://github.com/gizatechxyz/orion
tests/nodes/cumsum_fp8x23_2d_axis_0.cairo
mod input_0; mod output_0; use orion::operators::tensor::{FP8x23Tensor, FP8x23TensorAdd}; use orion::operators::tensor::{TensorTrait, Tensor}; use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::FP8x23TensorPartialEq; use orion::utils::{assert_eq, assert_seq_eq}; #[test] #[available_gas(200000000...
https://github.com/gizatechxyz/orion
tests/nodes/cumsum_fp8x23_2d_axis_0/input_0.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{FP8x23Tensor, FP8x23TensorAdd}; use orion::numbers::{FixedTrait, FP8x23}; fn input_0() -> Tensor<FP8x23> { let mut shape = ArrayTrait::<usize>::new(); shape.append(2); shape.append(...
https://github.com/gizatechxyz/orion
tests/nodes/cumsum_fp8x23_2d_axis_0/output_0.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{FP8x23Tensor, FP8x23TensorAdd}; use orion::numbers::{FixedTrait, FP8x23}; fn output_0() -> Tensor<FP8x23> { let mut shape = ArrayTrait::<usize>::new(); shape.append(2); shape.append...
https://github.com/gizatechxyz/orion
tests/nodes/cumsum_fp8x23_2d_axis_1.cairo
mod input_0; mod output_0; use orion::operators::tensor::{FP8x23Tensor, FP8x23TensorAdd}; use orion::operators::tensor::{TensorTrait, Tensor}; use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::FP8x23TensorPartialEq; use orion::utils::{assert_eq, assert_seq_eq}; #[test] #[available_gas(200000000...
https://github.com/gizatechxyz/orion
tests/nodes/cumsum_fp8x23_2d_axis_1/input_0.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{FP8x23Tensor, FP8x23TensorAdd}; use orion::numbers::{FixedTrait, FP8x23}; fn input_0() -> Tensor<FP8x23> { let mut shape = ArrayTrait::<usize>::new(); shape.append(2); shape.append(...
https://github.com/gizatechxyz/orion
tests/nodes/cumsum_fp8x23_2d_axis_1/output_0.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{FP8x23Tensor, FP8x23TensorAdd}; use orion::numbers::{FixedTrait, FP8x23}; fn output_0() -> Tensor<FP8x23> { let mut shape = ArrayTrait::<usize>::new(); shape.append(2); shape.append...
https://github.com/gizatechxyz/orion
tests/nodes/cumsum_i32_1d_default.cairo
mod input_0; mod output_0; use orion::operators::tensor::I32TensorPartialEq; use orion::operators::tensor::{TensorTrait, Tensor}; use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{I32Tensor, I32TensorAdd}; use orion::utils::{assert_eq, assert_seq_eq}; #[test] #[available_gas(2000000000)] fn te...
https://github.com/gizatechxyz/orion
tests/nodes/cumsum_i32_1d_default/input_0.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{I32Tensor, I32TensorAdd}; fn input_0() -> Tensor<i32> { let mut shape = ArrayTrait::<usize>::new(); shape.append(5); let mut data = ArrayTrait::new(); data.append(1); data....
https://github.com/gizatechxyz/orion
tests/nodes/cumsum_i32_1d_default/output_0.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{I32Tensor, I32TensorAdd}; fn output_0() -> Tensor<i32> { let mut shape = ArrayTrait::<usize>::new(); shape.append(5); let mut data = ArrayTrait::new(); data.append(1); data...
https://github.com/gizatechxyz/orion
tests/nodes/cumsum_i32_1d_exclusive.cairo
mod input_0; mod output_0; use orion::operators::tensor::I32TensorPartialEq; use orion::operators::tensor::{TensorTrait, Tensor}; use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{I32Tensor, I32TensorAdd}; use orion::utils::{assert_eq, assert_seq_eq}; #[test] #[available_gas(2000000000)] fn te...
https://github.com/gizatechxyz/orion
tests/nodes/cumsum_i32_1d_exclusive/input_0.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{I32Tensor, I32TensorAdd}; fn input_0() -> Tensor<i32> { let mut shape = ArrayTrait::<usize>::new(); shape.append(5); let mut data = ArrayTrait::new(); data.append(1); data....
https://github.com/gizatechxyz/orion
tests/nodes/cumsum_i32_1d_exclusive/output_0.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{I32Tensor, I32TensorAdd}; fn output_0() -> Tensor<i32> { let mut shape = ArrayTrait::<usize>::new(); shape.append(5); let mut data = ArrayTrait::new(); data.append(0); data...
https://github.com/gizatechxyz/orion
tests/nodes/cumsum_i32_1d_reverse.cairo
mod input_0; mod output_0; use orion::operators::tensor::I32TensorPartialEq; use orion::operators::tensor::{TensorTrait, Tensor}; use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{I32Tensor, I32TensorAdd}; use orion::utils::{assert_eq, assert_seq_eq}; #[test] #[available_gas(2000000000)] fn te...
https://github.com/gizatechxyz/orion
tests/nodes/cumsum_i32_1d_reverse/input_0.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{I32Tensor, I32TensorAdd}; fn input_0() -> Tensor<i32> { let mut shape = ArrayTrait::<usize>::new(); shape.append(5); let mut data = ArrayTrait::new(); data.append(1); data....
https://github.com/gizatechxyz/orion
tests/nodes/cumsum_i32_1d_reverse/output_0.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{I32Tensor, I32TensorAdd}; fn output_0() -> Tensor<i32> { let mut shape = ArrayTrait::<usize>::new(); shape.append(5); let mut data = ArrayTrait::new(); data.append(15); dat...
https://github.com/gizatechxyz/orion
tests/nodes/cumsum_i32_1d_reverse_exclusive.cairo
mod input_0; mod output_0; use orion::operators::tensor::I32TensorPartialEq; use orion::operators::tensor::{TensorTrait, Tensor}; use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{I32Tensor, I32TensorAdd}; use orion::utils::{assert_eq, assert_seq_eq}; #[test] #[available_gas(2000000000)] fn te...
https://github.com/gizatechxyz/orion
tests/nodes/cumsum_i32_1d_reverse_exclusive/input_0.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{I32Tensor, I32TensorAdd}; fn input_0() -> Tensor<i32> { let mut shape = ArrayTrait::<usize>::new(); shape.append(5); let mut data = ArrayTrait::new(); data.append(1); data....
https://github.com/gizatechxyz/orion
tests/nodes/cumsum_i32_1d_reverse_exclusive/output_0.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{I32Tensor, I32TensorAdd}; fn output_0() -> Tensor<i32> { let mut shape = ArrayTrait::<usize>::new(); shape.append(5); let mut data = ArrayTrait::new(); data.append(14); dat...
https://github.com/gizatechxyz/orion
tests/nodes/cumsum_i32_2d_axis_0.cairo
mod input_0; mod output_0; use orion::operators::tensor::I32TensorPartialEq; use orion::operators::tensor::{TensorTrait, Tensor}; use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{I32Tensor, I32TensorAdd}; use orion::utils::{assert_eq, assert_seq_eq}; #[test] #[available_gas(2000000000)] fn te...
https://github.com/gizatechxyz/orion
tests/nodes/cumsum_i32_2d_axis_0/input_0.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{I32Tensor, I32TensorAdd}; fn input_0() -> Tensor<i32> { let mut shape = ArrayTrait::<usize>::new(); shape.append(2); shape.append(3); let mut data = ArrayTrait::new(); data...
https://github.com/gizatechxyz/orion
tests/nodes/cumsum_i32_2d_axis_0/output_0.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{I32Tensor, I32TensorAdd}; fn output_0() -> Tensor<i32> { let mut shape = ArrayTrait::<usize>::new(); shape.append(2); shape.append(3); let mut data = ArrayTrait::new(); dat...
https://github.com/gizatechxyz/orion
tests/nodes/cumsum_i32_2d_axis_1.cairo
mod input_0; mod output_0; use orion::operators::tensor::I32TensorPartialEq; use orion::operators::tensor::{TensorTrait, Tensor}; use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{I32Tensor, I32TensorAdd}; use orion::utils::{assert_eq, assert_seq_eq}; #[test] #[available_gas(2000000000)] fn te...
https://github.com/gizatechxyz/orion
tests/nodes/cumsum_i32_2d_axis_1/input_0.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{I32Tensor, I32TensorAdd}; fn input_0() -> Tensor<i32> { let mut shape = ArrayTrait::<usize>::new(); shape.append(2); shape.append(3); let mut data = ArrayTrait::new(); data...
https://github.com/gizatechxyz/orion
tests/nodes/cumsum_i32_2d_axis_1/output_0.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{I32Tensor, I32TensorAdd}; fn output_0() -> Tensor<i32> { let mut shape = ArrayTrait::<usize>::new(); shape.append(2); shape.append(3); let mut data = ArrayTrait::new(); dat...
https://github.com/gizatechxyz/orion
tests/nodes/cumsum_i8_1d_default.cairo
mod input_0; mod output_0; use orion::operators::tensor::{TensorTrait, Tensor}; use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::I8TensorPartialEq; use orion::operators::tensor::{I8Tensor, I8TensorAdd}; use orion::utils::{assert_eq, assert_seq_eq}; #[test] #[available_gas(2000000000)] fn test_...
https://github.com/gizatechxyz/orion
tests/nodes/cumsum_i8_1d_default/input_0.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{I8Tensor, I8TensorAdd}; fn input_0() -> Tensor<i8> { let mut shape = ArrayTrait::<usize>::new(); shape.append(5); let mut data = ArrayTrait::new(); data.append(1); data.app...
https://github.com/gizatechxyz/orion
tests/nodes/cumsum_i8_1d_default/output_0.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{I8Tensor, I8TensorAdd}; fn output_0() -> Tensor<i8> { let mut shape = ArrayTrait::<usize>::new(); shape.append(5); let mut data = ArrayTrait::new(); data.append(1); data.ap...
https://github.com/gizatechxyz/orion
tests/nodes/cumsum_i8_1d_exclusive.cairo
mod input_0; mod output_0; use orion::operators::tensor::{TensorTrait, Tensor}; use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::I8TensorPartialEq; use orion::operators::tensor::{I8Tensor, I8TensorAdd}; use orion::utils::{assert_eq, assert_seq_eq}; #[test] #[available_gas(2000000000)] fn test_...
https://github.com/gizatechxyz/orion
tests/nodes/cumsum_i8_1d_exclusive/input_0.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{I8Tensor, I8TensorAdd}; fn input_0() -> Tensor<i8> { let mut shape = ArrayTrait::<usize>::new(); shape.append(5); let mut data = ArrayTrait::new(); data.append(1); data.app...
https://github.com/gizatechxyz/orion
tests/nodes/cumsum_i8_1d_exclusive/output_0.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{I8Tensor, I8TensorAdd}; fn output_0() -> Tensor<i8> { let mut shape = ArrayTrait::<usize>::new(); shape.append(5); let mut data = ArrayTrait::new(); data.append(0); data.ap...
https://github.com/gizatechxyz/orion
tests/nodes/cumsum_i8_1d_reverse.cairo
mod input_0; mod output_0; use orion::operators::tensor::{TensorTrait, Tensor}; use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::I8TensorPartialEq; use orion::operators::tensor::{I8Tensor, I8TensorAdd}; use orion::utils::{assert_eq, assert_seq_eq}; #[test] #[available_gas(2000000000)] fn test_...
https://github.com/gizatechxyz/orion
tests/nodes/cumsum_i8_1d_reverse/input_0.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{I8Tensor, I8TensorAdd}; fn input_0() -> Tensor<i8> { let mut shape = ArrayTrait::<usize>::new(); shape.append(5); let mut data = ArrayTrait::new(); data.append(1); data.app...
https://github.com/gizatechxyz/orion
tests/nodes/cumsum_i8_1d_reverse/output_0.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{I8Tensor, I8TensorAdd}; fn output_0() -> Tensor<i8> { let mut shape = ArrayTrait::<usize>::new(); shape.append(5); let mut data = ArrayTrait::new(); data.append(15); data.a...
https://github.com/gizatechxyz/orion
tests/nodes/cumsum_i8_1d_reverse_exclusive.cairo
mod input_0; mod output_0; use orion::operators::tensor::{TensorTrait, Tensor}; use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::I8TensorPartialEq; use orion::operators::tensor::{I8Tensor, I8TensorAdd}; use orion::utils::{assert_eq, assert_seq_eq}; #[test] #[available_gas(2000000000)] fn test_...
https://github.com/gizatechxyz/orion
tests/nodes/cumsum_i8_1d_reverse_exclusive/input_0.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{I8Tensor, I8TensorAdd}; fn input_0() -> Tensor<i8> { let mut shape = ArrayTrait::<usize>::new(); shape.append(5); let mut data = ArrayTrait::new(); data.append(1); data.app...
https://github.com/gizatechxyz/orion
tests/nodes/cumsum_i8_1d_reverse_exclusive/output_0.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{I8Tensor, I8TensorAdd}; fn output_0() -> Tensor<i8> { let mut shape = ArrayTrait::<usize>::new(); shape.append(5); let mut data = ArrayTrait::new(); data.append(14); data.a...
https://github.com/gizatechxyz/orion
tests/nodes/cumsum_i8_2d_axis_0.cairo
mod input_0; mod output_0; use orion::operators::tensor::{TensorTrait, Tensor}; use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::I8TensorPartialEq; use orion::operators::tensor::{I8Tensor, I8TensorAdd}; use orion::utils::{assert_eq, assert_seq_eq}; #[test] #[available_gas(2000000000)] fn test_...
https://github.com/gizatechxyz/orion
tests/nodes/cumsum_i8_2d_axis_0/input_0.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{I8Tensor, I8TensorAdd}; fn input_0() -> Tensor<i8> { let mut shape = ArrayTrait::<usize>::new(); shape.append(2); shape.append(3); let mut data = ArrayTrait::new(); data.ap...
https://github.com/gizatechxyz/orion
tests/nodes/cumsum_i8_2d_axis_0/output_0.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{I8Tensor, I8TensorAdd}; fn output_0() -> Tensor<i8> { let mut shape = ArrayTrait::<usize>::new(); shape.append(2); shape.append(3); let mut data = ArrayTrait::new(); data.a...
https://github.com/gizatechxyz/orion
tests/nodes/cumsum_i8_2d_axis_1.cairo
mod input_0; mod output_0; use orion::operators::tensor::{TensorTrait, Tensor}; use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::I8TensorPartialEq; use orion::operators::tensor::{I8Tensor, I8TensorAdd}; use orion::utils::{assert_eq, assert_seq_eq}; #[test] #[available_gas(2000000000)] fn test_...
https://github.com/gizatechxyz/orion
tests/nodes/cumsum_i8_2d_axis_1/input_0.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{I8Tensor, I8TensorAdd}; fn input_0() -> Tensor<i8> { let mut shape = ArrayTrait::<usize>::new(); shape.append(2); shape.append(3); let mut data = ArrayTrait::new(); data.ap...
https://github.com/gizatechxyz/orion
tests/nodes/cumsum_i8_2d_axis_1/output_0.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{I8Tensor, I8TensorAdd}; fn output_0() -> Tensor<i8> { let mut shape = ArrayTrait::<usize>::new(); shape.append(2); shape.append(3); let mut data = ArrayTrait::new(); data.a...
https://github.com/gizatechxyz/orion
tests/nodes/cumsum_u32_1d_default.cairo
mod input_0; mod output_0; use orion::operators::tensor::{U32Tensor, U32TensorAdd}; use orion::operators::tensor::{TensorTrait, Tensor}; use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::U32TensorPartialEq; use orion::utils::{assert_eq, assert_seq_eq}; #[test] #[available_gas(2000000000)] fn te...
https://github.com/gizatechxyz/orion
tests/nodes/cumsum_u32_1d_default/input_0.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{U32Tensor, U32TensorAdd}; fn input_0() -> Tensor<u32> { let mut shape = ArrayTrait::<usize>::new(); shape.append(5); let mut data = ArrayTrait::new(); data.append(1); data....
https://github.com/gizatechxyz/orion
tests/nodes/cumsum_u32_1d_default/output_0.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{U32Tensor, U32TensorAdd}; fn output_0() -> Tensor<u32> { let mut shape = ArrayTrait::<usize>::new(); shape.append(5); let mut data = ArrayTrait::new(); data.append(1); data...
https://github.com/gizatechxyz/orion
tests/nodes/cumsum_u32_1d_exclusive.cairo
mod input_0; mod output_0; use orion::operators::tensor::{U32Tensor, U32TensorAdd}; use orion::operators::tensor::{TensorTrait, Tensor}; use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::U32TensorPartialEq; use orion::utils::{assert_eq, assert_seq_eq}; #[test] #[available_gas(2000000000)] fn te...
https://github.com/gizatechxyz/orion
tests/nodes/cumsum_u32_1d_exclusive/input_0.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{U32Tensor, U32TensorAdd}; fn input_0() -> Tensor<u32> { let mut shape = ArrayTrait::<usize>::new(); shape.append(5); let mut data = ArrayTrait::new(); data.append(1); data....
https://github.com/gizatechxyz/orion
tests/nodes/cumsum_u32_1d_exclusive/output_0.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{U32Tensor, U32TensorAdd}; fn output_0() -> Tensor<u32> { let mut shape = ArrayTrait::<usize>::new(); shape.append(5); let mut data = ArrayTrait::new(); data.append(0); data...
https://github.com/gizatechxyz/orion
tests/nodes/cumsum_u32_1d_reverse.cairo
mod input_0; mod output_0; use orion::operators::tensor::{U32Tensor, U32TensorAdd}; use orion::operators::tensor::{TensorTrait, Tensor}; use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::U32TensorPartialEq; use orion::utils::{assert_eq, assert_seq_eq}; #[test] #[available_gas(2000000000)] fn te...
https://github.com/gizatechxyz/orion
tests/nodes/cumsum_u32_1d_reverse/input_0.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{U32Tensor, U32TensorAdd}; fn input_0() -> Tensor<u32> { let mut shape = ArrayTrait::<usize>::new(); shape.append(5); let mut data = ArrayTrait::new(); data.append(1); data....
https://github.com/gizatechxyz/orion
tests/nodes/cumsum_u32_1d_reverse/output_0.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{U32Tensor, U32TensorAdd}; fn output_0() -> Tensor<u32> { let mut shape = ArrayTrait::<usize>::new(); shape.append(5); let mut data = ArrayTrait::new(); data.append(15); dat...
https://github.com/gizatechxyz/orion
tests/nodes/cumsum_u32_1d_reverse_exclusive.cairo
mod input_0; mod output_0; use orion::operators::tensor::{U32Tensor, U32TensorAdd}; use orion::operators::tensor::{TensorTrait, Tensor}; use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::U32TensorPartialEq; use orion::utils::{assert_eq, assert_seq_eq}; #[test] #[available_gas(2000000000)] fn te...
https://github.com/gizatechxyz/orion
tests/nodes/cumsum_u32_1d_reverse_exclusive/input_0.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{U32Tensor, U32TensorAdd}; fn input_0() -> Tensor<u32> { let mut shape = ArrayTrait::<usize>::new(); shape.append(5); let mut data = ArrayTrait::new(); data.append(1); data....
https://github.com/gizatechxyz/orion
tests/nodes/cumsum_u32_1d_reverse_exclusive/output_0.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{U32Tensor, U32TensorAdd}; fn output_0() -> Tensor<u32> { let mut shape = ArrayTrait::<usize>::new(); shape.append(5); let mut data = ArrayTrait::new(); data.append(14); dat...
https://github.com/gizatechxyz/orion
tests/nodes/cumsum_u32_2d_axis_0.cairo
mod input_0; mod output_0; use orion::operators::tensor::{U32Tensor, U32TensorAdd}; use orion::operators::tensor::{TensorTrait, Tensor}; use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::U32TensorPartialEq; use orion::utils::{assert_eq, assert_seq_eq}; #[test] #[available_gas(2000000000)] fn te...
https://github.com/gizatechxyz/orion
tests/nodes/cumsum_u32_2d_axis_0/input_0.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{U32Tensor, U32TensorAdd}; fn input_0() -> Tensor<u32> { let mut shape = ArrayTrait::<usize>::new(); shape.append(2); shape.append(3); let mut data = ArrayTrait::new(); data...
https://github.com/gizatechxyz/orion
tests/nodes/cumsum_u32_2d_axis_0/output_0.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{U32Tensor, U32TensorAdd}; fn output_0() -> Tensor<u32> { let mut shape = ArrayTrait::<usize>::new(); shape.append(2); shape.append(3); let mut data = ArrayTrait::new(); dat...
https://github.com/gizatechxyz/orion
tests/nodes/cumsum_u32_2d_axis_1.cairo
mod input_0; mod output_0; use orion::operators::tensor::{U32Tensor, U32TensorAdd}; use orion::operators::tensor::{TensorTrait, Tensor}; use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::U32TensorPartialEq; use orion::utils::{assert_eq, assert_seq_eq}; #[test] #[available_gas(2000000000)] fn te...
https://github.com/gizatechxyz/orion
tests/nodes/cumsum_u32_2d_axis_1/input_0.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{U32Tensor, U32TensorAdd}; fn input_0() -> Tensor<u32> { let mut shape = ArrayTrait::<usize>::new(); shape.append(2); shape.append(3); let mut data = ArrayTrait::new(); data...
https://github.com/gizatechxyz/orion
tests/nodes/cumsum_u32_2d_axis_1/output_0.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{U32Tensor, U32TensorAdd}; fn output_0() -> Tensor<u32> { let mut shape = ArrayTrait::<usize>::new(); shape.append(2); shape.append(3); let mut data = ArrayTrait::new(); dat...
https://github.com/gizatechxyz/orion
tests/nodes/depth_to_space_fp16x16.cairo
mod input_0; mod output_0; use orion::operators::nn::FP16x16NN; use orion::operators::tensor::FP16x16TensorPartialEq; use orion::operators::nn::NNTrait; use orion::numbers::FixedTrait; use orion::utils::{assert_eq, assert_seq_eq}; #[test] #[available_gas(2000000000)] fn test_depth_to_space_fp16x16() { let input_...
https://github.com/gizatechxyz/orion
tests/nodes/depth_to_space_fp16x16/input_0.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{FP16x16Tensor, FP16x16TensorAdd}; use orion::numbers::{FixedTrait, FP16x16}; fn input_0() -> Tensor<FP16x16> { let mut shape = ArrayTrait::<usize>::new(); shape.append(1); shape.app...
https://github.com/gizatechxyz/orion
tests/nodes/depth_to_space_fp16x16/output_0.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{FP16x16Tensor, FP16x16TensorAdd}; use orion::numbers::{FixedTrait, FP16x16}; fn output_0() -> Tensor<FP16x16> { let mut shape = ArrayTrait::<usize>::new(); shape.append(1); shape.ap...
https://github.com/gizatechxyz/orion
tests/nodes/depth_to_space_fp8x23.cairo
mod input_0; mod output_0; use orion::operators::nn::FP8x23NN; use orion::operators::nn::NNTrait; use orion::numbers::FixedTrait; use orion::utils::{assert_eq, assert_seq_eq}; use orion::operators::tensor::FP8x23TensorPartialEq; #[test] #[available_gas(2000000000)] fn test_depth_to_space_fp8x23() { let input_0 =...
https://github.com/gizatechxyz/orion
tests/nodes/depth_to_space_fp8x23/input_0.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{FP8x23Tensor, FP8x23TensorAdd}; use orion::numbers::{FixedTrait, FP8x23}; fn input_0() -> Tensor<FP8x23> { let mut shape = ArrayTrait::<usize>::new(); shape.append(1); shape.append(...
https://github.com/gizatechxyz/orion
tests/nodes/depth_to_space_fp8x23/output_0.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{FP8x23Tensor, FP8x23TensorAdd}; use orion::numbers::{FixedTrait, FP8x23}; fn output_0() -> Tensor<FP8x23> { let mut shape = ArrayTrait::<usize>::new(); shape.append(1); shape.append...
https://github.com/gizatechxyz/orion
tests/nodes/depth_to_space_i32.cairo
mod input_0; mod output_0; use orion::operators::nn::I32NN; use orion::operators::nn::NNTrait; use orion::numbers::FixedTrait; use orion::utils::{assert_eq, assert_seq_eq}; use orion::operators::tensor::I32TensorPartialEq; #[test] #[available_gas(2000000000)] fn test_depth_to_space_i32() { let input_0 = input_0:...
https://github.com/gizatechxyz/orion
tests/nodes/depth_to_space_i32/input_0.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{I32Tensor, I32TensorAdd}; use orion::numbers::NumberTrait; fn input_0() -> Tensor<i32> { let mut shape = ArrayTrait::<usize>::new(); shape.append(1); shape.append(4); shape.appe...
https://github.com/gizatechxyz/orion
tests/nodes/depth_to_space_i32/output_0.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{I32Tensor, I32TensorAdd}; use orion::numbers::NumberTrait; fn output_0() -> Tensor<i32> { let mut shape = ArrayTrait::<usize>::new(); shape.append(1); shape.append(1); shape.app...
https://github.com/gizatechxyz/orion
tests/nodes/depth_to_space_i8.cairo
mod input_0; mod output_0; use orion::operators::nn::NNTrait; use orion::numbers::FixedTrait; use orion::utils::{assert_eq, assert_seq_eq}; use orion::operators::tensor::I8TensorPartialEq; use orion::operators::nn::I8NN; #[test] #[available_gas(2000000000)] fn test_depth_to_space_i8() { let input_0 = input_0::in...
https://github.com/gizatechxyz/orion
tests/nodes/depth_to_space_i8/input_0.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{I8Tensor, I8TensorAdd}; use orion::numbers::NumberTrait; fn input_0() -> Tensor<i8> { let mut shape = ArrayTrait::<usize>::new(); shape.append(1); shape.append(4); shape.append(...
https://github.com/gizatechxyz/orion
tests/nodes/depth_to_space_i8/output_0.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{I8Tensor, I8TensorAdd}; use orion::numbers::NumberTrait; fn output_0() -> Tensor<i8> { let mut shape = ArrayTrait::<usize>::new(); shape.append(1); shape.append(1); shape.append...
https://github.com/gizatechxyz/orion
tests/nodes/depth_to_space_u32.cairo
mod input_0; mod output_0; use orion::operators::nn::NNTrait; use orion::numbers::FixedTrait; use orion::utils::{assert_eq, assert_seq_eq}; use orion::operators::tensor::U32TensorPartialEq; use orion::operators::nn::U32NN; #[test] #[available_gas(2000000000)] fn test_depth_to_space_u32() { let input_0 = input_0:...
https://github.com/gizatechxyz/orion
tests/nodes/depth_to_space_u32/input_0.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{U32Tensor, U32TensorAdd}; use orion::numbers::NumberTrait; fn input_0() -> Tensor<u32> { let mut shape = ArrayTrait::<usize>::new(); shape.append(1); shape.append(4); shape.appe...
https://github.com/gizatechxyz/orion
tests/nodes/depth_to_space_u32/output_0.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{U32Tensor, U32TensorAdd}; use orion::numbers::NumberTrait; fn output_0() -> Tensor<u32> { let mut shape = ArrayTrait::<usize>::new(); shape.append(1); shape.append(1); shape.app...
https://github.com/gizatechxyz/orion
tests/nodes/div_fp16x16.cairo
mod input_0; mod input_1; mod output_0; use orion::operators::tensor::FP16x16TensorPartialEq; use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{FP16x16Tensor, FP16x16TensorDiv}; use orion::utils::{assert_eq, assert_seq_eq}; #[test] #[availab...
https://github.com/gizatechxyz/orion
tests/nodes/div_fp16x16/input_0.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{FP16x16Tensor, FP16x16TensorDiv}; use orion::numbers::{FixedTrait, FP16x16}; fn input_0() -> Tensor<FP16x16> { let mut shape = ArrayTrait::<usize>::new(); shape.append(3); shape.app...
https://github.com/gizatechxyz/orion
tests/nodes/div_fp16x16/input_1.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{FP16x16Tensor, FP16x16TensorDiv}; use orion::numbers::{FixedTrait, FP16x16}; fn input_1() -> Tensor<FP16x16> { let mut shape = ArrayTrait::<usize>::new(); shape.append(3); shape.app...
https://github.com/gizatechxyz/orion
tests/nodes/div_fp16x16/output_0.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{FP16x16Tensor, FP16x16TensorDiv}; use orion::numbers::{FixedTrait, FP16x16}; fn output_0() -> Tensor<FP16x16> { let mut shape = ArrayTrait::<usize>::new(); shape.append(3); shape.ap...
https://github.com/gizatechxyz/orion
tests/nodes/div_fp16x16_broadcast.cairo
mod input_0; mod input_1; mod output_0; use orion::operators::tensor::FP16x16TensorPartialEq; use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{FP16x16Tensor, FP16x16TensorDiv}; use orion::utils::{assert_eq, assert_seq_eq}; #[test] #[availab...
https://github.com/gizatechxyz/orion
tests/nodes/div_fp16x16_broadcast/input_0.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{FP16x16Tensor, FP16x16TensorDiv}; use orion::numbers::{FixedTrait, FP16x16}; fn input_0() -> Tensor<FP16x16> { let mut shape = ArrayTrait::<usize>::new(); shape.append(3); shape.app...
https://github.com/gizatechxyz/orion
tests/nodes/div_fp16x16_broadcast/input_1.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{FP16x16Tensor, FP16x16TensorDiv}; use orion::numbers::{FixedTrait, FP16x16}; fn input_1() -> Tensor<FP16x16> { let mut shape = ArrayTrait::<usize>::new(); shape.append(1); shape.app...
https://github.com/gizatechxyz/orion
tests/nodes/div_fp16x16_broadcast/output_0.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{FP16x16Tensor, FP16x16TensorDiv}; use orion::numbers::{FixedTrait, FP16x16}; fn output_0() -> Tensor<FP16x16> { let mut shape = ArrayTrait::<usize>::new(); shape.append(3); shape.ap...
https://github.com/gizatechxyz/orion
tests/nodes/div_fp8x23.cairo
mod input_0; mod input_1; mod output_0; use orion::operators::tensor::FP8x23TensorPartialEq; use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::utils::{assert_eq, assert_seq_eq}; use orion::operators::tensor::{FP8x23Tensor, FP8x23TensorDiv}; #[test] #[available_...
https://github.com/gizatechxyz/orion
tests/nodes/div_fp8x23/input_0.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{FP8x23Tensor, FP8x23TensorDiv}; use orion::numbers::{FixedTrait, FP8x23}; fn input_0() -> Tensor<FP8x23> { let mut shape = ArrayTrait::<usize>::new(); shape.append(3); shape.append(...
https://github.com/gizatechxyz/orion
tests/nodes/div_fp8x23/input_1.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{FP8x23Tensor, FP8x23TensorDiv}; use orion::numbers::{FixedTrait, FP8x23}; fn input_1() -> Tensor<FP8x23> { let mut shape = ArrayTrait::<usize>::new(); shape.append(3); shape.append(...
https://github.com/gizatechxyz/orion
tests/nodes/div_fp8x23/output_0.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{FP8x23Tensor, FP8x23TensorDiv}; use orion::numbers::{FixedTrait, FP8x23}; fn output_0() -> Tensor<FP8x23> { let mut shape = ArrayTrait::<usize>::new(); shape.append(3); shape.append...
https://github.com/gizatechxyz/orion
tests/nodes/div_fp8x23_broadcast.cairo
mod input_0; mod input_1; mod output_0; use orion::operators::tensor::FP8x23TensorPartialEq; use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::utils::{assert_eq, assert_seq_eq}; use orion::operators::tensor::{FP8x23Tensor, FP8x23TensorDiv}; #[test] #[available_...
https://github.com/gizatechxyz/orion
tests/nodes/div_fp8x23_broadcast/input_0.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{FP8x23Tensor, FP8x23TensorDiv}; use orion::numbers::{FixedTrait, FP8x23}; fn input_0() -> Tensor<FP8x23> { let mut shape = ArrayTrait::<usize>::new(); shape.append(3); shape.append(...
https://github.com/gizatechxyz/orion
tests/nodes/div_fp8x23_broadcast/input_1.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{FP8x23Tensor, FP8x23TensorDiv}; use orion::numbers::{FixedTrait, FP8x23}; fn input_1() -> Tensor<FP8x23> { let mut shape = ArrayTrait::<usize>::new(); shape.append(1); shape.append(...
https://github.com/gizatechxyz/orion
tests/nodes/div_fp8x23_broadcast/output_0.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{FP8x23Tensor, FP8x23TensorDiv}; use orion::numbers::{FixedTrait, FP8x23}; fn output_0() -> Tensor<FP8x23> { let mut shape = ArrayTrait::<usize>::new(); shape.append(3); shape.append...
https://github.com/gizatechxyz/orion
tests/nodes/div_i32.cairo
mod input_0; mod input_1; mod output_0; use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::I32TensorPartialEq; use orion::operators::tensor::{I32Tensor, I32TensorDiv}; use orion::utils::{assert_eq, assert_seq_eq}; #[test] #[available_gas(20000...
https://github.com/gizatechxyz/orion
tests/nodes/div_i32/input_0.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{I32Tensor, I32TensorDiv}; fn input_0() -> Tensor<i32> { let mut shape = ArrayTrait::<usize>::new(); shape.append(3); shape.append(3); shape.append(3); let mut data = ArrayT...
https://github.com/gizatechxyz/orion
tests/nodes/div_i32/input_1.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{I32Tensor, I32TensorDiv}; fn input_1() -> Tensor<i32> { let mut shape = ArrayTrait::<usize>::new(); shape.append(3); shape.append(3); shape.append(3); let mut data = ArrayT...
https://github.com/gizatechxyz/orion