MohamedRashad's picture
Add initial module structure and base classes for samplers and representations
73c350d
raw
history blame contribute delete
286 Bytes
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