MCPcopy
hub / github.com/tensorlayer/TensorLayer / test

Method test

tensorlayer/models/core.py:539–541  ·  view source on GitHub ↗

Set this network in evaluation mode.

(self)

Source from the content-addressed store, hash-verified

537 self._set_mode_for_layers(False)
538
539 def test(self):
540 """Set this network in evaluation mode."""
541 self.eval()
542
543 def infer(self):
544 """Set this network in evaluation mode."""

Calls 1

evalMethod · 0.95

Tested by 3

test_reuse_vggMethod · 0.64
test_dynamic_basicMethod · 0.64
test_static_basicMethod · 0.64