MCPcopy Create free account
hub / github.com/alibaba/nann / add

Method add

tensorflow/tensorflow/python/keras/engine/sequential.py:132–215  ·  view source on GitHub ↗

Adds a layer instance on top of the layer stack. Arguments: layer: layer instance. Raises: TypeError: If `layer` is not a layer instance. ValueError: In case the `layer` argument does not know its input shape. ValueError: In case the `layer` argu

(self, layer)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Calls 6

TypeErrorFunction · 0.85
_init_graph_networkMethod · 0.80
_track_layersMethod · 0.80
flattenMethod · 0.45
InputMethod · 0.45
appendMethod · 0.45