Searched refs:_make_unit_constant (Results 1 – 1 of 1) sorted by relevance
80 def _make_unit_constant(c): return xb.constant(c, np.zeros((), dtype=np.dtype('bool'))) function94 xb.register_constant_handler(core.Unit, lambda c, *_: _make_unit_constant(c))428 _partitionmap(write, [core.unitvar], [_make_unit_constant(c)])