def torch_dot_eye_gen_explicit_map(_, args_pt):
    """
    Generate explicit_map for torch.eye.

    Args:
        args_pt (dict): Args for APIPt.

    Returns:
        dict, map between frames.
    """
    explicit_map = {'t': 'mindspore.int32'}
    if args_pt.get('m'):
        explicit_map.update({'m': args_pt.get('m')})
    else:
        explicit_map.update({'m': args_pt.get('n')})
    return explicit_map