mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-06-07 00:13:17 +00:00
Add support for GCC 13 (#18178)
It is related to #18155 . The issue has been fixed in the main branch by @jchen351
This commit is contained in:
parent
749bcc7937
commit
0240274dfd
1 changed files with 1 additions and 1 deletions
|
|
@ -308,7 +308,7 @@ Status ScatterData(
|
|||
|
||||
const auto& upd_shape = updates_input->Shape();
|
||||
const auto num_dims = input_data_shape.NumDimensions();
|
||||
assert(num_dims > 0);
|
||||
ORT_RETURN_IF_NOT(num_dims > 0, "ScatterElements op: input tensor must have at least one dimension");
|
||||
|
||||
// Allocate and zero out counts. The input/output is of the same rank as
|
||||
// indices/updates but the actual dimensions of indices/updates must be less or equal
|
||||
|
|
|
|||
Loading…
Reference in a new issue