テンソルフロー::作戦::ログソフトマックス
#include <nn_ops.h>ソフトマックスのアクティブ化のログを計算します。
まとめ
各バッチiとクラスjについて、次のようになります。
logsoftmax[i, j] = logits[i, j] - log(sum(exp(logits[i])))
引数:
- スコープ:スコープオブジェクト
- logits: 形状[batch_size, num_classes]の 2 次元。
戻り値:
-  Output:logitsと同じ形状。
| コンストラクターとデストラクター | |
|---|---|
| LogSoftmax (const :: tensorflow::Scope & scope, :: tensorflow::Input logits) | 
| パブリック属性 | |
|---|---|
| logsoftmax | |
| operation | |
| 公共機能 | |
|---|---|
| node () const | ::tensorflow::Node * | 
| operator::tensorflow::Input () const | |
| operator::tensorflow::Output () const | |
パブリック属性
ログソフトマックス
::tensorflow::Output logsoftmax
手術
Operation operation
公共機能
ログソフトマックス
LogSoftmax( const ::tensorflow::Scope & scope, ::tensorflow::Input logits )
ノード
::tensorflow::Node * node() const
演算子::tensorflow::入力
operator::tensorflow::Input() const
演算子::tensorflow::出力
operator::tensorflow::Output() const