2025-05-07 16:51:22 +08:00

14 lines
218 B
Python
Executable File

# -*- coding: utf-8 -*-
import torch
import torch.nn as nn
class BaseDenoiser(nn.Module):
def __init__(self):
super().__init__()
def forward(self, x, t, context):
raise NotImplementedError