I have input like this:
y=[[array([ 0.12984648, 0.02116148, 0.08041889, ..., -0.11139846,
-0.0893152 , -0.05336994]), 1], [array([-0.11865588, -0.16726171, -0.06753636, ..., 0.00991138,
-0.11180532, -0.01146698]), 0] ]
I want to convert it into:
y=[
[[ 0.12984648, 0.02116148, 0.08041889, ..., -0.11139846,
-0.0893152 , -0.05336994], 1], [[-0.11865588, -0.16726171, -0.06753636, ..., 0.00991138,
-0.11180532, -0.01146698], 0]
]