o
    <Æ&i(  ã                   @   sŠ   d dl mZ d dlZddlmZ ddlmZ ddlm	Z	m
Z
 ddlmZ ddlmZ dd	„ Ze ¡ r6dZdS e e e e¡¡d
d¡ZdS )é    Né   )ÚThroughputBenchmark)Úget_cpp_backtrace)Úrename_privateuse1_backendÚ(generate_methods_for_privateuse1_backend)Údeterministic)Úcollect_envc                 C   s   t |tƒs	tdƒ‚|| _dS )z[
    Set the module attribute on a python object for a given object for nicer printing
    z#The mod argument should be a stringN)Ú
isinstanceÚstrÚ	TypeErrorÚ
__module__)ÚobjÚmod© r   ú?C:\wamp64\www\opt\env\Lib\site-packages\torch/utils/__init__.pyÚ
set_module
   s   

r   ÚshareÚcmake)Zos.pathÚpathZ_ospZtorchZthroughput_benchmarkr   Zcpp_backtracer   Zbackend_registrationr   r   Ú r   r   r   Z_running_with_deployZcmake_prefix_pathÚjoinÚdirnameÚ__file__r   r   r   r   Ú<module>   s    