file_path
stringlengths
7
180
content
stringlengths
0
811k
repo
stringclasses
11 values
tests/nodes/grid_sample_nearest_aligncorner/input_1.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_1() -> Tensor<FP16x16> { let mut shape = ArrayTrait::<usize>::new(); shape.append(1); shape.app...
https://github.com/gizatechxyz/orion
tests/nodes/grid_sample_nearest_aligncorner/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/grid_sample_padding_border.cairo
mod input_0; mod input_1; mod output_0; use orion::operators::nn::FP16x16NN; use orion::numbers::FixedTrait; use orion::operators::tensor::FP16x16TensorPartialEq; use orion::utils::{assert_eq, assert_seq_eq}; use orion::operators::nn::NNTrait; use orion::operators::nn::functional::grid_sample::PADDING_MODE; #[test] ...
https://github.com/gizatechxyz/orion
tests/nodes/grid_sample_padding_border/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/grid_sample_padding_border/input_1.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_1() -> Tensor<FP16x16> { let mut shape = ArrayTrait::<usize>::new(); shape.append(1); shape.app...
https://github.com/gizatechxyz/orion
tests/nodes/grid_sample_padding_border/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/grid_sample_padding_reflection.cairo
mod input_0; mod input_1; mod output_0; use orion::operators::nn::FP16x16NN; use orion::numbers::FixedTrait; use orion::operators::tensor::FP16x16TensorPartialEq; use orion::utils::{assert_eq, assert_seq_eq}; use orion::operators::nn::NNTrait; use orion::operators::nn::functional::grid_sample::PADDING_MODE; #[test] ...
https://github.com/gizatechxyz/orion
tests/nodes/grid_sample_padding_reflection/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/grid_sample_padding_reflection/input_1.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_1() -> Tensor<FP16x16> { let mut shape = ArrayTrait::<usize>::new(); shape.append(1); shape.app...
https://github.com/gizatechxyz/orion
tests/nodes/grid_sample_padding_reflection/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/grid_sample_padding_zeros.cairo
mod input_0; mod input_1; mod output_0; use orion::operators::nn::FP16x16NN; use orion::numbers::FixedTrait; use orion::operators::tensor::FP16x16TensorPartialEq; use orion::utils::{assert_eq, assert_seq_eq}; use orion::operators::nn::NNTrait; use orion::operators::nn::functional::grid_sample::PADDING_MODE; #[test] ...
https://github.com/gizatechxyz/orion
tests/nodes/grid_sample_padding_zeros/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/grid_sample_padding_zeros/input_1.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_1() -> Tensor<FP16x16> { let mut shape = ArrayTrait::<usize>::new(); shape.append(1); shape.app...
https://github.com/gizatechxyz/orion
tests/nodes/grid_sample_padding_zeros/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/hamming_window_fp16x16.cairo
mod output_0; use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{FP16x16Tensor, FP16x16TensorAdd}; use orion::utils::{assert_eq, assert_seq_eq}; use orion::operators::tensor::FP16x16TensorPartialEq; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::numbers::{FixedTrait, FP16x16}; ...
https://github.com/gizatechxyz/orion
tests/nodes/hamming_window_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(10); let mu...
https://github.com/gizatechxyz/orion
tests/nodes/hamming_window_fp8x23.cairo
mod output_0; use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{FP8x23Tensor, FP8x23TensorAdd}; use orion::utils::{assert_eq, assert_seq_eq}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::FP8x23TensorPartialEq; use orion::numbers::{FixedTrait, FP8x23}; #[te...
https://github.com/gizatechxyz/orion
tests/nodes/hamming_window_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(4); let mut dat...
https://github.com/gizatechxyz/orion
tests/nodes/hann_window_fp16x16.cairo
mod output_0; use orion::utils::{assert_eq, assert_seq_eq}; use orion::operators::tensor::{FP16x16Tensor, FP16x16TensorAdd}; use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::FP16x16TensorPartialEq; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::numbers::{FixedTrait, FP16x16}; ...
https://github.com/gizatechxyz/orion
tests/nodes/hann_window_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(10); let mu...
https://github.com/gizatechxyz/orion
tests/nodes/hann_window_fp8x23.cairo
mod output_0; use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::FP8x23TensorPartialEq; use orion::operators::tensor::{FP8x23Tensor, FP8x23TensorAdd}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::utils::{assert_eq, assert_seq_eq}; use orion::numbers::{FixedTrait, FP8x23}; #[te...
https://github.com/gizatechxyz/orion
tests/nodes/hann_window_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(4); let mut dat...
https://github.com/gizatechxyz/orion
tests/nodes/hard_sigmoid_fp16x16.cairo
mod input_0; mod output_0; use orion::utils::{assert_eq, assert_seq_eq}; use orion::operators::nn::NNTrait; use orion::numbers::FixedTrait; use orion::operators::tensor::FP16x16TensorPartialEq; use orion::operators::nn::FP16x16NN; #[test] #[available_gas(2000000000)] fn test_hard_sigmoid_fp16x16() { let input_0 ...
https://github.com/gizatechxyz/orion
tests/nodes/hard_sigmoid_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/hard_sigmoid_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/hard_sigmoid_fp8x23.cairo
mod input_0; mod output_0; use orion::utils::{assert_eq, assert_seq_eq}; use orion::operators::tensor::FP8x23TensorPartialEq; use orion::operators::nn::FP8x23NN; use orion::operators::nn::NNTrait; use orion::numbers::FixedTrait; #[test] #[available_gas(2000000000)] fn test_hard_sigmoid_fp8x23() { let input_0 = i...
https://github.com/gizatechxyz/orion
tests/nodes/hard_sigmoid_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/hard_sigmoid_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/identity_fP16x16.cairo
mod input_0; mod output_0; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::utils::{assert_eq, assert_seq_eq}; use orion::operators::tensor::{FP16x16Tensor, FP16x16TensorSub}; use orion::operators::tensor::FP16x16TensorPartialEq; use core::array::{ArrayTrait, SpanTrait}; #[test] #[available_gas(200000...
https://github.com/gizatechxyz/orion
tests/nodes/identity_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/identity_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/identity_fP8x23.cairo
mod input_0; mod output_0; use orion::operators::tensor::{FP8x23Tensor, FP8x23TensorSub}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::utils::{assert_eq, assert_seq_eq}; use orion::operators::tensor::FP8x23TensorPartialEq; use core::array::{ArrayTrait, SpanTrait}; #[test] #[available_gas(200000000...
https://github.com/gizatechxyz/orion
tests/nodes/identity_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/identity_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/identity_i32.cairo
mod input_0; mod output_0; use orion::operators::tensor::I32TensorPartialEq; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::utils::{assert_eq, assert_seq_eq}; use orion::operators::tensor::{I32Tensor, I32TensorSub}; use core::array::{ArrayTrait, SpanTrait}; #[test] #[available_gas(2000000000)] fn te...
https://github.com/gizatechxyz/orion
tests/nodes/identity_i32/input_0.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{I32Tensor, I32TensorSub}; 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/identity_i32/output_0.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{I32Tensor, I32TensorSub}; fn output_0() -> Tensor<i32> { 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/identity_i8.cairo
mod input_0; mod output_0; use orion::operators::tensor::{I8Tensor, I8TensorSub}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::I8TensorPartialEq; use orion::utils::{assert_eq, assert_seq_eq}; use core::array::{ArrayTrait, SpanTrait}; #[test] #[available_gas(2000000000)] fn test_...
https://github.com/gizatechxyz/orion
tests/nodes/identity_i8/input_0.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{I8Tensor, I8TensorSub}; 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/identity_i8/output_0.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{I8Tensor, I8TensorSub}; fn output_0() -> Tensor<i8> { let mut shape = ArrayTrait::<usize>::new(); shape.append(2); shape.append(2); let mut data = ArrayTrait::new(); data.a...
https://github.com/gizatechxyz/orion
tests/nodes/identity_u32.cairo
mod input_0; mod output_0; use orion::operators::tensor::U32TensorPartialEq; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::utils::{assert_eq, assert_seq_eq}; use orion::operators::tensor::{U32Tensor, U32TensorSub}; use core::array::{ArrayTrait, SpanTrait}; #[test] #[available_gas(2000000000)] fn te...
https://github.com/gizatechxyz/orion
tests/nodes/identity_u32/input_0.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{U32Tensor, U32TensorSub}; 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/identity_u32/output_0.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::{U32Tensor, U32TensorSub}; 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/is_inf_fp16x16.cairo
mod input_0; mod output_0; use orion::utils::{assert_eq, assert_seq_eq}; use orion::operators::tensor::BoolTensorPartialEq; use orion::operators::tensor::FP16x16TensorPartialEq; use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::BoolTensor; use orion::operators::tensor::{TensorTrait, Tensor}; use...
https://github.com/gizatechxyz/orion
tests/nodes/is_inf_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(6); let mut ...
https://github.com/gizatechxyz/orion
tests/nodes/is_inf_fp16x16/output_0.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::BoolTensor; fn output_0() -> Tensor<bool> { let mut shape = ArrayTrait::<usize>::new(); shape.append(6); let mut data = ArrayTrait::new(); data.append(false); data.append(fa...
https://github.com/gizatechxyz/orion
tests/nodes/is_inf_fp8x23.cairo
mod input_0; mod output_0; use orion::utils::{assert_eq, assert_seq_eq}; use orion::operators::tensor::BoolTensorPartialEq; use orion::operators::tensor::{FP8x23Tensor, FP8x23TensorAdd}; use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::BoolTensor; use orion::operators::tensor::FP8x23TensorParti...
https://github.com/gizatechxyz/orion
tests/nodes/is_inf_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(6); let mut data...
https://github.com/gizatechxyz/orion
tests/nodes/is_inf_fp8x23/output_0.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::BoolTensor; fn output_0() -> Tensor<bool> { let mut shape = ArrayTrait::<usize>::new(); shape.append(6); let mut data = ArrayTrait::new(); data.append(false); data.append(fa...
https://github.com/gizatechxyz/orion
tests/nodes/is_inf_i32.cairo
mod input_0; mod output_0; use orion::utils::{assert_eq, assert_seq_eq}; use orion::operators::tensor::{I32Tensor, I32TensorAdd}; use orion::operators::tensor::BoolTensorPartialEq; use orion::operators::tensor::I32TensorPartialEq; use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::BoolTensor; use...
https://github.com/gizatechxyz/orion
tests/nodes/is_inf_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(6); let mut data = ArrayTrait::n...
https://github.com/gizatechxyz/orion
tests/nodes/is_inf_i32/output_0.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::BoolTensor; fn output_0() -> Tensor<bool> { let mut shape = ArrayTrait::<usize>::new(); shape.append(6); let mut data = ArrayTrait::new(); data.append(false); data.append(fa...
https://github.com/gizatechxyz/orion
tests/nodes/is_inf_i8.cairo
mod input_0; mod output_0; use orion::utils::{assert_eq, assert_seq_eq}; use orion::operators::tensor::BoolTensorPartialEq; use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{I8Tensor, I8TensorAdd}; use orion::operators::tensor::BoolTensor; use orion::operators::tensor::{TensorTrait, Tensor}; us...
https://github.com/gizatechxyz/orion
tests/nodes/is_inf_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(6); let mut data = ArrayTrait::new(...
https://github.com/gizatechxyz/orion
tests/nodes/is_inf_i8/output_0.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::BoolTensor; fn output_0() -> Tensor<bool> { let mut shape = ArrayTrait::<usize>::new(); shape.append(6); let mut data = ArrayTrait::new(); data.append(false); data.append(fa...
https://github.com/gizatechxyz/orion
tests/nodes/is_inf_u32.cairo
mod input_0; mod output_0; use orion::utils::{assert_eq, assert_seq_eq}; use orion::operators::tensor::BoolTensorPartialEq; use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::U32TensorPartialEq; use orion::operators::tensor::BoolTensor; use orion::operators::tensor::{U32Tensor, U32TensorAdd}; use...
https://github.com/gizatechxyz/orion
tests/nodes/is_inf_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(6); let mut data = ArrayTrait::new...
https://github.com/gizatechxyz/orion
tests/nodes/is_inf_u32/output_0.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::BoolTensor; fn output_0() -> Tensor<bool> { let mut shape = ArrayTrait::<usize>::new(); shape.append(6); let mut data = ArrayTrait::new(); data.append(false); data.append(fa...
https://github.com/gizatechxyz/orion
tests/nodes/is_nan_fp16x16.cairo
mod input_0; mod output_0; use orion::operators::tensor::BoolTensorPartialEq; use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{FP16x16Tensor, FP16x16TensorSub}; use orion::operators::tensor::BoolTensor; use orion::utils::{assert_eq, assert_seq_eq}; use orion::operators::tensor::{TensorTrait, T...
https://github.com/gizatechxyz/orion
tests/nodes/is_nan_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(6); let mut ...
https://github.com/gizatechxyz/orion
tests/nodes/is_nan_fp16x16/output_0.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::BoolTensor; fn output_0() -> Tensor<bool> { let mut shape = ArrayTrait::<usize>::new(); shape.append(6); let mut data = ArrayTrait::new(); data.append(false); data.append(fa...
https://github.com/gizatechxyz/orion
tests/nodes/is_nan_fp8x23.cairo
mod input_0; mod output_0; use orion::operators::tensor::BoolTensorPartialEq; use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::FP8x23TensorPartialEq; use orion::operators::tensor::BoolTensor; use orion::operators::tensor::{FP8x23Tensor, FP8x23TensorSub}; use orion::utils::{assert_eq, assert_seq...
https://github.com/gizatechxyz/orion
tests/nodes/is_nan_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(6); let mut data...
https://github.com/gizatechxyz/orion
tests/nodes/is_nan_fp8x23/output_0.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::BoolTensor; fn output_0() -> Tensor<bool> { let mut shape = ArrayTrait::<usize>::new(); shape.append(6); let mut data = ArrayTrait::new(); data.append(false); data.append(fa...
https://github.com/gizatechxyz/orion
tests/nodes/is_neg_inf_fp16x16.cairo
mod input_0; mod output_0; use orion::utils::{assert_eq, assert_seq_eq}; use orion::operators::tensor::BoolTensorPartialEq; use orion::operators::tensor::FP16x16TensorPartialEq; use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::BoolTensor; use orion::operators::tensor::{TensorTrait, Tensor}; use...
https://github.com/gizatechxyz/orion
tests/nodes/is_neg_inf_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(6); let mut ...
https://github.com/gizatechxyz/orion
tests/nodes/is_neg_inf_fp16x16/output_0.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::BoolTensor; fn output_0() -> Tensor<bool> { let mut shape = ArrayTrait::<usize>::new(); shape.append(6); let mut data = ArrayTrait::new(); data.append(false); data.append(fa...
https://github.com/gizatechxyz/orion
tests/nodes/is_neg_inf_fp8x23.cairo
mod input_0; mod output_0; use orion::utils::{assert_eq, assert_seq_eq}; use orion::operators::tensor::BoolTensorPartialEq; use orion::operators::tensor::{FP8x23Tensor, FP8x23TensorAdd}; use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::BoolTensor; use orion::operators::tensor::FP8x23TensorParti...
https://github.com/gizatechxyz/orion
tests/nodes/is_neg_inf_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(6); let mut data...
https://github.com/gizatechxyz/orion
tests/nodes/is_neg_inf_fp8x23/output_0.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::BoolTensor; fn output_0() -> Tensor<bool> { let mut shape = ArrayTrait::<usize>::new(); shape.append(6); let mut data = ArrayTrait::new(); data.append(false); data.append(fa...
https://github.com/gizatechxyz/orion
tests/nodes/is_neg_inf_i32.cairo
mod input_0; mod output_0; use orion::utils::{assert_eq, assert_seq_eq}; use orion::operators::tensor::{I32Tensor, I32TensorAdd}; use orion::operators::tensor::BoolTensorPartialEq; use orion::operators::tensor::I32TensorPartialEq; use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::BoolTensor; use...
https://github.com/gizatechxyz/orion
tests/nodes/is_neg_inf_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(6); let mut data = ArrayTrait::n...
https://github.com/gizatechxyz/orion
tests/nodes/is_neg_inf_i32/output_0.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::BoolTensor; fn output_0() -> Tensor<bool> { let mut shape = ArrayTrait::<usize>::new(); shape.append(6); let mut data = ArrayTrait::new(); data.append(false); data.append(fa...
https://github.com/gizatechxyz/orion
tests/nodes/is_neg_inf_i8.cairo
mod input_0; mod output_0; use orion::utils::{assert_eq, assert_seq_eq}; use orion::operators::tensor::BoolTensorPartialEq; use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{I8Tensor, I8TensorAdd}; use orion::operators::tensor::BoolTensor; use orion::operators::tensor::{TensorTrait, Tensor}; us...
https://github.com/gizatechxyz/orion
tests/nodes/is_neg_inf_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(6); let mut data = ArrayTrait::new(...
https://github.com/gizatechxyz/orion
tests/nodes/is_neg_inf_i8/output_0.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::BoolTensor; fn output_0() -> Tensor<bool> { let mut shape = ArrayTrait::<usize>::new(); shape.append(6); let mut data = ArrayTrait::new(); data.append(false); data.append(fa...
https://github.com/gizatechxyz/orion
tests/nodes/is_pos_inf_fp16x16.cairo
mod input_0; mod output_0; use orion::utils::{assert_eq, assert_seq_eq}; use orion::operators::tensor::BoolTensorPartialEq; use orion::operators::tensor::FP16x16TensorPartialEq; use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::BoolTensor; use orion::operators::tensor::{TensorTrait, Tensor}; use...
https://github.com/gizatechxyz/orion
tests/nodes/is_pos_inf_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(6); let mut ...
https://github.com/gizatechxyz/orion
tests/nodes/is_pos_inf_fp16x16/output_0.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::BoolTensor; fn output_0() -> Tensor<bool> { let mut shape = ArrayTrait::<usize>::new(); shape.append(6); let mut data = ArrayTrait::new(); data.append(false); data.append(fa...
https://github.com/gizatechxyz/orion
tests/nodes/is_pos_inf_fp8x23.cairo
mod input_0; mod output_0; use orion::utils::{assert_eq, assert_seq_eq}; use orion::operators::tensor::BoolTensorPartialEq; use orion::operators::tensor::{FP8x23Tensor, FP8x23TensorAdd}; use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::BoolTensor; use orion::operators::tensor::FP8x23TensorParti...
https://github.com/gizatechxyz/orion
tests/nodes/is_pos_inf_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(6); let mut data...
https://github.com/gizatechxyz/orion
tests/nodes/is_pos_inf_fp8x23/output_0.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::BoolTensor; fn output_0() -> Tensor<bool> { let mut shape = ArrayTrait::<usize>::new(); shape.append(6); let mut data = ArrayTrait::new(); data.append(false); data.append(fa...
https://github.com/gizatechxyz/orion
tests/nodes/is_pos_inf_i32.cairo
mod input_0; mod output_0; use orion::utils::{assert_eq, assert_seq_eq}; use orion::operators::tensor::{I32Tensor, I32TensorAdd}; use orion::operators::tensor::BoolTensorPartialEq; use orion::operators::tensor::I32TensorPartialEq; use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::BoolTensor; use...
https://github.com/gizatechxyz/orion
tests/nodes/is_pos_inf_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(6); let mut data = ArrayTrait::n...
https://github.com/gizatechxyz/orion
tests/nodes/is_pos_inf_i32/output_0.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::BoolTensor; fn output_0() -> Tensor<bool> { let mut shape = ArrayTrait::<usize>::new(); shape.append(6); let mut data = ArrayTrait::new(); data.append(false); data.append(fa...
https://github.com/gizatechxyz/orion
tests/nodes/is_pos_inf_i8.cairo
mod input_0; mod output_0; use orion::utils::{assert_eq, assert_seq_eq}; use orion::operators::tensor::BoolTensorPartialEq; use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{I8Tensor, I8TensorAdd}; use orion::operators::tensor::BoolTensor; use orion::operators::tensor::{TensorTrait, Tensor}; us...
https://github.com/gizatechxyz/orion
tests/nodes/is_pos_inf_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(6); let mut data = ArrayTrait::new(...
https://github.com/gizatechxyz/orion
tests/nodes/is_pos_inf_i8/output_0.cairo
use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{TensorTrait, Tensor}; use orion::operators::tensor::BoolTensor; fn output_0() -> Tensor<bool> { let mut shape = ArrayTrait::<usize>::new(); shape.append(6); let mut data = ArrayTrait::new(); data.append(false); data.append(fa...
https://github.com/gizatechxyz/orion
tests/nodes/label_encoder_fp16x16_3d_default.cairo
mod input_0; mod input_1; mod input_2; mod input_3; mod output_0; use orion::operators::tensor::FP16x16TensorPartialEq; use orion::operators::tensor::{TensorTrait, Tensor}; use core::array::{ArrayTrait, SpanTrait}; use orion::operators::tensor::{FP16x16Tensor, FP16x16TensorAdd}; use orion::utils::{assert_eq, assert_s...
https://github.com/gizatechxyz/orion
tests/nodes/label_encoder_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(9); let mut ...
https://github.com/gizatechxyz/orion
tests/nodes/label_encoder_fp16x16_3d_default/input_1.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_1() -> Tensor<FP16x16> { let mut shape = ArrayTrait::<usize>::new(); let mut data = ArrayTrait::ne...
https://github.com/gizatechxyz/orion
tests/nodes/label_encoder_fp16x16_3d_default/input_2.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_2() -> Tensor<FP16x16> { let mut shape = ArrayTrait::<usize>::new(); shape.append(4); let mut ...
https://github.com/gizatechxyz/orion
tests/nodes/label_encoder_fp16x16_3d_default/input_3.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_3() -> Tensor<FP16x16> { let mut shape = ArrayTrait::<usize>::new(); shape.append(4); let mut ...
https://github.com/gizatechxyz/orion
tests/nodes/label_encoder_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(9); let mut...
https://github.com/gizatechxyz/orion
tests/nodes/label_encoder_fp8x23_default.cairo
mod input_0; mod input_1; mod input_2; mod input_3; mod output_0; use orion::operators::tensor::{FP8x23Tensor, FP8x23TensorAdd}; use orion::operators::tensor::FP8x23TensorPartialEq; use orion::operators::tensor::{TensorTrait, Tensor}; use core::array::{ArrayTrait, SpanTrait}; use orion::utils::{assert_eq, assert_seq_...
https://github.com/gizatechxyz/orion
tests/nodes/label_encoder_fp8x23_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(11); let mut dat...
https://github.com/gizatechxyz/orion
tests/nodes/label_encoder_fp8x23_default/input_1.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_1() -> Tensor<FP8x23> { let mut shape = ArrayTrait::<usize>::new(); let mut data = ArrayTrait::new();...
https://github.com/gizatechxyz/orion
tests/nodes/label_encoder_fp8x23_default/input_2.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_2() -> Tensor<FP8x23> { let mut shape = ArrayTrait::<usize>::new(); shape.append(5); let mut data...
https://github.com/gizatechxyz/orion
tests/nodes/label_encoder_fp8x23_default/input_3.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_3() -> Tensor<FP8x23> { let mut shape = ArrayTrait::<usize>::new(); shape.append(5); let mut data...
https://github.com/gizatechxyz/orion
tests/nodes/label_encoder_fp8x23_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(11); let mut da...
https://github.com/gizatechxyz/orion