L iddlZddlmZddlmZddlmZddlm Z deege fdeege ffdZ deee ge fdeee ge ffd Z y) N)Callable)'NativeFunctionWithDifferentiabilityInfo)native_function_manager)Tfuncreturnc\tjdtdtffd }|S)Nfrcjt|j5|cdddS#1swYyxYwNrr)r rs h/mnt/ssd/data/python-lab/Trading/venv/lib/python3.12/site-packages/torchgen/packaged/autograd/context.pywrapperzAwith_native_function_with_differentiability_info..wrappers+ $QVV , 7   s)2) functoolswrapsNFWDIrrrs` r0with_native_function_with_differentiability_infor s5__T5Q Nchtjdtdtdtffd }|S)Nr keyrclt|j5||cdddS#1swYyxYwr r )r rrs rrzIwith_native_function_with_differentiability_info_and_key..wrappers- $QVV , 3<   s *3)rrrstrrrs` r8with_native_function_with_differentiability_info_and_keyrs<__T 5 s q   Nr) rtypingrtorchgen.api.autogradrrtorchgen.contextrtorchgen.utilsrrrrrrr snR4  E7A:  ugqj E3<? # uclAor