Waifu2x Index / Waifu2x / Reconstruct
Auto-generated documentation for waifu2x.reconstruct module.
Show source in reconstruct.py:14
def blockwise(src: np.ndarray, model: Chain, block_size: int, batch_size: int): ...Show source in reconstruct.py:68
def get_tta_patterns(src: np.ndarray, n: int): ...Show source in reconstruct.py:120
def image(src, model, block_size: int, batch_size: int) -> Image.Image: ...Show source in reconstruct.py:89
def image_tta(
src: Image.Image, model: Chain, tta_level: int, block_size: int, batch_size: int
): ...Show source in reconstruct.py:62
def inv(rot: int, flip: bool = False): ...