o
    #Õjó  ã                   @   sP  d dl mZ d dlmZmZ d dlmZmZmZm	Z	m
Z
 d dlmZmZmZ d dlmZmZmZmZmZmZmZmZmZmZmZmZmZmZ d dlmZ d dl m!Z!m"Z" dd	l#m$Z$m%Z% dd
l&m'Z'm(Z(m)Z) ddl*m+Z+m,Z,m-Z-m.Z.m/Z/m0Z0m1Z1m2Z2m3Z3m4Z4m5Z5m6Z6m7Z7m8Z8m9Z9m:Z: ddl;m<Z<m=Z= ddl>m?Z? ddl@mAZAmBZBmCZC g d¢ZDdS )é   )ÚScope)Úappend_backwardÚ	gradients)ÚBuildStrategyÚCompiledProgramÚExecutionStrategyÚIpuCompiledProgramÚIpuStrategy)ÚExecutorÚglobal_scopeÚscope_guard)ÚOperatorÚ	ParameterÚProgramÚVariableÚ
cpu_placesÚcuda_placesÚdefault_main_programÚdefault_startup_programÚdevice_guardÚipu_shard_guardÚ
name_scopeÚprogram_guardÚset_ipu_shardÚ
xpu_places)ÚWeightNormParamAttr)Úcreate_global_varÚcreate_parameteré   )ÚampÚnn)Ú	InputSpecÚdataÚsetitem)Údeserialize_persistablesÚdeserialize_programÚis_persistableÚloadÚload_from_fileÚload_inference_modelÚload_program_stateÚ	load_varsÚnormalize_programÚsaveÚsave_inference_modelÚsave_to_fileÚ	save_varsÚserialize_persistablesÚserialize_programÚset_program_state)ÚExponentialMovingAverageÚpy_func)ÚPrint)ÚaccuracyÚaucÚctr_metric_bundle).r   r   r
   r   r   r   r   r   r   r	   r6   r5   r   r   r   r   r4   r   r   r   r"   r!   r-   r'   r.   r)   r2   r1   r/   r%   r$   r(   r,   r*   r3   r   r   r   r   r   r7   r8   r   r   r   r9   N)EÚbaser   Zbase.backwardr   r   Zbase.compilerr   r   r   r   r	   Zbase.executorr
   r   r   Zbase.frameworkr   r   r   r   r   r   r   r   r   r   r   r   r   r   Zbase.param_attrr   Ztensor.creationr   r   Ú r   r    Úinputr!   r"   r#   Úior$   r%   r&   r'   r(   r)   r*   r+   r,   r-   r.   r/   r0   r1   r2   r3   Z	nn.commonr4   r5   Znn.control_flowr6   Z	nn.metricr7   r8   r9   Ú__all__© r?   r?   úW/var/www/html/Deteccion_Ine/venv/lib/python3.10/site-packages/paddle/static/__init__.pyÚ<module>   s   @H