mirror of
https://github.com/ROCm/jax.git
synced 2025-04-16 03:46:06 +00:00
Merge pull request #21055 from shoyer:relu-doc
PiperOrigin-RevId: 630425740
This commit is contained in:
commit
e70191bd9e
@ -322,7 +322,7 @@ def linkcode_resolve(domain, info):
|
||||
obj = operator.attrgetter(info['fullname'])(mod)
|
||||
if isinstance(obj, property):
|
||||
obj = obj.fget
|
||||
if hasattr(obj, '__wrapped__'): # jit decorated functions
|
||||
while hasattr(obj, '__wrapped__'): # decorated functions
|
||||
obj = obj.__wrapped__
|
||||
filename = inspect.getsourcefile(obj)
|
||||
source, linenum = inspect.getsourcelines(obj)
|
||||
|
Loading…
x
Reference in New Issue
Block a user