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

Method __init__

tensorflow/contrib/eager/python/network.py:544–549  ·  view source on GitHub ↗
(self, layers_funcs=None, name=None)

Source from the content-addressed store, hash-verified

542 """
543
544 def __init__(self, layers_funcs=None, name=None):
545 super(Sequential, self).__init__(name=name)
546 self._layers_funcs = []
547 if layers_funcs:
548 for l in layers_funcs:
549 self.add(l)
550
551 def add(self, layer_func):
552 if isinstance(layer_func, base.Layer):

Callers

nothing calls this directly

Calls 2

addMethod · 0.95
__init__Method · 0.45

Tested by

no test coverage detected