from typing import Tuple
import json


def load_base_torch(torch_obj: str) -> Tuple:
    """
    Loads the base torch object from json.
    :param torch_obj: The json torch object
    :return: a tuple of the torch object and the shapes of the parameters.
    """
    obj = json.loads(torch_obj)
    return obj['torch_obj'], obj['shapes']