Skip to content

Commit

Permalink
chore: fix pcc
Browse files Browse the repository at this point in the history
  • Loading branch information
andrei-stoian-zama committed Oct 20, 2023
1 parent 9acc08f commit be56a3a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions benchmarks/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,7 @@ def should_test_config_in_fhe(
"TweedieRegressor",
"PoissonRegressor",
"GammaRegressor",
"SGDRegressor",
}:
return True

Expand Down
9 changes: 9 additions & 0 deletions tests/sklearn/test_dump_onnx.py
Original file line number Diff line number Diff line change
Expand Up @@ -397,6 +397,15 @@ def test_dump(
) {
%variable = Gemm[alpha = 1, beta = 1](%input_0, %_operators.0.coefficients, %_operators.0.intercepts)
return %variable
}""",
"SGDRegressor": """graph torch_jit (
%input_0[DOUBLE, symx10]
) initializers (
%_operators.0.coefficients[FLOAT, 10x1]
%_operators.0.intercepts[FLOAT, 1]
) {
%variable = Gemm[alpha = 1, beta = 1](%input_0, %_operators.0.coefficients, %_operators.0.intercepts)
return %variable
}""",
"Lasso": """graph torch_jit (
%input_0[DOUBLE, symx10]
Expand Down

0 comments on commit be56a3a

Please sign in to comment.