What is the use of “1” in numpy.reshape function?

前端 未结 0 1871
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-14 19:09

What is the use of 1 in here? Also what happens when i use 2 instead of 1?

np.array(X).reshape(-1, IMG_SIZE, IMG_SIZE, 1)
相关标签:
回答
  • 消灭零回复
提交回复
热议问题