MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / __init__

Method __init__

tensorflow/python/module/module_test.py:574–579  ·  view source on GitHub ↗
(self, create_child=True, container_type=list)

Source from the content-addressed store, hash-verified

572class SimpleModule(module.Module):
573
574 def __init__(self, create_child=True, container_type=list):
575 super(SimpleModule, self).__init__()
576 self.z = MemberType()
577 self.a = container_type([MemberType(), MemberType()])
578 if create_child:
579 self.c = SimpleModule(create_child=False)
580
581is_member = lambda v: isinstance(v, MemberType)
582

Callers

nothing calls this directly

Calls 3

MemberTypeClass · 0.85
SimpleModuleClass · 0.85
__init__Method · 0.45

Tested by

no test coverage detected