o
    U)i                     @   s    d dl mZ ddefddZdS )    _get_cpp_backtrace@   returnc                 C   s
   t | |S )z
    Return a string containing the C++ stack trace of the current thread.

    Args:
        frames_to_skip (int): the number of frames to skip from the top of the stack
        maximum_number_of_frames (int): the maximum number of frames to return
    r   )Zframes_to_skipZmaximum_number_of_frames r   e/home/app/PaddleOCR-VL-test/.venv_paddleocr/lib/python3.10/site-packages/torch/utils/cpp_backtrace.pyget_cpp_backtrace   s   
r   N)r   r   )Ztorch._Cr   strr   r   r   r   r   <module>   s   