MCPcopy
hub / github.com/GPflow/GPflow / CGState

Class CGState

gpflow/models/cglb.py:385–390  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

383 """
384
385 class CGState(NamedTuple):
386 i: tf.Tensor
387 v: tf.Tensor
388 r: tf.Tensor
389 p: tf.Tensor
390 rz: tf.Tensor
391
392 def stopping_criterion(state: CGState) -> tf.Tensor:
393 return (0.5 * state.rz > cg_tolerance) and (state.i < max_steps)

Callers 2

cg_stepFunction · 0.85
cglb_conjugate_gradientFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…