mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-07 17:15:29 +00:00
Fix GCC build error in quantization tests (#8449)
This commit is contained in:
parent
7e2ecb2eeb
commit
972aee8308
1 changed files with 1 additions and 3 deletions
|
|
@ -28,9 +28,7 @@ namespace quantization {
|
|||
template <typename T>
|
||||
struct Params {
|
||||
public:
|
||||
Params() {
|
||||
Params(/*scale=*/0.0f, /*zero_point=*/0);
|
||||
}
|
||||
Params() : Params(/*scale=*/0.0f, /*zero_point=*/0) {}
|
||||
|
||||
Params(float scale, T zero_point) : scale(scale), zero_point(zero_point) {
|
||||
ORT_STATIC_ASSERT_QUANTIZATION_TYPES(T)
|
||||
|
|
|
|||
Loading…
Reference in a new issue