sw:vec: Fix test template np.float usage

np.float is deprecated in numpy 1.20. Replace the usage with np.float32

Change-Id: Ic7acafd0a93cf482097b50adff1cf228af3f1f63
2 files changed