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

Method pop

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

Removes the last layer in the model. Raises: TypeError: if there are no layers in the model.

(self)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

test_sequential_popMethod · 0.95
_checkMethod · 0.45
_testBothMethod · 0.45
_test_optimizerMethod · 0.45
clear_sessionFunction · 0.45
dotFunction · 0.45
__init__Method · 0.45
__init__Method · 0.45
_configure_embeddingsMethod · 0.45

Calls 2

TypeErrorFunction · 0.85
_init_graph_networkMethod · 0.80

Tested by 11

test_sequential_popMethod · 0.76
_checkMethod · 0.36
_testBothMethod · 0.36
_test_optimizerMethod · 0.36
__init__Method · 0.36
topological_sortFunction · 0.36