Skip to content

Commit

Permalink
Do not drop DQ and Q (16 bit) in DQ -> DepthToSpace -> Q
Browse files Browse the repository at this point in the history
  • Loading branch information
yihonglyu committed Jan 10, 2025
1 parent c36dea7 commit 8a6e540
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ void DropQDQNodesRules(SelectorActionRegistry& qdq_selector_action_registry) {
true,
cpu_ep);
qdq_selector_action_registry.RegisterSelectorAndAction(drop_action_no_int16_name,
{{"Resize", {}}},
{{"DepthToSpace", {}},
{"Resize", {}}},
std::move(selector_no_16bit),
std::move(drop_action_no_int16));

Expand All @@ -94,8 +95,7 @@ void DropQDQNodesRules(SelectorActionRegistry& qdq_selector_action_registry) {
// SpaceToDepth not included because there are no integer implementations.
// https://github.com/microsoft/onnxruntime/issues/21287
qdq_selector_action_registry.RegisterSelectorAndAction(drop_action_name,
{{"DepthToSpace", {}},
{"Expand", {}},
{{"Expand", {}},
{"Flatten", {}},
{"Gather", {}},
{"GatherElements", {}},
Expand Down

0 comments on commit 8a6e540

Please sign in to comment.