mirror of
https://github.com/zama-ai/concrete.git
synced 2026-02-09 03:55:04 -05:00
test: remove default parameters for 16bits tests
This commit is contained in:
@@ -42,9 +42,6 @@ tests:
|
||||
- tensor: [65535, 46706, 18752, 55384, 55709, 1726, 35063, 57650, 45551, 5769,
|
||||
38786, 36362, 65112, 5748, 60515, 64814, 65491, 4271, 9294, 0]
|
||||
shape: [2,10]
|
||||
v0-constraint: [16, 0]
|
||||
v0-parameter: [1,11,565,1,23,5,3]
|
||||
large-integer-crt-decomposition: [7,8,9,11,13]
|
||||
---
|
||||
description: extract
|
||||
program: |
|
||||
@@ -131,9 +128,6 @@ tests:
|
||||
- scalar: 9
|
||||
outputs:
|
||||
- scalar: 9
|
||||
v0-constraint: [16, 0]
|
||||
v0-parameter: [1,11,565,1,23,5,3]
|
||||
large-integer-crt-decomposition: [7,8,9,11,13]
|
||||
---
|
||||
description: insert
|
||||
program: |
|
||||
@@ -238,9 +232,6 @@ tests:
|
||||
- tensor: [65535, 46706, 18752, 55384, 55709, 1726, 35063, 57650, 45551, 5769,
|
||||
38786, 36362, 65112, 5748, 60515, 64814, 65491, 4271, 9294, 42]
|
||||
shape: [2,10]
|
||||
v0-constraint: [16, 0]
|
||||
v0-parameter: [1,11,565,1,23,5,3]
|
||||
large-integer-crt-decomposition: [7,8,9,11,13]
|
||||
---
|
||||
description: extract_slice
|
||||
program: |
|
||||
@@ -288,9 +279,6 @@ tests:
|
||||
outputs:
|
||||
- tensor: [64814, 65491, 4271, 9294, 0]
|
||||
shape: [1,5]
|
||||
v0-constraint: [16, 0]
|
||||
v0-parameter: [1,11,565,1,23,5,3]
|
||||
large-integer-crt-decomposition: [7,8,9,11,13]
|
||||
---
|
||||
description: extract_slice_stride
|
||||
program: |
|
||||
@@ -325,9 +313,9 @@ tests:
|
||||
---
|
||||
description: extract_slice_stride_16bits
|
||||
program: |
|
||||
func.func @main(%t: tensor<2x10x!FHE.eint<6>>) -> tensor<1x5x!FHE.eint<6>> {
|
||||
%r = tensor.extract_slice %t[1, 0][1, 5][1, 2] : tensor<2x10x!FHE.eint<6>> to tensor<1x5x!FHE.eint<6>>
|
||||
return %r : tensor<1x5x!FHE.eint<6>>
|
||||
func.func @main(%t: tensor<2x10x!FHE.eint<16>>) -> tensor<1x5x!FHE.eint<16>> {
|
||||
%r = tensor.extract_slice %t[1, 0][1, 5][1, 2] : tensor<2x10x!FHE.eint<16>> to tensor<1x5x!FHE.eint<16>>
|
||||
return %r : tensor<1x5x!FHE.eint<16>>
|
||||
}
|
||||
tests:
|
||||
- inputs:
|
||||
@@ -337,9 +325,6 @@ tests:
|
||||
outputs:
|
||||
- tensor: [38786, 65112, 60515, 65491, 9294]
|
||||
shape: [1,5]
|
||||
v0-constraint: [16, 0]
|
||||
v0-parameter: [1,11,565,1,23,5,3]
|
||||
large-integer-crt-decomposition: [7,8,9,11,13]
|
||||
---
|
||||
description: insert_slice
|
||||
program: |
|
||||
@@ -417,6 +402,3 @@ tests:
|
||||
- tensor: [65535, 46706, 18752, 55384, 55709, 1000, 1001, 57650, 45551, 5769,
|
||||
38786, 36362, 65112, 5748, 60515, 1002, 1003, 4271, 9294, 0]
|
||||
shape: [2,10]
|
||||
v0-constraint: [16, 0]
|
||||
v0-parameter: [1,11,565,1,23,5,3]
|
||||
large-integer-crt-decomposition: [7,8,9,11,13]
|
||||
|
||||
@@ -33,9 +33,6 @@ tests:
|
||||
outputs:
|
||||
- tensor: [65535, 0, 10215, 22243, 112, 24123, 32766]
|
||||
shape: [7]
|
||||
v0-constraint: [16, 0]
|
||||
v0-parameter: [1,11,565,1,23,5,3]
|
||||
large-integer-crt-decomposition: [7,8,9,11,13]
|
||||
---
|
||||
description: add_eint_term_to_term
|
||||
program: |
|
||||
@@ -68,9 +65,6 @@ tests:
|
||||
outputs:
|
||||
- tensor: [65535, 22243, 10215, 0]
|
||||
shape: [4]
|
||||
v0-constraint: [16, 0]
|
||||
v0-parameter: [1,11,565,1,23,5,3]
|
||||
large-integer-crt-decomposition: [7,8,9,11,13]
|
||||
---
|
||||
description: sub_int_eint_term_to_term
|
||||
program: |
|
||||
@@ -107,9 +101,6 @@ tests:
|
||||
outputs:
|
||||
- tensor: [0, 20967, 3, 0]
|
||||
shape: [4]
|
||||
v0-constraint: [16, 0]
|
||||
v0-parameter: [1,11,565,1,23,5,3]
|
||||
large-integer-crt-decomposition: [7,8,9,11,13]
|
||||
---
|
||||
description: sub_eint_int_term_to_term
|
||||
program: |
|
||||
@@ -144,9 +135,6 @@ tests:
|
||||
outputs:
|
||||
- tensor: [0, 20967, 3, 0]
|
||||
shape: [4]
|
||||
v0-constraint: [16, 0]
|
||||
v0-parameter: [1,11,565,1,23,5,3]
|
||||
large-integer-crt-decomposition: [7,8,9,11,13]
|
||||
---
|
||||
description: sub_eint_term_to_term
|
||||
program: |
|
||||
@@ -168,9 +156,9 @@ tests:
|
||||
---
|
||||
description: sub_eint_term_to_term_16bits
|
||||
program: |
|
||||
func.func @main(%a0: tensor<4x!FHE.eint<6>>, %a1: tensor<4x!FHE.eint<6>>) -> tensor<4x!FHE.eint<6>> {
|
||||
%res = "FHELinalg.sub_eint"(%a0, %a1) : (tensor<4x!FHE.eint<6>>, tensor<4x!FHE.eint<6>>) -> tensor<4x!FHE.eint<6>>
|
||||
return %res : tensor<4x!FHE.eint<6>>
|
||||
func.func @main(%a0: tensor<4x!FHE.eint<16>>, %a1: tensor<4x!FHE.eint<16>>) -> tensor<4x!FHE.eint<16>> {
|
||||
%res = "FHELinalg.sub_eint"(%a0, %a1) : (tensor<4x!FHE.eint<16>>, tensor<4x!FHE.eint<16>>) -> tensor<4x!FHE.eint<16>>
|
||||
return %res : tensor<4x!FHE.eint<16>>
|
||||
}
|
||||
tests:
|
||||
- inputs:
|
||||
@@ -181,9 +169,6 @@ tests:
|
||||
outputs:
|
||||
- tensor: [0, 20967, 3, 0]
|
||||
shape: [4]
|
||||
v0-constraint: [16, 0]
|
||||
v0-parameter: [1,11,565,1,23,5,3]
|
||||
large-integer-crt-decomposition: [7,8,9,11,13]
|
||||
---
|
||||
description: mul_eint_int_term_to_term
|
||||
program: |
|
||||
@@ -220,9 +205,6 @@ tests:
|
||||
outputs:
|
||||
- tensor: [65535, 65535, 23844, 0]
|
||||
shape: [4]
|
||||
v0-constraint: [16, 0]
|
||||
v0-parameter: [1,11,565,1,23,5,3]
|
||||
large-integer-crt-decomposition: [7,8,9,11,13]
|
||||
---
|
||||
description: transpose1d
|
||||
program: |
|
||||
|
||||
Reference in New Issue
Block a user