U
    ‰d{  ã                   @   sj   d dl mZ d dlZddlmZ ddlmZmZm	Z	 dd„ Z
ejdkrLdZne e e e¡¡dd	¡ZdS )
é    Né   )ÚThroughputBenchmark)Úenable_minidumpsÚdisable_minidumpsÚenable_minidumps_on_exceptionsc                 C   s   t |tƒstdƒ‚|| _d S )Nz#The mod argument should be a string)Ú
isinstanceÚstrÚ	TypeErrorÚ
__module__)ÚobjÚmod© r   ú8/tmp/pip-unpacked-wheel-ua33x9lu/torch/utils/__init__.pyÚ
set_module   s    
r   Ztorch_deployZshareZcmake)Úos.pathÚpathZ_ospÚsysZthroughput_benchmarkr   Z_crash_handlerr   r   r   r   Ú
executableZcmake_prefix_pathÚjoinÚdirnameÚ__file__r   r   r   r   Ú<module>   s   
