問題タブ [bias-neuron]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
tensorflow - keras convnet 1dにはアクティベーション=なしでもバイアスがあります
私はkerasを使った畳み込みニューラルネットワークを持っています:
入力にはサイズがあります(8192,1)
モデルの概要を確認すると、レイヤーには次のプロパティ、出力形状、パラメーターがあります。
パラメータの計算方法は次のとおりです。
私はparamsを計算しました->(65 x 1 x 1 + 1) x 128
それは私に正確な8448を与えました.しかし、バイアスがその中にある理由がわかりませんか? 私はアクティベーション=なしです。
ここで私は読んだ:
が True の場合
use_bias
、バイアス ベクトルが作成され、出力に追加されます。最後に、 の場合activation is not None
、出力にも適用されます。
バイアスを true に、アクティベーションを none に設定していません。