U
    rhF                     @  s\   d dl mZ d dlZd dlZd dlZd dlZd dlmZ ddddZddd	d
ddZ	dS )    )annotationsN)
ModuleTypezdict[str, str])returnc                  C  s   i } t tjt |  | S )N)_recursive_scansysmodules__name__)dict_ r
   D/tmp/pip-unpacked-wheel-xnis5xre/onnx/backend/sample/ops/__init__.pycollect_sample_implementations   s    r   r   None)packager	   r   c           	      C  sZ   | j }| j}t|D ]>\}}}| d| }t|}t|||< |rt|| qd S )N.)	__path__r   pkgutiliter_modules	importlibimport_moduleinspect	getsourcer   )	r   r	   Zpkg_dirZmodule_locationZ_module_loadernameispkgmodule_namemoduler
   r
   r   r      s    
r   )

__future__r   r   r   r   r   typesr   r   r   r
   r
   r
   r   <module>   s   