@classmethod
def save(cls, weights: dict, path: str):
    """
        Save model state.

        :param weights: state
        :param path: state file path
        :return: None
        """
    from torch import save as torch_save
    torch_save(weights, path)
