dotnet / dotnet/TorchSharp

warnings cannot be accessed in notebooks

Open
#1,307 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
1.9k
Forks
228
PR merge metrics
No merged PRs in 30d

Description

For example, the following codes can produce a warning in the console

```csharp
using TorchSharp;

var loss = torch.nn.MSELoss();
var x = torch.zeros([]);
var y = torch.zeros([1]);
loss.call(x, y);
```

![image](https://github.com/dotnet/TorchSharp/assets/18749772/2411f092-81bf-4ed4-9b17-2b479ffea075)

However this seems to be unable to access on other platforms, like polyglot notebooks.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.