Deep learning of topological phase transitions from entanglement aspects