Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DeepRec-AI/DeepRec
/ _is_module
Function
_is_module
tensorflow/python/module/module.py:305–306 ·
view source on GitHub ↗
(obj)
Source
from the content-addressed store, hash-verified
303
304
305
def
_is_module(obj):
306
return
isinstance(obj, Module)
307
308
_CAMEL_TO_SNAKE_R = re.compile(r
"((?<=[a-z0-9])[A-Z]|(?!^)[A-Z](?=[a-z]))"
)
309
_VALID_IDENTIFIER = re.compile(r
"^[a-zA-Z_]([a-zA-Z0-9_])*$"
)
Callers
1
_flatten_module
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected