Write a python class/method that will:1. Load a npy file into ndarray, assert that the loaded array has shape (*,*, 7) 2. Crop theloaded array along the dimension number 1 (count starts at 0) with a sliding window oflength K, and take every 10th sample in dimension number 2, to an array shape of (*,*, K,7). Take the 2nd feature (dimension -1) to an array of shape (*,*,K), concatenate along thefirst dimension to an array of shape (*,K)
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here