-
Notifications
You must be signed in to change notification settings - Fork 185
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
1 addition
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -456,7 +456,7 @@ private static Expr[] MakeNewPrevCalls(Call[] inputsShouldBeMerge, Expr[] prevOu | |
} | ||
|
||
Expr canditateVar = newVar.First(); | ||
if (x is Marker mm) | ||
if (x is Marker mm && mm.Attribute is TensorConst) // Const range of marker | ||
Check warning on line 459 in src/Nncase.Passes/Rules/ShapeBucket/MergeCallToFusion.cs GitHub Actions / build-aarch64-macos
Check warning on line 459 in src/Nncase.Passes/Rules/ShapeBucket/MergeCallToFusion.cs GitHub Actions / build-x86_64-linux
Check warning on line 459 in src/Nncase.Passes/Rules/ShapeBucket/MergeCallToFusion.cs GitHub Actions / build-x86_64-windows
Check warning on line 459 in src/Nncase.Passes/Rules/ShapeBucket/MergeCallToFusion.cs GitHub Actions / build-x86_64-windows
Check warning on line 459 in src/Nncase.Passes/Rules/ShapeBucket/MergeCallToFusion.cs GitHub Actions / build-x86_64-linux
|
||
{ | ||
canditateVar = mm.With(target: canditateVar); | ||
} | ||
|