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

Method __init__

tensorflow/python/framework/ops.py:5340–5343  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

5338 """A thread-local stack of objects for providing implicit defaults."""
5339
5340 def __init__(self):
5341 super(_DefaultStack, self).__init__()
5342 self._enforce_nesting = True
5343 self.stack = []
5344
5345 def get_default(self):
5346 return self.stack[-1] if len(self.stack) >= 1 else None

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected