mirror of
https://github.com/PrimitiveAnything/PrimitiveAnything.git
synced 2025-09-18 05:22:48 +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
|