Skip to content

Commit

Permalink
Fix x86 warning
Browse files Browse the repository at this point in the history
  • Loading branch information
skottmckay committed Sep 20, 2023
1 parent d72f284 commit ec03242
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,7 @@ static void UnsqueezeInput(OptimizerCtx& ctx, api::NodeRef& node, size_t i, cons
// Remove the Squeeze node if possible
// if there's a DQ node the `consumers` list still includes it so allow for that.
// in that case UpdateDQNodeInputAndShape already updated the input of the DQ node so it's safe to remove it.
if (consumers->comprehensive && consumers->nodes.size() == (dq_node ? 1 : 0)) {
if (consumers->comprehensive && consumers->nodes.size() == size_t(dq_node ? 1 : 0)) {
ctx.graph.RemoveNode(*inp_node);

if (ctx.opset >= 13 && !ctx.graph.HasValueConsumers(inp_node_inputs[1])) {
Expand Down

0 comments on commit ec03242

Please sign in to comment.