MCPcopy
hub / github.com/GPflow/GPflow / model_closure

Function model_closure

tests/integration/test_dynamic_shapes.py:61–62  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

59
60 @tf.function
61 def model_closure() -> tf.Tensor:
62 return -model.elbo()
63
64 model_closure() # Trigger compilation.
65

Callers 4

test_vgpFunction · 0.85
test_svgpFunction · 0.85
test_vgp_multiclassFunction · 0.85
test_svgp_multiclassFunction · 0.85

Calls 1

elboMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…