Ë ~L icãón—dZddlZddlmZmZddlmZddlmZm Z ejGd„d««Z y) aÐHook system for Dynamo's guard functionality. This module provides a way to register callback functions that are triggered during guard-related operations. The Hooks class manages two types of hook functions: - guard_export_fn: Called when guards need to be exported, taking a GuardsSet as input - guard_fail_fn: Called when a guard check fails, taking a GuardFail object as input These hooks enable customization of guard export and failure handling behaviors. éN)ÚCallableÚOptional)Ú GuardsSeté)Ú GuardFailÚGuardFilterEntrycóz—eZdZUdZeeegdfed<dZeee gdfed<dZ eee e ge e fed<y)ÚHooksNÚguard_export_fnÚ guard_fail_fnÚguard_filter_fn)Ú__name__Ú __module__Ú __qualname__r rrrÚ__annotations__r rr ÚlistrÚbool©óúY/mnt/ssd/data/python-lab/Trading/venv/lib/python3.12/site-packages/torch/_dynamo/hooks.pyr r s^…à=A€OX˜h¨  {°DÐ'8Ñ9Ñ:ÓAØ;?€M8˜H i [°$Ð%6Ñ7Ñ8Ó?ØPT€OX˜h¨Ð-=Ñ(>Ð'?ÀÀdÁÐ'KÑLÑMÔTrr ) Ú__doc__Ú dataclassesÚtypingrrÚ torch._guardsrÚtypesrrÚ dataclassr rrrúrs:ðñ óß%å#ç.ð ×Ñ÷UðUóñUr