package documentation

Undocumented

From __init__.py:

Class ESRGANArch Undocumented
Function _get_num_blocks Undocumented
Function _get_scale Undocumented
Function _new_to_old_arch Convert a new-arch model state dictionary to an old-arch dictionary.
Function _to_old_arch Undocumented
def _new_to_old_arch(state: StateDict, state_map: dict, num_blocks: int): (source)

Convert a new-arch model state dictionary to an old-arch dictionary.

def _get_scale(state: StateDict) -> int: (source)

Undocumented

def _get_num_blocks(state: StateDict, state_map: dict) -> int: (source)

Undocumented

def _to_old_arch(state: StateDict) -> StateDict: (source)

Undocumented