mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-06-16 01:33:39 +00:00
[Symbolic Shape Infer] add more ops for auto merge (#8824)
As Less/Equal/Greater/LessOrEqual/GreaterOrEqual ops can broadcast
This commit is contained in:
parent
7f1e880649
commit
ddd4586a2f
1 changed files with 1 additions and 1 deletions
|
|
@ -1797,7 +1797,7 @@ class SymbolicShapeInference:
|
|||
if self.auto_merge_:
|
||||
if node.op_type in [
|
||||
'Add', 'Sub', 'Mul', 'Div', 'MatMul', 'MatMulInteger', 'MatMulInteger16', 'Concat',
|
||||
'Where', 'Sum'
|
||||
'Where', 'Sum', 'Equal', 'Less', 'Greater', 'LessOrEqual', 'GreaterOrEqual'
|
||||
]:
|
||||
shapes = [self._get_shape(node, i) for i in range(len(node.input))]
|
||||
if node.op_type in ['MatMul', 'MatMulInteger', 'MatMulInteger16']:
|
||||
|
|
|
|||
Loading…
Reference in a new issue