How to deal with these Float32[1.4765211f6]?

In the first case you have an array of arrays with one elements, you can grab that element with getindex, which you can broadcast on the initial array:

julia> y = Any[Float32[1], Float32[2]]
2-element Vector{Any}:
 Float32[1.0]
 Float32[2.0]

julia> getindex.(y)
2-element Vector{Float32}:
 1.0
 2.0
3 Likes