Monty.Attention.Merge.Union (ExTbpMonty.Core v0.1.0)

Copy Markdown View Source

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.