MCPcopy 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
305def _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_moduleFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected