onnxruntime/onnxruntime
Patrice Vignola 64541a587d
[DML EP] Remove unconnected nodes from the graph (#14155)
### Description
Remove unconnected nodes from the DML EP graph.



### Motivation and Context
Some operators like `EmbedLayerNorm` have many outputs, and some of the
outputs are non-optional. But in practice, they act like optional
outputs because they can have a value of 0, which means that the rest of
the model doesn't need to depend on those. The problem with that is that
DML will implicitly remove those output from the graph, but the nodes
that feed into that output will stay and become unconnected from the
rest of the graph, which is illegal in DML. Removing unconnected nodes
as a last pass will make sure that those nodes are getting removed and
will simplify the logic of individual operators by not having to account
for these special cases.
2023-01-08 15:20:52 -08:00
..
contrib_ops Add batched and strided batched gemm as TunableOp (#13841) 2023-01-07 19:11:40 +08:00
core [DML EP] Remove unconnected nodes from the graph (#14155) 2023-01-08 15:20:52 -08:00
python activate past_present_share_buffer for sampling node (#14166) 2023-01-07 19:36:39 -08:00
test relational attention bias cuda op (#14149) 2023-01-06 17:32:58 -08:00
tool/etw
wasm [wasm] fix session option setting of mem_pattern (#13858) 2022-12-07 13:15:44 -08:00
__init__.py Bumping up version number to 1.14.0 on main branch (#13401) 2022-10-21 19:16:44 -04:00
ReformatSource.ps1
ReformatSourcePython.bat
VSCodeCoverage.runsettings