Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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."
""
Callers
9
test_reuse_vgg
Method · 0.80
test_dynamic_basic
Method · 0.80
test_static_basic
Method · 0.80
tutorial_mnist_simple.py
File · 0.80
task_script.py
File · 0.80
tutorial_ternaryweight_mnist_cnn.py
File · 0.80
tutorial_binarynet_mnist_cnn.py
File · 0.80
tutorial_dorefanet_mnist_cnn.py
File · 0.80
tutorial_mnist_distributed.py
File · 0.80
Calls
1
eval
Method · 0.95
Tested by
3
test_reuse_vgg
Method · 0.64
test_dynamic_basic
Method · 0.64
test_static_basic
Method · 0.64