# `Monty.Attention.Merge.Union`
[🔗](https://github.com/d-led/ex.tbp.monty/blob/v0.1.0/packages/ex_tbp_monty_core/lib/monty/attention/merge/union.ex#L1)

Merge by union, the second grid winning where they overlap: Monty's
`attention/merge.py::Union`.

A voxel occupied in either grid is occupied in the result. Where both grids
have an opinion about the same voxel, the second one's weight is kept — the
newer opinion, since a caller merges what it just learned into what it already
knew.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
