-
### 🐛 Describe the bug
Code:
```
import torch
para =torch.Tensor(initial_para)
x,y = torch.tensor(x),torch.relu(torch.tensor(y))
para.requires_grad = True
loss = torch.nn.MSELoss()
optimizer …
-
Reported by @RamteenS
> I noticed by the way that, at the beginning of the processing when creating settings files, i need to put coma for the pixel size otherwise it does not create the settings fil…
-
Hello, I have ported over this code from pytorch: https://github.com/nikhilbarhate99/PPO-PyTorch/blob/master/PPO.py
It's just a PPO implementation. However, this line is where I'm seeing a differen…
-
## 🚀 Feature
Universal binaries (x86_64+arm) made available on pytorch.org for the libtorch library on mac.
## Motivation
C++ applications requires libtorch to run PyTorch models saved as torch…
-
See: https://dev.azure.com/dotnet/TorchSharp/_build/results?buildId=107275&view=logs&j=cb6831a2-077a-5241-4d26-4af1cda3b8c6&t=daeac993-d4bc-5949-e393-2d192db402d8
-
Sorry of this seems too simple, I tried to localize the problem I was facing. I am trying to create a tensor with an array of an array of ints.
```
public static void ArrayOfArrays()
{
int[]…
-
Can we enable API Compat for TorchSharp? It’s part of the .NET SDK since 6.0.
Enabling it can be done with these steps:
[.NET Package Validation - .NET | Microsoft Docs](https://docs.microsoft.c…
-
https://github.com/dotnet/TorchSharp/issues/1322#issuecomment-2147081809
-
Coming from my memory replay, I have a an array of states (float[]). When I put these into a batch, I have a jagged array (float[][]). I am trying to convert these from the c# array to a tensor, but a…
-
## 前言
为.NET开源勇士提供一个推荐自己优秀项目和框架的Issues,大家可以把自己写的或者感觉不错的C#/.NET/.NET Core项目or框架链接地址和描述提交到在这里,提供给广大.NET开发者们参考、学习和使用,并且我会定期在公众号推广分享这些优秀项目和框架(注意:排名不分先后,都是十分优秀的开源框架和项目💖)。
## PR投稿
项目or框架都已经按照对应的功能类型分好类了…