file_path
stringlengths
7
180
content
stringlengths
0
811k
repo
stringclasses
11 values
tests/nodes/div_i32/output_0.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{I32Tensor, I32TensorDiv}; fn output_0() -> Tensor<i32> { let mut shape = ArrayTrait::<usize>::new(); shape.append(3); shape.append(3); shape.append(3); let mut data = Array...
https://github.com/gizatechxyz/orion
tests/nodes/div_i32_broadcast.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_broadcast/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_broadcast/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(1); shape.append(3); shape.append(1); let mut data = ArrayT...
https://github.com/gizatechxyz/orion
tests/nodes/div_i32_broadcast/output_0.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{I32Tensor, I32TensorDiv}; fn output_0() -> Tensor<i32> { let mut shape = ArrayTrait::<usize>::new(); shape.append(3); shape.append(3); shape.append(3); let mut data = Array...
https://github.com/gizatechxyz/orion
tests/nodes/div_i8.cairo
mod input_0; mod input_1; mod output_0; use orion::operators::tensor::I8TensorPartialEq; use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{I8Tensor, I8TensorDiv}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::utils::{assert_eq, assert_seq_eq}; #[test] #[available_gas(20000000...
https://github.com/gizatechxyz/orion
tests/nodes/div_i8/input_0.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{I8Tensor, I8TensorDiv}; fn input_0() -> Tensor<i8> { let mut shape = ArrayTrait::<usize>::new(); shape.append(3); shape.append(3); shape.append(3); let mut data = ArrayTrai...
https://github.com/gizatechxyz/orion
tests/nodes/div_i8/input_1.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{I8Tensor, I8TensorDiv}; fn input_1() -> Tensor<i8> { let mut shape = ArrayTrait::<usize>::new(); shape.append(3); shape.append(3); shape.append(3); let mut data = ArrayTrai...
https://github.com/gizatechxyz/orion
tests/nodes/div_i8/output_0.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{I8Tensor, I8TensorDiv}; fn output_0() -> Tensor<i8> { let mut shape = ArrayTrait::<usize>::new(); shape.append(3); shape.append(3); shape.append(3); let mut data = ArrayTra...
https://github.com/gizatechxyz/orion
tests/nodes/div_i8_broadcast.cairo
mod input_0; mod input_1; mod output_0; use orion::operators::tensor::I8TensorPartialEq; use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{I8Tensor, I8TensorDiv}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::utils::{assert_eq, assert_seq_eq}; #[test] #[available_gas(20000000...
https://github.com/gizatechxyz/orion
tests/nodes/div_i8_broadcast/input_0.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{I8Tensor, I8TensorDiv}; fn input_0() -> Tensor<i8> { let mut shape = ArrayTrait::<usize>::new(); shape.append(3); shape.append(3); shape.append(3); let mut data = ArrayTrai...
https://github.com/gizatechxyz/orion
tests/nodes/div_i8_broadcast/input_1.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{I8Tensor, I8TensorDiv}; fn input_1() -> Tensor<i8> { let mut shape = ArrayTrait::<usize>::new(); shape.append(1); shape.append(3); shape.append(1); let mut data = ArrayTrai...
https://github.com/gizatechxyz/orion
tests/nodes/div_i8_broadcast/output_0.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{I8Tensor, I8TensorDiv}; fn output_0() -> Tensor<i8> { let mut shape = ArrayTrait::<usize>::new(); shape.append(3); shape.append(3); shape.append(3); let mut data = ArrayTra...
https://github.com/gizatechxyz/orion
tests/nodes/div_u32.cairo
mod input_0; mod input_1; mod output_0; use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::U32TensorPartialEq; use orion::operators::tensor::{U32Tensor, U32TensorDiv}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::utils::{assert_eq, assert_seq_eq}; #[test] #[available_gas(20000...
https://github.com/gizatechxyz/orion
tests/nodes/div_u32/input_0.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{U32Tensor, U32TensorDiv}; fn input_0() -> Tensor<u32> { 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_u32/input_1.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{U32Tensor, U32TensorDiv}; fn input_1() -> Tensor<u32> { 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_u32/output_0.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{U32Tensor, U32TensorDiv}; fn output_0() -> Tensor<u32> { let mut shape = ArrayTrait::<usize>::new(); shape.append(3); shape.append(3); shape.append(3); let mut data = Array...
https://github.com/gizatechxyz/orion
tests/nodes/div_u32_broadcast.cairo
mod input_0; mod input_1; mod output_0; use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::U32TensorPartialEq; use orion::operators::tensor::{U32Tensor, U32TensorDiv}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::utils::{assert_eq, assert_seq_eq}; #[test] #[available_gas(20000...
https://github.com/gizatechxyz/orion
tests/nodes/div_u32_broadcast/input_0.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{U32Tensor, U32TensorDiv}; fn input_0() -> Tensor<u32> { 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_u32_broadcast/input_1.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{U32Tensor, U32TensorDiv}; fn input_1() -> Tensor<u32> { let mut shape = ArrayTrait::<usize>::new(); shape.append(1); shape.append(3); shape.append(1); let mut data = ArrayT...
https://github.com/gizatechxyz/orion
tests/nodes/div_u32_broadcast/output_0.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{U32Tensor, U32TensorDiv}; fn output_0() -> Tensor<u32> { let mut shape = ArrayTrait::<usize>::new(); shape.append(3); shape.append(3); shape.append(3); let mut data = Array...
https://github.com/gizatechxyz/orion
tests/nodes/equal_fp16x16.cairo
mod input_0; mod input_1; mod output_0; use orion::operators::tensor::U32TensorPartialEq; use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{FP16x16Tensor, FP16x16TensorDiv}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::FP16x16TensorPartialEq; use orion::uti...
https://github.com/gizatechxyz/orion
tests/nodes/equal_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/equal_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/equal_fp16x16/output_0.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{U32Tensor, U32TensorDiv}; fn output_0() -> Tensor<u32> { let mut shape = ArrayTrait::<usize>::new(); shape.append(3); shape.append(3); shape.append(3); let mut data = Array...
https://github.com/gizatechxyz/orion
tests/nodes/equal_fp16x16_broadcast.cairo
mod input_0; mod input_1; mod output_0; use orion::operators::tensor::U32TensorPartialEq; use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{FP16x16Tensor, FP16x16TensorDiv}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::FP16x16TensorPartialEq; use orion::uti...
https://github.com/gizatechxyz/orion
tests/nodes/equal_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(2); shape.app...
https://github.com/gizatechxyz/orion
tests/nodes/equal_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/equal_fp16x16_broadcast/output_0.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{U32Tensor, U32TensorDiv}; fn output_0() -> Tensor<u32> { let mut shape = ArrayTrait::<usize>::new(); shape.append(2); shape.append(2); let mut data = ArrayTrait::new(); dat...
https://github.com/gizatechxyz/orion
tests/nodes/equal_fp8x23.cairo
mod input_0; mod input_1; mod output_0; use orion::operators::tensor::U32TensorPartialEq; use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::FP8x23TensorPartialEq; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{FP8x23Tensor, FP8x23TensorDiv}; use orion::utils:...
https://github.com/gizatechxyz/orion
tests/nodes/equal_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/equal_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/equal_fp8x23/output_0.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{U32Tensor, U32TensorDiv}; fn output_0() -> Tensor<u32> { let mut shape = ArrayTrait::<usize>::new(); shape.append(3); shape.append(3); shape.append(3); let mut data = Array...
https://github.com/gizatechxyz/orion
tests/nodes/equal_fp8x23_broadcast.cairo
mod input_0; mod input_1; mod output_0; use orion::operators::tensor::U32TensorPartialEq; use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::FP8x23TensorPartialEq; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{FP8x23Tensor, FP8x23TensorDiv}; use orion::utils:...
https://github.com/gizatechxyz/orion
tests/nodes/equal_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(2); shape.append(...
https://github.com/gizatechxyz/orion
tests/nodes/equal_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/equal_fp8x23_broadcast/output_0.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{U32Tensor, U32TensorDiv}; fn output_0() -> Tensor<u32> { let mut shape = ArrayTrait::<usize>::new(); shape.append(2); shape.append(2); let mut data = ArrayTrait::new(); dat...
https://github.com/gizatechxyz/orion
tests/nodes/equal_i32.cairo
mod input_0; mod input_1; mod output_0; use orion::operators::tensor::I32TensorPartialEq; use orion::operators::tensor::U32TensorPartialEq; use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::utils::{assert_eq, assert_seq_eq}; use orion::operators::tensor::{I32Ten...
https://github.com/gizatechxyz/orion
tests/nodes/equal_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/equal_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
tests/nodes/equal_i32/output_0.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{U32Tensor, U32TensorDiv}; fn output_0() -> Tensor<u32> { let mut shape = ArrayTrait::<usize>::new(); shape.append(3); shape.append(3); shape.append(3); let mut data = Array...
https://github.com/gizatechxyz/orion
tests/nodes/equal_i32_broadcast.cairo
mod input_0; mod input_1; mod output_0; use orion::operators::tensor::I32TensorPartialEq; use orion::operators::tensor::U32TensorPartialEq; use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::utils::{assert_eq, assert_seq_eq}; use orion::operators::tensor::{I32Ten...
https://github.com/gizatechxyz/orion
tests/nodes/equal_i32_broadcast/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(2); shape.append(2); let mut data = ArrayTrait::new(); data...
https://github.com/gizatechxyz/orion
tests/nodes/equal_i32_broadcast/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(1); shape.append(2); let mut data = ArrayTrait::new(); data...
https://github.com/gizatechxyz/orion
tests/nodes/equal_i32_broadcast/output_0.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{U32Tensor, U32TensorDiv}; fn output_0() -> Tensor<u32> { let mut shape = ArrayTrait::<usize>::new(); shape.append(2); shape.append(2); let mut data = ArrayTrait::new(); dat...
https://github.com/gizatechxyz/orion
tests/nodes/equal_i8.cairo
mod input_0; mod input_1; mod output_0; use orion::operators::tensor::U32TensorPartialEq; use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::I8TensorPartialEq; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{I8Tensor, I8TensorDiv}; use orion::utils::{assert_eq,...
https://github.com/gizatechxyz/orion
tests/nodes/equal_i8/input_0.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{I8Tensor, I8TensorDiv}; fn input_0() -> Tensor<i8> { let mut shape = ArrayTrait::<usize>::new(); shape.append(3); shape.append(3); shape.append(3); let mut data = ArrayTrai...
https://github.com/gizatechxyz/orion
tests/nodes/equal_i8/input_1.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{I8Tensor, I8TensorDiv}; fn input_1() -> Tensor<i8> { let mut shape = ArrayTrait::<usize>::new(); shape.append(3); shape.append(3); shape.append(3); let mut data = ArrayTrai...
https://github.com/gizatechxyz/orion
tests/nodes/equal_i8/output_0.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{U32Tensor, U32TensorDiv}; fn output_0() -> Tensor<u32> { let mut shape = ArrayTrait::<usize>::new(); shape.append(3); shape.append(3); shape.append(3); let mut data = Array...
https://github.com/gizatechxyz/orion
tests/nodes/equal_i8_broadcast.cairo
mod input_0; mod input_1; mod output_0; use orion::operators::tensor::U32TensorPartialEq; use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::I8TensorPartialEq; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{I8Tensor, I8TensorDiv}; use orion::utils::{assert_eq,...
https://github.com/gizatechxyz/orion
tests/nodes/equal_i8_broadcast/input_0.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{I8Tensor, I8TensorDiv}; fn input_0() -> Tensor<i8> { let mut shape = ArrayTrait::<usize>::new(); shape.append(2); shape.append(2); let mut data = ArrayTrait::new(); data.ap...
https://github.com/gizatechxyz/orion
tests/nodes/equal_i8_broadcast/input_1.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{I8Tensor, I8TensorDiv}; fn input_1() -> Tensor<i8> { let mut shape = ArrayTrait::<usize>::new(); shape.append(1); shape.append(2); let mut data = ArrayTrait::new(); data.ap...
https://github.com/gizatechxyz/orion
tests/nodes/equal_i8_broadcast/output_0.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{U32Tensor, U32TensorDiv}; fn output_0() -> Tensor<u32> { let mut shape = ArrayTrait::<usize>::new(); shape.append(2); shape.append(2); let mut data = ArrayTrait::new(); dat...
https://github.com/gizatechxyz/orion
tests/nodes/equal_u32.cairo
mod input_0; mod input_1; mod output_0; use orion::operators::tensor::U32TensorPartialEq; use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::utils::{assert_eq, assert_seq_eq}; use orion::operators::tensor::{U32Tensor, U32TensorDiv}; #[test] #[available_gas(20000...
https://github.com/gizatechxyz/orion
tests/nodes/equal_u32/input_0.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{U32Tensor, U32TensorDiv}; fn input_0() -> Tensor<u32> { 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/equal_u32/input_1.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{U32Tensor, U32TensorDiv}; fn input_1() -> Tensor<u32> { 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/equal_u32/output_0.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{U32Tensor, U32TensorDiv}; fn output_0() -> Tensor<u32> { let mut shape = ArrayTrait::<usize>::new(); shape.append(3); shape.append(3); shape.append(3); let mut data = Array...
https://github.com/gizatechxyz/orion
tests/nodes/equal_u32_broadcast.cairo
mod input_0; mod input_1; mod output_0; use orion::operators::tensor::U32TensorPartialEq; use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::utils::{assert_eq, assert_seq_eq}; use orion::operators::tensor::{U32Tensor, U32TensorDiv}; #[test] #[available_gas(20000...
https://github.com/gizatechxyz/orion
tests/nodes/equal_u32_broadcast/input_0.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{U32Tensor, U32TensorDiv}; fn input_0() -> Tensor<u32> { let mut shape = ArrayTrait::<usize>::new(); shape.append(2); shape.append(2); let mut data = ArrayTrait::new(); data...
https://github.com/gizatechxyz/orion
tests/nodes/equal_u32_broadcast/input_1.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{U32Tensor, U32TensorDiv}; fn input_1() -> Tensor<u32> { let mut shape = ArrayTrait::<usize>::new(); shape.append(1); shape.append(2); let mut data = ArrayTrait::new(); data...
https://github.com/gizatechxyz/orion
tests/nodes/equal_u32_broadcast/output_0.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{U32Tensor, U32TensorDiv}; fn output_0() -> Tensor<u32> { let mut shape = ArrayTrait::<usize>::new(); shape.append(2); shape.append(2); let mut data = ArrayTrait::new(); dat...
https://github.com/gizatechxyz/orion
tests/nodes/erf_fp16x16.cairo
mod input_0; mod output_0; use orion::operators::tensor::FP16x16Tensor; use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::utils::{assert_eq, assert_seq_eq}; use orion::operators::tensor::FP16x16TensorPartialEq; #[test] #[available_gas(2000000000)] fn test_erf_f...
https://github.com/gizatechxyz/orion
tests/nodes/erf_fp16x16/input_0.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::FP16x16Tensor; use orion::numbers::{FixedTrait, FP16x16}; fn input_0() -> Tensor<FP16x16> { let mut shape = ArrayTrait::<usize>::new(); shape.append(1); shape.append(5); let mut...
https://github.com/gizatechxyz/orion
tests/nodes/erf_fp16x16/output_0.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::FP16x16Tensor; use orion::numbers::{FixedTrait, FP16x16}; fn output_0() -> Tensor<FP16x16> { let mut shape = ArrayTrait::<usize>::new(); shape.append(1); shape.append(5); let mu...
https://github.com/gizatechxyz/orion
tests/nodes/erf_fp8x23.cairo
mod input_0; mod output_0; use orion::operators::tensor::FP8x23TensorPartialEq; use orion::operators::tensor::FP8x23Tensor; use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::utils::{assert_eq, assert_seq_eq}; #[test] #[available_gas(2000000000)] fn test_erf_fp8...
https://github.com/gizatechxyz/orion
tests/nodes/erf_fp8x23/input_0.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::FP8x23Tensor; use orion::numbers::{FixedTrait, FP8x23}; fn input_0() -> Tensor<FP8x23> { let mut shape = ArrayTrait::<usize>::new(); shape.append(1); shape.append(5); let mut da...
https://github.com/gizatechxyz/orion
tests/nodes/erf_fp8x23/output_0.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::FP8x23Tensor; use orion::numbers::{FixedTrait, FP8x23}; fn output_0() -> Tensor<FP8x23> { let mut shape = ArrayTrait::<usize>::new(); shape.append(1); shape.append(5); let mut d...
https://github.com/gizatechxyz/orion
tests/nodes/exp_fp16x16.cairo
mod input_0; mod output_0; use orion::operators::tensor::FP16x16TensorPartialEq; use orion::operators::tensor::{FP16x16Tensor, FP16x16TensorSub}; use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::utils::{assert_eq, assert_seq_eq}; #[test] #[available_gas(200000...
https://github.com/gizatechxyz/orion
tests/nodes/exp_fp16x16/input_0.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{FP16x16Tensor, FP16x16TensorSub}; use orion::numbers::{FixedTrait, FP16x16}; fn input_0() -> Tensor<FP16x16> { let mut shape = ArrayTrait::<usize>::new(); shape.append(2); shape.app...
https://github.com/gizatechxyz/orion
tests/nodes/exp_fp16x16/output_0.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{FP16x16Tensor, FP16x16TensorSub}; use orion::numbers::{FixedTrait, FP16x16}; fn output_0() -> Tensor<FP16x16> { let mut shape = ArrayTrait::<usize>::new(); shape.append(2); shape.ap...
https://github.com/gizatechxyz/orion
tests/nodes/exp_fp8x23.cairo
mod input_0; 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, FP8x23TensorSub}; #[test] #[available_gas(200000000...
https://github.com/gizatechxyz/orion
tests/nodes/exp_fp8x23/input_0.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{FP8x23Tensor, FP8x23TensorSub}; 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/exp_fp8x23/output_0.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{FP8x23Tensor, FP8x23TensorSub}; 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/gather_elements_axis1.cairo
mod input_0; mod input_1; mod output_0; use orion::utils::{assert_eq, assert_seq_eq}; use orion::operators::tensor::{FP16x16Tensor, FP16x16TensorAdd}; use orion::operators::tensor::FP16x16TensorPartialEq; use orion::operators::tensor::{I32Tensor, I32TensorAdd}; use core::array::{ArrayTrait, SpanTrait}; use orion::ope...
https://github.com/gizatechxyz/orion
tests/nodes/gather_elements_axis1/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(2); shape.app...
https://github.com/gizatechxyz/orion
tests/nodes/gather_elements_axis1/input_1.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{I32Tensor, I32TensorAdd}; use orion::numbers::NumberTrait; fn input_1() -> Tensor<i32> { let mut shape = ArrayTrait::<usize>::new(); shape.append(2); shape.append(2); let mut d...
https://github.com/gizatechxyz/orion
tests/nodes/gather_elements_axis1/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(2); shape.ap...
https://github.com/gizatechxyz/orion
tests/nodes/gather_elements_axis2.cairo
mod input_0; mod input_1; mod output_0; use orion::utils::{assert_eq, assert_seq_eq}; use orion::operators::tensor::{FP16x16Tensor, FP16x16TensorAdd}; use orion::operators::tensor::FP16x16TensorPartialEq; use orion::operators::tensor::{I32Tensor, I32TensorAdd}; use core::array::{ArrayTrait, SpanTrait}; use orion::ope...
https://github.com/gizatechxyz/orion
tests/nodes/gather_elements_axis2/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(3); shape.app...
https://github.com/gizatechxyz/orion
tests/nodes/gather_elements_axis2/input_1.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{I32Tensor, I32TensorAdd}; use orion::numbers::NumberTrait; fn input_1() -> Tensor<i32> { let mut shape = ArrayTrait::<usize>::new(); shape.append(3); shape.append(3); shape.appe...
https://github.com/gizatechxyz/orion
tests/nodes/gather_elements_axis2/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(3); shape.ap...
https://github.com/gizatechxyz/orion
tests/nodes/gather_elements_default.cairo
mod input_0; mod input_1; mod output_0; use orion::utils::{assert_eq, assert_seq_eq}; use orion::operators::tensor::{FP16x16Tensor, FP16x16TensorAdd}; use orion::operators::tensor::FP16x16TensorPartialEq; use orion::operators::tensor::{I32Tensor, I32TensorAdd}; use core::array::{ArrayTrait, SpanTrait}; use orion::ope...
https://github.com/gizatechxyz/orion
tests/nodes/gather_elements_default/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(3); shape.app...
https://github.com/gizatechxyz/orion
tests/nodes/gather_elements_default/input_1.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{I32Tensor, I32TensorAdd}; use orion::numbers::NumberTrait; fn input_1() -> Tensor<i32> { let mut shape = ArrayTrait::<usize>::new(); shape.append(3); shape.append(3); shape.appe...
https://github.com/gizatechxyz/orion
tests/nodes/gather_elements_default/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(3); shape.ap...
https://github.com/gizatechxyz/orion
tests/nodes/gather_elements_negative_indices.cairo
mod input_0; mod input_1; mod output_0; use orion::utils::{assert_eq, assert_seq_eq}; use orion::operators::tensor::{FP16x16Tensor, FP16x16TensorAdd}; use orion::operators::tensor::FP16x16TensorPartialEq; use orion::operators::tensor::{I32Tensor, I32TensorAdd}; use core::array::{ArrayTrait, SpanTrait}; use orion::ope...
https://github.com/gizatechxyz/orion
tests/nodes/gather_elements_negative_indices/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(3); shape.app...
https://github.com/gizatechxyz/orion
tests/nodes/gather_elements_negative_indices/input_1.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{I32Tensor, I32TensorAdd}; use orion::numbers::NumberTrait; fn input_1() -> Tensor<i32> { let mut shape = ArrayTrait::<usize>::new(); shape.append(2); shape.append(3); let mut d...
https://github.com/gizatechxyz/orion
tests/nodes/gather_elements_negative_indices/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(2); shape.ap...
https://github.com/gizatechxyz/orion
tests/nodes/gather_fp16x16_3d_axis1.cairo
mod input_0; mod input_1; mod output_0; use orion::utils::{assert_eq, assert_seq_eq}; use orion::operators::tensor::{FP16x16Tensor, FP16x16TensorAdd}; use orion::operators::tensor::FP16x16TensorPartialEq; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::I32TensorPartialEq; use core::...
https://github.com/gizatechxyz/orion
tests/nodes/gather_fp16x16_3d_axis1/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(3); shape.app...
https://github.com/gizatechxyz/orion
tests/nodes/gather_fp16x16_3d_axis1/input_1.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{I32Tensor, I32TensorAdd}; use orion::numbers::NumberTrait; fn input_1() -> Tensor<i32> { let mut shape = ArrayTrait::<usize>::new(); shape.append(3); shape.append(2); let mut d...
https://github.com/gizatechxyz/orion
tests/nodes/gather_fp16x16_3d_axis1/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(3); shape.ap...
https://github.com/gizatechxyz/orion
tests/nodes/gather_fp16x16_3d_axis2.cairo
mod input_0; mod input_1; mod output_0; use orion::utils::{assert_eq, assert_seq_eq}; use orion::operators::tensor::{FP16x16Tensor, FP16x16TensorAdd}; use orion::operators::tensor::FP16x16TensorPartialEq; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::I32TensorPartialEq; use core::...
https://github.com/gizatechxyz/orion
tests/nodes/gather_fp16x16_3d_axis2/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(3); shape.app...
https://github.com/gizatechxyz/orion
tests/nodes/gather_fp16x16_3d_axis2/input_1.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{I32Tensor, I32TensorAdd}; use orion::numbers::NumberTrait; fn input_1() -> Tensor<i32> { let mut shape = ArrayTrait::<usize>::new(); shape.append(3); shape.append(2); let mut d...
https://github.com/gizatechxyz/orion
tests/nodes/gather_fp16x16_3d_axis2/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(3); shape.ap...
https://github.com/gizatechxyz/orion
tests/nodes/gather_fp16x16_3d_default.cairo
mod input_0; mod input_1; mod output_0; use orion::utils::{assert_eq, assert_seq_eq}; use orion::operators::tensor::{FP16x16Tensor, FP16x16TensorAdd}; use orion::operators::tensor::FP16x16TensorPartialEq; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::I32TensorPartialEq; use core::...
https://github.com/gizatechxyz/orion
tests/nodes/gather_fp16x16_3d_default/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(3); shape.app...
https://github.com/gizatechxyz/orion
tests/nodes/gather_fp16x16_3d_default/input_1.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{I32Tensor, I32TensorAdd}; use orion::numbers::NumberTrait; fn input_1() -> Tensor<i32> { let mut shape = ArrayTrait::<usize>::new(); shape.append(3); shape.append(2); let mut d...
https://github.com/gizatechxyz/orion