def target
import bend-visgraph@2.0.0.0/parallel.bend as Parallelimport Base
96# About two chunks for each of the tree's leaves.
97def target(+visits: F32) -> U32:
98 U32.max(1, F32.to_u32(F32.div(visits, U32.to_f32(U32.shln(4, fork_depth())))))
import bend-visgraph@2.0.0.0/parallel.bend as Parallelimport Base
96# About two chunks for each of the tree's leaves.
97def target(+visits: F32) -> U32:
98 U32.max(1, F32.to_u32(F32.div(visits, U32.to_f32(U32.shln(4, fork_depth())))))