Skip to content

Commit

Permalink
Update 5-2,模型层.ipynb
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangyu345293721 authored Aug 2, 2024
1 parent 676a73c commit ecfd87b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 5-2,模型层.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"\n",
"* nn.Linear:全连接层。参数个数 = 输入层特征数× 输出层特征数(weight)+ 输出层特征数(bias)\n",
"\n",
"* nn.Embedding:嵌入层一种比Onehot更加有效的对离散特征进行编码的方法。一般用于将输入中的单词映射为稠密向量。嵌入层的参数需要学习。\n",
"* nn.Embedding:嵌入层一种比Onehot更加有效的对离散特征进行编码的方法。一般用于将输入中的单词映射为稠密向量。嵌入层的参数需要学习。\n",
"\n",
"* nn.Flatten:压平层,用于将多维张量样本压成一维张量样本。\n",
"\n",
Expand All @@ -69,7 +69,7 @@
"\n",
"* nn.Dropout3d:三维随机丢弃层。\n",
"\n",
"* nn.Threshold:限幅层当输入大于或小于阈值范围时,截断之。\n",
"* nn.Threshold:限幅层当输入大于或小于阈值范围时,截断之。\n",
"\n",
"* nn.ConstantPad2d: 二维常数填充层。对二维张量样本填充常数扩展长度。\n",
"\n",
Expand Down

0 comments on commit ecfd87b

Please sign in to comment.