mirror of
https://github.com/PrimitiveAnything/PrimitiveAnything.git
synced 2026-05-08 00:58:55 +08:00
14 lines
218 B
Python
Executable File
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
|