In the code provided below, I am trying to map a 10 valued amplitude signal with MNIST digit number (to_categorical). So I input 10 values which are unique for digits and tr