Why would we expand a numpy array along axis=0?

后端 未结 0 1525
轮回少年
轮回少年 2021-02-07 00:28

can any1 explain the condition in which one would require to reshape along axis=0? \'\'\' a=np.array([1,2,3,4,5,6]) \'\'\' \'[1,2,3,4,5,6]\' \'\'\' a1 = np.expand_dims(a, axis=0

相关标签:
回答
  • 消灭零回复
提交回复
热议问题