padding function in CNN with np.pad()

后端 未结 0 1673
长发绾君心
长发绾君心 2020-12-12 12:04

If you want to pad the array "a" of shape (5,5,5,5,5) with pad = 1 for the 2nd dimension, pad = 3 for the 4th dimension, and pad = 0 for the rest, you would do:

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