mirror of
https://github.com/PrimitiveAnything/PrimitiveAnything.git
synced 2026-05-08 00:58:55 +08:00
init
This commit is contained in:
13
primitive_anything/michelangelo/models/asl_diffusion/base.py
Executable file
13
primitive_anything/michelangelo/models/asl_diffusion/base.py
Executable file
@@ -0,0 +1,13 @@
|
||||
# -*- 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
|
||||
Reference in New Issue
Block a user