glom, but not as slow
Custom Dictionary with glom get, set and del methods
Implement GLOM, part-whole hierarchies in TensorFlow
PyTorch implementation of GLOM. PyTorch-Lightning version is also available.