Code used in "INFORMATION PLANE ANALYSIS OF DEEP NEURAL NETWORKS VIA MATRIX–BASED RENYI’S ENTROPY AND TENSOR KERNELS".