mirror of
https://github.com/zama-ai/concrete.git
synced 2026-02-18 08:31:31 -05:00
fix(compiler): conversion to optimizer dag, bad dot before signed lut
this has no effect apart making the shape incorrect
This commit is contained in:
@@ -1292,6 +1292,8 @@ extern "C" {
|
||||
namespace weights {
|
||||
extern "C" {
|
||||
::concrete_optimizer::Weights *concrete_optimizer$weights$cxxbridge1$vector(::rust::Slice<::std::int64_t const> weights) noexcept;
|
||||
|
||||
::concrete_optimizer::Weights *concrete_optimizer$weights$cxxbridge1$number(::std::int64_t weight) noexcept;
|
||||
} // extern "C"
|
||||
} // namespace weights
|
||||
|
||||
@@ -1391,6 +1393,10 @@ namespace weights {
|
||||
::rust::Box<::concrete_optimizer::Weights> vector(::rust::Slice<::std::int64_t const> weights) noexcept {
|
||||
return ::rust::Box<::concrete_optimizer::Weights>::from_raw(concrete_optimizer$weights$cxxbridge1$vector(weights));
|
||||
}
|
||||
|
||||
::rust::Box<::concrete_optimizer::Weights> number(::std::int64_t weight) noexcept {
|
||||
return ::rust::Box<::concrete_optimizer::Weights>::from_raw(concrete_optimizer$weights$cxxbridge1$number(weight));
|
||||
}
|
||||
} // namespace weights
|
||||
|
||||
::concrete_optimizer::dag::CircuitSolution OperationDag::optimize_multi(::concrete_optimizer::Options _options) const noexcept {
|
||||
|
||||
@@ -1232,6 +1232,8 @@ namespace dag {
|
||||
|
||||
namespace weights {
|
||||
::rust::Box<::concrete_optimizer::Weights> vector(::rust::Slice<::std::int64_t const> weights) noexcept;
|
||||
|
||||
::rust::Box<::concrete_optimizer::Weights> number(::std::int64_t weight) noexcept;
|
||||
} // namespace weights
|
||||
|
||||
::std::uint64_t NO_KEY_ID() noexcept;
|
||||
|
||||
Reference in New Issue
Block a user