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

Method __init__

tensorflow/contrib/graph_editor/util.py:72–75  ·  view source on GitHub ↗
(self, list_)

Source from the content-addressed store, hash-verified

70 """
71
72 def __init__(self, list_):
73 if not isinstance(list_, list):
74 raise TypeError("Expected a list, got: {}.".format(type(list_)))
75 self._list = list_
76
77 def __iter__(self):
78 return iter(self._list)

Callers 1

transform_treeFunction · 0.45

Calls 2

typeFunction · 0.85
formatMethod · 0.45

Tested by

no test coverage detected