MCPcopy Create free account
hub / github.com/google-deepmind/alphageometry / cond_fn

Method cond_fn

models.py:153–155  ·  view source on GitHub ↗
(scan_state)

Source from the content-addressed store, hash-verified

151 num_steps -= 1
152
153 def cond_fn(scan_state) -> jnp.bool_:
154 _, _, i, _ = scan_state
155 return i < num_steps
156
157 def loop_fn(scan_state: Any) -> Tuple[Any, Any, Any, Any]:
158 (dstate, input_token, i, _) = scan_state

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected