mirror of
https://github.com/zama-ai/concrete.git
synced 2026-04-17 03:00:54 -04:00
@@ -21,7 +21,7 @@ from zamalang import CompilerEngine
|
||||
"""
|
||||
func @main(%arg0: tensor<4x!HLFHE.eint<7>>, %arg1: tensor<4xi8>) -> !HLFHE.eint<7>
|
||||
{
|
||||
%ret = "HLFHE.dot_eint_int"(%arg0, %arg1) :
|
||||
%ret = "HLFHELinalg.dot_eint_int"(%arg0, %arg1) :
|
||||
(tensor<4x!HLFHE.eint<7>>, tensor<4xi8>) -> !HLFHE.eint<7>
|
||||
return %ret : !HLFHE.eint<7>
|
||||
}
|
||||
@@ -163,7 +163,7 @@ def test_compile_and_run_tlu(mlir_input, args, expected_result, tab_size):
|
||||
"""
|
||||
func @test(%arg0: tensor<4x!HLFHE.eint<7>>, %arg1: tensor<4xi8>) -> !HLFHE.eint<7>
|
||||
{
|
||||
%ret = "HLFHE.dot_eint_int"(%arg0, %arg1) :
|
||||
%ret = "HLFHELinalg.dot_eint_int"(%arg0, %arg1) :
|
||||
(tensor<4x!HLFHE.eint<7>>, tensor<4xi8>) -> !HLFHE.eint<7>
|
||||
return %ret : !HLFHE.eint<7>
|
||||
}
|
||||
|
||||
@@ -27,7 +27,7 @@ VALID_INPUTS = [
|
||||
func @dot_eint_int(%arg0: tensor<2x!HLFHE.eint<2>>,
|
||||
%arg1: tensor<2xi3>) -> !HLFHE.eint<2>
|
||||
{
|
||||
%1 = "HLFHE.dot_eint_int"(%arg0, %arg1) :
|
||||
%1 = "HLFHELinalg.dot_eint_int"(%arg0, %arg1) :
|
||||
(tensor<2x!HLFHE.eint<2>>, tensor<2xi3>) -> !HLFHE.eint<2>
|
||||
return %1 : !HLFHE.eint<2>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user