[FIX] defaultly initialize RoiAlign's half_pixel_ attribute as true, to
keep same semantics with ONNX Operators definiation.
This commit is contained in:
Родитель
9e47eb68e0
Коммит
efad8bd1a9
|
@ -78,7 +78,7 @@ class RoiAlignBase {
|
|||
int64_t output_width_{1};
|
||||
int64_t sampling_ratio_{0};
|
||||
float spatial_scale_{1.0f};
|
||||
bool half_pixel_{false};
|
||||
bool half_pixel_{true};
|
||||
|
||||
private:
|
||||
ORT_DISALLOW_COPY_ASSIGNMENT_AND_MOVE(RoiAlignBase);
|
||||
|
|
Загрузка…
Ссылка в новой задаче