Files
FiDA-3D-Trellis/trellis/pipelines/samplers/base.py
2026-04-13 11:20:56 +08:00

20 lines
286 B
Python
Executable File

from typing import *
from abc import ABC, abstractmethod
class Sampler(ABC):
"""
A base class for samplers.
"""
@abstractmethod
def sample(
self,
model,
**kwargs
):
"""
Sample from a model.
"""
pass