Entanglement structure detection via machine learning. (4th August 2021)