Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update newline character #1419

Merged
merged 17 commits into from
Dec 2, 2024
Merged
Prev Previous commit
Next Next commit
fix typo
  • Loading branch information
alinpahontu2912 authored Nov 29, 2024
commit 7ec1284ed622ae7c410c76a4e507c03601545e62
2 changes: 1 addition & 1 deletion test/TorchSharpTest/TestTorchTensor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ public void TestTensorPrint()
{
Tensor t = torch.zeros(2, 2);
string expectedOutput = t.ToString(TensorStringStyle.Default, "g5", 100, null, "\n");
var sw = new StringWriter())
var sw = new StringWriter();
alinpahontu2912 marked this conversation as resolved.
Show resolved Hide resolved
Console.SetOut(sw);
t.print();
Console.Out.Flush();
Expand Down