Multiset-equivariant set prediction with approximate implicit differentiation