如何放置2个隐藏层? [英] How to put 2 hidden layers?

查看:116
本文介绍了如何放置2个隐藏层?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在我的多类神经网络上制作2个隐藏层,为此,我将这段代码放进去:

I'm trying to make 2 hidden layers on my Multiclass Neural Network, and for that I put this code:

但是运行时出现此错误:

but this error appears when I run:

"

推荐答案

你好,

如果只需要一个完全连接的网络,也可以不使用脚本而添加隐藏层.

You can add hidden layers without using script as well if you simply want a fully connected network.

在隐藏节点数"字段中,输入每个隐藏层的节点数,以逗号分隔.

In the 'Number of hidden nodes' field, enter the number of nodes per hidden layer seperated by commas.

对于具有25个节点的H1和具有10个节点的H2,应输入以下内容:

For H1 with 25 nodes and H2 with 10 nodes following should be entered:

隐藏节点数" ="25,10"

'Number of hidden nodes' = "25,10"

此致

Shubham

类似的问题:

https://social.msdn.microsoft.com/Forums/azure/zh-CN/607d4bf9-d677-427a-b43d-c173797fd318/how-to-set-the-number-of-hidden-layers-for -neural-network?forum =机器学习

https://social.msdn.microsoft.com/Forums/azure/en-US/607d4bf9-d677-427a-b43d-c173797fd318/how-to-set-the-number-of-hidden-layers-for-neural-network?forum=MachineLearning


这篇关于如何放置2个隐藏层?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆