Infrared safety of a neural-net top tagging algorithm