Fix compilation error for ia32 (#13253)
Co-authored-by: River Li <river.li@intel.com>
This commit is contained in:
1 parent
bcc2133049
commit
8b781c93a9
1 file changed
+1
-1
@@ -3703,7 +3703,7 @@ bool evaluate(const shared_ptr<op::v9::GenerateProposals>& op,
|
||||
output_scores,
|
||||
output_num);
|
||||
|
||||
uint64_t num_selected = static_cast<uint64_t>(std::accumulate(output_num.begin(), output_num.end(), 0));
|
||||
size_t num_selected = static_cast<size_t>(std::accumulate(output_num.begin(), output_num.end(), 0));
|
||||
|
||||
Shape output_rois_shape = Shape{num_selected, 4};
|
||||
Shape output_scores_shape = Shape{num_selected};
|
||||
|
||||
Reference in new issue
Block a user