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

Method infer

tensorlayer/models/core.py:543–545  ·  view source on GitHub ↗

Set this network in evaluation mode.

(self)

Source from the content-addressed store, hash-verified

541 self.eval()
542
543 def infer(self):
544 """Set this network in evaluation mode."""
545 self.eval()
546
547 def as_layer(self):
548 """Return this network as a ModelLayer so that it can be integrated into another Model.

Callers 5

test_dynamic_basicMethod · 0.80
test_static_basicMethod · 0.80
__init__Method · 0.80
__init__Method · 0.80
__init__Method · 0.80

Calls 1

evalMethod · 0.95

Tested by 2

test_dynamic_basicMethod · 0.64
test_static_basicMethod · 0.64