A Study of Privacy Attacks and Defences in Deep Learning