Searched refs:unbound_method (Results 1 – 1 of 1) sorted by relevance
1039 def lazy_bind(concrete_type, unbound_method): argument1063 method = types.MethodType(unbound_method, script_module)1067 lazy_binding_method.original_fn = unbound_method # type: ignore[attr-defined]1068 lazy_binding_method.__name__ = unbound_method.__name__1069 torch._jit_internal.copy_torchscript_modifier(unbound_method, lazy_binding_method)