在squeeze函数中,指定axis后,若该维度为1,则收缩这个维度。见官方文档:
理解numpy squeeze()
猜你喜欢
转载自blog.csdn.net/m0_37783096/article/details/79335523
今日推荐
周排行