-
Notifications
You must be signed in to change notification settings - Fork 184
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
Fixing default print newline #1415
base: main
Are you sure you want to change the base?
Conversation
This comment was marked as resolved.
This comment was marked as resolved.
A hardcoded And I suppose what we should do is to switch the default value from TorchSharp/src/TorchSharp/Tensor/Tensor.cs Line 6523 in 458b77e
And... These lines are useless since we are later passing TorchSharp/src/TorchSharp/Tensor/Tensor.cs Line 6526 in 458b77e
So maybe remove it? |
// Assert | ||
var result = sw.ToString().Trim(); | ||
Assert.Equal(expectedOutput, result); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
By the way maybe we shall set the original console.out back? I don't know ((
@dotnet-policy-service agree company="Microsoft" |
Thanks for the comments. I've used Maybe we can consider to replace others to For this one, only focusing on fixing |
Oh I didn't notice that. Maybe we shall reconsider that later. |
fe3ba0d
to
6d081d9
Compare
Fixes #1414
We're attempting to add back the default
newLine
as\n
to have correct results in Jupyter notebooks.