mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-06 04:28:32 +00:00
fix build aar error in Zip-Nuget-Java-Nodejs Packaging pipeline (#18745)
### Description <!-- Describe your changes. --> [Pipeline failure info](https://aiinfra.visualstudio.com/Lotus/_build/results?buildId=387310&view=logs&j=0aae05c9-1dc0-5099-eb4a-4cbb949c7458&t=71450a55-3e84-511c-7394-a06145376912&l=1044) ### Motivation and Context <!-- - Why is this change required? What problem does it solve? - If it fixes an open issue, please link to the issue here. --> Fix packaging pipeline brought by pr. Co-authored-by: rachguo <rachguo@rachguos-Mac-mini.local>
This commit is contained in:
parent
efbef5f611
commit
305db31301
1 changed files with 1 additions and 1 deletions
|
|
@ -95,7 +95,7 @@ bool SplitOpBuilder::IsOpSupportedImpl(const InitializedTensorSet& initializers,
|
|||
NodeAttrHelper helper(node_unit);
|
||||
const auto axis = helper.Get("axis", 0);
|
||||
|
||||
const auto split_dims_at_axis = input_shape[HandleNegativeAxis(axis, input_shape.size())];
|
||||
const auto split_dims_at_axis = input_shape[SafeInt<uint32_t>(HandleNegativeAxis(axis, input_shape.size()))];
|
||||
if (input_defs.size() > 1 && input_defs[1].node_arg.Exists()) {
|
||||
// if optional input `split` is provided
|
||||
auto split_initializer_it = initializers.find(input_defs[1].node_arg.Name());
|
||||
|
|
|
|||
Loading…
Reference in a new issue