I have an array of float64 and want to convert each value to float32.
I've tried:
# What I have
features64 [120]float64
# What I've tried
features32 = [120]float32(features64)
But that gives the compile error:
cannot convert features (type [120]float64) to type [120]float32