重塑图像-1和1作为参数重塑方法
我一直在ASL数据集上学习增强,并被要求重塑28x28尺寸的图像。
代码看起来如下
x_train = x_train.reshape(-1,28,28,1)
-1和1在上面表示什么?
I have been learning Augmentation on ASL dataset where I have been asked to reshape the images of size 28x28.
The code looks as below
x_train = x_train.reshape(-1,28,28,1)
what does -1 and 1 represent in the above?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论