file_path
stringlengths
7
180
content
stringlengths
0
811k
repo
stringclasses
11 values
tests/nodes/gather_fp16x16_3d_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_nd_fp16x16_3d_batch_dims1.cairo
mod input_0; mod input_1; mod output_0; use orion::operators::tensor::{FP16x16Tensor, FP16x16TensorAdd}; use orion::operators::tensor::FP16x16TensorPartialEq; use orion::operators::tensor::{U32Tensor, U32TensorAdd}; use orion::utils::{assert_eq, assert_seq_eq}; use orion::operators::tensor::{TensorTrait, Tensor}; use...
https://github.com/gizatechxyz/orion
tests/nodes/gather_nd_fp16x16_3d_batch_dims1/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_nd_fp16x16_3d_batch_dims1/input_1.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{U32Tensor, U32TensorAdd}; use orion::numbers::NumberTrait; fn input_1() -> Tensor<u32> { let mut shape = ArrayTrait::<usize>::new(); shape.append(3); shape.append(3); shape.appe...
https://github.com/gizatechxyz/orion
tests/nodes/gather_nd_fp16x16_3d_batch_dims1/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_nd_fp16x16_3d_batch_dims2.cairo
mod input_0; mod input_1; mod output_0; use orion::operators::tensor::{FP16x16Tensor, FP16x16TensorAdd}; use orion::operators::tensor::FP16x16TensorPartialEq; use orion::operators::tensor::{U32Tensor, U32TensorAdd}; use orion::utils::{assert_eq, assert_seq_eq}; use orion::operators::tensor::{TensorTrait, Tensor}; use...
https://github.com/gizatechxyz/orion
tests/nodes/gather_nd_fp16x16_3d_batch_dims2/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_nd_fp16x16_3d_batch_dims2/input_1.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{U32Tensor, U32TensorAdd}; use orion::numbers::NumberTrait; fn input_1() -> Tensor<u32> { let mut shape = ArrayTrait::<usize>::new(); shape.append(3); shape.append(3); shape.appe...
https://github.com/gizatechxyz/orion
tests/nodes/gather_nd_fp16x16_3d_batch_dims2/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_nd_fp16x16_3d_default.cairo
mod input_0; mod input_1; mod output_0; use orion::operators::tensor::{FP16x16Tensor, FP16x16TensorAdd}; use orion::operators::tensor::FP16x16TensorPartialEq; use orion::operators::tensor::{U32Tensor, U32TensorAdd}; use orion::utils::{assert_eq, assert_seq_eq}; use orion::operators::tensor::{TensorTrait, Tensor}; use...
https://github.com/gizatechxyz/orion
tests/nodes/gather_nd_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_nd_fp16x16_3d_default/input_1.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{U32Tensor, U32TensorAdd}; use orion::numbers::NumberTrait; fn input_1() -> Tensor<u32> { let mut shape = ArrayTrait::<usize>::new(); shape.append(3); shape.append(3); shape.appe...
https://github.com/gizatechxyz/orion
tests/nodes/gather_nd_fp16x16_3d_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_nd_fp8x23_3d_batch_dims1.cairo
mod input_0; mod input_1; mod output_0; use orion::operators::tensor::FP8x23TensorPartialEq; use orion::operators::tensor::{U32Tensor, U32TensorAdd}; use orion::utils::{assert_eq, assert_seq_eq}; use orion::operators::tensor::{FP8x23Tensor, FP8x23TensorAdd}; use orion::operators::tensor::{TensorTrait, Tensor}; use co...
https://github.com/gizatechxyz/orion
tests/nodes/gather_nd_fp8x23_3d_batch_dims1/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(3); shape.append(...
https://github.com/gizatechxyz/orion
tests/nodes/gather_nd_fp8x23_3d_batch_dims1/input_1.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{U32Tensor, U32TensorAdd}; use orion::numbers::NumberTrait; fn input_1() -> Tensor<u32> { let mut shape = ArrayTrait::<usize>::new(); shape.append(3); shape.append(3); shape.appe...
https://github.com/gizatechxyz/orion
tests/nodes/gather_nd_fp8x23_3d_batch_dims1/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(3); shape.append...
https://github.com/gizatechxyz/orion
tests/nodes/gather_nd_fp8x23_3d_batch_dims2.cairo
mod input_0; mod input_1; mod output_0; use orion::operators::tensor::FP8x23TensorPartialEq; use orion::operators::tensor::{U32Tensor, U32TensorAdd}; use orion::utils::{assert_eq, assert_seq_eq}; use orion::operators::tensor::{FP8x23Tensor, FP8x23TensorAdd}; use orion::operators::tensor::{TensorTrait, Tensor}; use co...
https://github.com/gizatechxyz/orion
tests/nodes/gather_nd_fp8x23_3d_batch_dims2/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(3); shape.append(...
https://github.com/gizatechxyz/orion
tests/nodes/gather_nd_fp8x23_3d_batch_dims2/input_1.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{U32Tensor, U32TensorAdd}; use orion::numbers::NumberTrait; fn input_1() -> Tensor<u32> { let mut shape = ArrayTrait::<usize>::new(); shape.append(3); shape.append(3); shape.appe...
https://github.com/gizatechxyz/orion
tests/nodes/gather_nd_fp8x23_3d_batch_dims2/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(3); shape.append...
https://github.com/gizatechxyz/orion
tests/nodes/gather_nd_fp8x23_3d_default.cairo
mod input_0; mod input_1; mod output_0; use orion::operators::tensor::FP8x23TensorPartialEq; use orion::operators::tensor::{U32Tensor, U32TensorAdd}; use orion::utils::{assert_eq, assert_seq_eq}; use orion::operators::tensor::{FP8x23Tensor, FP8x23TensorAdd}; use orion::operators::tensor::{TensorTrait, Tensor}; use co...
https://github.com/gizatechxyz/orion
tests/nodes/gather_nd_fp8x23_3d_default/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(3); shape.append(...
https://github.com/gizatechxyz/orion
tests/nodes/gather_nd_fp8x23_3d_default/input_1.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{U32Tensor, U32TensorAdd}; use orion::numbers::NumberTrait; fn input_1() -> Tensor<u32> { let mut shape = ArrayTrait::<usize>::new(); shape.append(3); shape.append(3); shape.appe...
https://github.com/gizatechxyz/orion
tests/nodes/gather_nd_fp8x23_3d_default/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(3); shape.append...
https://github.com/gizatechxyz/orion
tests/nodes/gather_nd_i32_3d_batch_dims1.cairo
mod input_0; mod input_1; mod output_0; use orion::operators::tensor::I32TensorPartialEq; use orion::operators::tensor::{U32Tensor, U32TensorAdd}; use orion::utils::{assert_eq, assert_seq_eq}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{I32Tensor, I32TensorAdd}; use core::array...
https://github.com/gizatechxyz/orion
tests/nodes/gather_nd_i32_3d_batch_dims1/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(4); shape.append(3); shape.appe...
https://github.com/gizatechxyz/orion
tests/nodes/gather_nd_i32_3d_batch_dims1/input_1.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{U32Tensor, U32TensorAdd}; use orion::numbers::NumberTrait; fn input_1() -> Tensor<u32> { let mut shape = ArrayTrait::<usize>::new(); shape.append(4); shape.append(2); shape.appe...
https://github.com/gizatechxyz/orion
tests/nodes/gather_nd_i32_3d_batch_dims1/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(4); shape.append(2); let mut ...
https://github.com/gizatechxyz/orion
tests/nodes/gather_nd_i32_3d_batch_dims2.cairo
mod input_0; mod input_1; mod output_0; use orion::operators::tensor::I32TensorPartialEq; use orion::operators::tensor::{U32Tensor, U32TensorAdd}; use orion::utils::{assert_eq, assert_seq_eq}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{I32Tensor, I32TensorAdd}; use core::array...
https://github.com/gizatechxyz/orion
tests/nodes/gather_nd_i32_3d_batch_dims2/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(3); shape.append(3); shape.appe...
https://github.com/gizatechxyz/orion
tests/nodes/gather_nd_i32_3d_batch_dims2/input_1.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{U32Tensor, U32TensorAdd}; use orion::numbers::NumberTrait; fn input_1() -> Tensor<u32> { let mut shape = ArrayTrait::<usize>::new(); shape.append(3); shape.append(3); shape.appe...
https://github.com/gizatechxyz/orion
tests/nodes/gather_nd_i32_3d_batch_dims2/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(3); shape.append(3); let mut ...
https://github.com/gizatechxyz/orion
tests/nodes/gather_nd_i32_3d_default.cairo
mod input_0; mod input_1; mod output_0; use orion::operators::tensor::I32TensorPartialEq; use orion::operators::tensor::{U32Tensor, U32TensorAdd}; use orion::utils::{assert_eq, assert_seq_eq}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{I32Tensor, I32TensorAdd}; use core::array...
https://github.com/gizatechxyz/orion
tests/nodes/gather_nd_i32_3d_default/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(4); shape.append(2); shape.appe...
https://github.com/gizatechxyz/orion
tests/nodes/gather_nd_i32_3d_default/input_1.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{U32Tensor, U32TensorAdd}; use orion::numbers::NumberTrait; fn input_1() -> Tensor<u32> { let mut shape = ArrayTrait::<usize>::new(); shape.append(3); shape.append(2); let mut d...
https://github.com/gizatechxyz/orion
tests/nodes/gather_nd_i32_3d_default/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(3); shape.append(3); let mut ...
https://github.com/gizatechxyz/orion
tests/nodes/gather_nd_i8_3d_batch_dims1.cairo
mod input_0; mod input_1; mod output_0; use orion::operators::tensor::I8TensorPartialEq; use orion::operators::tensor::{U32Tensor, U32TensorAdd}; use orion::utils::{assert_eq, assert_seq_eq}; use orion::operators::tensor::{I8Tensor, I8TensorAdd}; use orion::operators::tensor::{TensorTrait, Tensor}; use core::array::{...
https://github.com/gizatechxyz/orion
tests/nodes/gather_nd_i8_3d_batch_dims1/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(3); shape.append(3); let mut data...
https://github.com/gizatechxyz/orion
tests/nodes/gather_nd_i8_3d_batch_dims1/input_1.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{U32Tensor, U32TensorAdd}; use orion::numbers::NumberTrait; fn input_1() -> Tensor<u32> { let mut shape = ArrayTrait::<usize>::new(); shape.append(3); shape.append(1); let mut d...
https://github.com/gizatechxyz/orion
tests/nodes/gather_nd_i8_3d_batch_dims1/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(3); let mut data = ArrayTrait::new()...
https://github.com/gizatechxyz/orion
tests/nodes/gather_nd_i8_3d_default.cairo
mod input_0; mod input_1; mod output_0; use orion::operators::tensor::I8TensorPartialEq; use orion::operators::tensor::{U32Tensor, U32TensorAdd}; use orion::utils::{assert_eq, assert_seq_eq}; use orion::operators::tensor::{I8Tensor, I8TensorAdd}; use orion::operators::tensor::{TensorTrait, Tensor}; use core::array::{...
https://github.com/gizatechxyz/orion
tests/nodes/gather_nd_i8_3d_default/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(3); shape.append(3); let mut data...
https://github.com/gizatechxyz/orion
tests/nodes/gather_nd_i8_3d_default/input_1.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{U32Tensor, U32TensorAdd}; use orion::numbers::NumberTrait; fn input_1() -> Tensor<u32> { let mut shape = ArrayTrait::<usize>::new(); shape.append(3); shape.append(2); let mut d...
https://github.com/gizatechxyz/orion
tests/nodes/gather_nd_i8_3d_default/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(3); let mut data = ArrayTrait::new()...
https://github.com/gizatechxyz/orion
tests/nodes/gather_nd_u32_batch_dims1.cairo
mod input_0; mod input_1; mod output_0; use orion::operators::tensor::{U32Tensor, U32TensorAdd}; use orion::utils::{assert_eq, assert_seq_eq}; use orion::operators::tensor::{TensorTrait, Tensor}; use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::U32TensorPartialEq; #[test] #[available_gas(20000...
https://github.com/gizatechxyz/orion
tests/nodes/gather_nd_u32_batch_dims1/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(3); shape.append(3); shape.appe...
https://github.com/gizatechxyz/orion
tests/nodes/gather_nd_u32_batch_dims1/input_1.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{U32Tensor, U32TensorAdd}; use orion::numbers::NumberTrait; fn input_1() -> Tensor<u32> { let mut shape = ArrayTrait::<usize>::new(); shape.append(3); shape.append(3); shape.appe...
https://github.com/gizatechxyz/orion
tests/nodes/gather_nd_u32_batch_dims1/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(3); shape.append(3); shape.app...
https://github.com/gizatechxyz/orion
tests/nodes/gather_nd_u32_batch_dims2.cairo
mod input_0; mod input_1; mod output_0; use orion::operators::tensor::{U32Tensor, U32TensorAdd}; use orion::utils::{assert_eq, assert_seq_eq}; use orion::operators::tensor::{TensorTrait, Tensor}; use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::U32TensorPartialEq; #[test] #[available_gas(20000...
https://github.com/gizatechxyz/orion
tests/nodes/gather_nd_u32_batch_dims2/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(3); shape.append(3); shape.appe...
https://github.com/gizatechxyz/orion
tests/nodes/gather_nd_u32_batch_dims2/input_1.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{U32Tensor, U32TensorAdd}; use orion::numbers::NumberTrait; fn input_1() -> Tensor<u32> { let mut shape = ArrayTrait::<usize>::new(); shape.append(3); shape.append(3); shape.appe...
https://github.com/gizatechxyz/orion
tests/nodes/gather_nd_u32_batch_dims2/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(3); shape.append(3); let mut ...
https://github.com/gizatechxyz/orion
tests/nodes/gather_nd_u32_default.cairo
mod input_0; mod input_1; mod output_0; use orion::operators::tensor::{U32Tensor, U32TensorAdd}; use orion::utils::{assert_eq, assert_seq_eq}; use orion::operators::tensor::{TensorTrait, Tensor}; use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::U32TensorPartialEq; #[test] #[available_gas(20000...
https://github.com/gizatechxyz/orion
tests/nodes/gather_nd_u32_default/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(3); shape.append(3); shape.appe...
https://github.com/gizatechxyz/orion
tests/nodes/gather_nd_u32_default/input_1.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::U32Tensor; fn input_1() -> Tensor<u32> { let mut shape = ArrayTrait::<usize>::new(); shape.append(3); shape.append(3); shape.append(2); let mut data = ArrayTrait::new(); ...
https://github.com/gizatechxyz/orion
tests/nodes/gather_nd_u32_default/input_2.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::U32Tensor; fn input_2() -> Tensor<u32> { let mut shape = ArrayTrait::<usize>::new(); shape.append(2); shape.append(1); let mut data = ArrayTrait::new(); data.append(1); ...
https://github.com/gizatechxyz/orion
tests/nodes/gather_nd_u32_default/output_0.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::U32Tensor; fn output_0() -> Tensor<u32> { let mut shape = ArrayTrait::<usize>::new(); shape.append(3); shape.append(3); shape.append(4); shape.append(3); let mut data = ...
https://github.com/gizatechxyz/orion
tests/nodes/gather_negative_axis.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_negative_axis/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_negative_axis/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_negative_axis/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_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::{TensorTrait, Tensor}; use orion::operators::tensor::I32TensorPartialEq; use core::...
https://github.com/gizatechxyz/orion
tests/nodes/gather_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(10); let mut...
https://github.com/gizatechxyz/orion
tests/nodes/gather_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(3); let mut data = ArrayTrait::new...
https://github.com/gizatechxyz/orion
tests/nodes/gather_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(3); let mut...
https://github.com/gizatechxyz/orion
tests/nodes/gemm_all_attributes.cairo
mod input_0; mod input_1; mod input_2; mod output_0; use orion::operators::nn::NNTrait; use orion::numbers::FixedTrait; use orion::utils::{assert_eq, assert_seq_eq}; use orion::operators::nn::FP16x16NN; use orion::operators::tensor::FP16x16TensorPartialEq; #[test] #[available_gas(2000000000)] fn test_gemm_all_attrib...
https://github.com/gizatechxyz/orion
tests/nodes/gemm_all_attributes/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(4); shape.app...
https://github.com/gizatechxyz/orion
tests/nodes/gemm_all_attributes/input_1.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_1() -> Tensor<FP16x16> { let mut shape = ArrayTrait::<usize>::new(); shape.append(5); shape.app...
https://github.com/gizatechxyz/orion
tests/nodes/gemm_all_attributes/input_2.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_2() -> Tensor<FP16x16> { let mut shape = ArrayTrait::<usize>::new(); shape.append(1); shape.app...
https://github.com/gizatechxyz/orion
tests/nodes/gemm_all_attributes/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(3); shape.ap...
https://github.com/gizatechxyz/orion
tests/nodes/gemm_alpha.cairo
mod input_0; mod input_1; mod output_0; use orion::operators::nn::NNTrait; use orion::numbers::FixedTrait; use orion::utils::{assert_eq, assert_seq_eq}; use orion::operators::nn::FP16x16NN; use orion::operators::tensor::FP16x16TensorPartialEq; #[test] #[available_gas(2000000000)] fn test_gemm_alpha() { let input...
https://github.com/gizatechxyz/orion
tests/nodes/gemm_alpha/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(3); shape.app...
https://github.com/gizatechxyz/orion
tests/nodes/gemm_alpha/input_1.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_1() -> Tensor<FP16x16> { let mut shape = ArrayTrait::<usize>::new(); shape.append(5); shape.app...
https://github.com/gizatechxyz/orion
tests/nodes/gemm_alpha/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(3); shape.ap...
https://github.com/gizatechxyz/orion
tests/nodes/gemm_beta.cairo
mod input_0; mod input_1; mod input_2; mod output_0; use orion::operators::nn::NNTrait; use orion::numbers::FixedTrait; use orion::utils::{assert_eq, assert_seq_eq}; use orion::operators::nn::FP16x16NN; use orion::operators::tensor::FP16x16TensorPartialEq; #[test] #[available_gas(2000000000)] fn test_gemm_beta() { ...
https://github.com/gizatechxyz/orion
tests/nodes/gemm_beta/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/gemm_beta/input_1.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_1() -> Tensor<FP16x16> { let mut shape = ArrayTrait::<usize>::new(); shape.append(7); shape.app...
https://github.com/gizatechxyz/orion
tests/nodes/gemm_beta/input_2.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_2() -> Tensor<FP16x16> { let mut shape = ArrayTrait::<usize>::new(); shape.append(1); shape.app...
https://github.com/gizatechxyz/orion
tests/nodes/gemm_beta/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/gemm_default_matrix_bias.cairo
mod input_0; mod input_1; mod input_2; mod output_0; use orion::operators::nn::NNTrait; use orion::numbers::FixedTrait; use orion::utils::{assert_eq, assert_seq_eq}; use orion::operators::nn::FP16x16NN; use orion::operators::tensor::FP16x16TensorPartialEq; #[test] #[available_gas(2000000000)] fn test_gemm_default_ma...
https://github.com/gizatechxyz/orion
tests/nodes/gemm_default_matrix_bias/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(3); shape.app...
https://github.com/gizatechxyz/orion
tests/nodes/gemm_default_matrix_bias/input_1.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_1() -> Tensor<FP16x16> { let mut shape = ArrayTrait::<usize>::new(); shape.append(6); shape.app...
https://github.com/gizatechxyz/orion
tests/nodes/gemm_default_matrix_bias/input_2.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_2() -> Tensor<FP16x16> { let mut shape = ArrayTrait::<usize>::new(); shape.append(3); shape.app...
https://github.com/gizatechxyz/orion
tests/nodes/gemm_default_matrix_bias/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(3); shape.ap...
https://github.com/gizatechxyz/orion
tests/nodes/gemm_default_no_bias.cairo
mod input_0; mod input_1; mod output_0; use orion::operators::nn::NNTrait; use orion::numbers::FixedTrait; use orion::utils::{assert_eq, assert_seq_eq}; use orion::operators::nn::FP16x16NN; use orion::operators::tensor::FP16x16TensorPartialEq; #[test] #[available_gas(2000000000)] fn test_gemm_default_no_bias() { ...
https://github.com/gizatechxyz/orion
tests/nodes/gemm_default_no_bias/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(3); shape.app...
https://github.com/gizatechxyz/orion
tests/nodes/gemm_default_no_bias/input_1.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_1() -> Tensor<FP16x16> { let mut shape = ArrayTrait::<usize>::new(); shape.append(5); shape.app...
https://github.com/gizatechxyz/orion
tests/nodes/gemm_default_no_bias/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(3); shape.ap...
https://github.com/gizatechxyz/orion
tests/nodes/gemm_default_vector_bias.cairo
mod input_0; mod input_1; mod input_2; mod output_0; use orion::operators::nn::NNTrait; use orion::numbers::FixedTrait; use orion::utils::{assert_eq, assert_seq_eq}; use orion::operators::nn::FP16x16NN; use orion::operators::tensor::FP16x16TensorPartialEq; #[test] #[available_gas(2000000000)] fn test_gemm_default_vec...
https://github.com/gizatechxyz/orion
tests/nodes/gemm_default_vector_bias/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/gemm_default_vector_bias/input_1.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_1() -> Tensor<FP16x16> { let mut shape = ArrayTrait::<usize>::new(); shape.append(7); shape.app...
https://github.com/gizatechxyz/orion
tests/nodes/gemm_default_vector_bias/input_2.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_2() -> Tensor<FP16x16> { let mut shape = ArrayTrait::<usize>::new(); shape.append(4); let mut ...
https://github.com/gizatechxyz/orion
tests/nodes/gemm_default_vector_bias/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/gemm_transposeA.cairo
mod input_0; mod input_1; mod output_0; use orion::operators::nn::NNTrait; use orion::numbers::FixedTrait; use orion::utils::{assert_eq, assert_seq_eq}; use orion::operators::nn::FP16x16NN; use orion::operators::tensor::FP16x16TensorPartialEq; #[test] #[available_gas(2000000000)] fn test_gemm_transposeA() { let ...
https://github.com/gizatechxyz/orion
tests/nodes/gemm_transposeA/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(6); shape.app...
https://github.com/gizatechxyz/orion
tests/nodes/gemm_transposeA/input_1.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_1() -> Tensor<FP16x16> { let mut shape = ArrayTrait::<usize>::new(); shape.append(6); shape.app...
https://github.com/gizatechxyz/orion
tests/nodes/gemm_transposeA/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(3); shape.ap...
https://github.com/gizatechxyz/orion
tests/nodes/gemm_transposeB.cairo
mod input_0; mod input_1; mod output_0; use orion::operators::nn::NNTrait; use orion::numbers::FixedTrait; use orion::utils::{assert_eq, assert_seq_eq}; use orion::operators::nn::FP16x16NN; use orion::operators::tensor::FP16x16TensorPartialEq; #[test] #[available_gas(2000000000)] fn test_gemm_transposeB() { let ...
https://github.com/gizatechxyz/orion
tests/nodes/gemm_transposeB/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(3); shape.app...
https://github.com/gizatechxyz/orion