-
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
guodongliang
committed
Jan 6, 2025
1 parent
10686c5
commit 28d58a6
Showing
1 changed file
with
1 addition
and
4 deletions.
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 |
---|---|---|
|
@@ -278,10 +278,7 @@ public async Task RunAsync(RunPassContext options) | |
|
||
var quantSchemeString = JsonConvert.SerializeObject(quantScheme, Newtonsoft.Json.Formatting.Indented); | ||
_quantizeOptions.QuantSchemeInnerCheck = quantSchemeString; | ||
if (Path.Exists(DumpScope.Current.Directory)) | ||
{ | ||
File.WriteAllText(Path.Join(DumpScope.Current.Directory, "..", "..", "QuantScheme.json"), quantSchemeString); | ||
} | ||
File.WriteAllText("./tests_output/QuantScheme.json", quantSchemeString); | ||
Check warning on line 281 in src/Nncase.Quantization/Quantization/Quantizer.cs GitHub Actions / build-x86_64-linux
Check warning on line 281 in src/Nncase.Quantization/Quantization/Quantizer.cs GitHub Actions / build-aarch64-macos
Check warning on line 281 in src/Nncase.Quantization/Quantization/Quantizer.cs GitHub Actions / build-x86_64-windows
Check warning on line 281 in src/Nncase.Quantization/Quantization/Quantizer.cs GitHub Actions / build-x86_64-linux
|
||
} | ||
|
||
if (_quantizeOptions.DumpQuantError) | ||
|