littlelittlecloud
commited on
Commit
·
dccd8ef
1
Parent(s):
2cc08ea
fix build error
Browse files
DDPM.cs
CHANGED
|
@@ -3,7 +3,7 @@ using TorchSharp;
|
|
| 3 |
|
| 4 |
public class DDPM : IDisposable
|
| 5 |
{
|
| 6 |
-
private
|
| 7 |
public torch.Device Device {get;}
|
| 8 |
public DDPM(string modelPath, torch.Device device)
|
| 9 |
{
|
|
|
|
| 3 |
|
| 4 |
public class DDPM : IDisposable
|
| 5 |
{
|
| 6 |
+
private torch.jit.ScriptModule _model;
|
| 7 |
public torch.Device Device {get;}
|
| 8 |
public DDPM(string modelPath, torch.Device device)
|
| 9 |
{
|