Negative#

バージョン名: Negative-1

カテゴリー: 単項演算

簡単な説明: Negative は、指定された入力テンソルに対して要素ごとの活性化は負の操作を実行します。

詳細な説明

Negative は、次の数式に基づいて、指定された入力テンソルに対して要素ごとの negative 操作を実行します:

ai=ai

属性: Negative 操作には属性がありません。

入力

  • 1: タイプ T の任意の形状のテンソル。必須。

出力

  • 1: 入力テンソルに適用された要素ごとの Negative 操作の結果。T タイプのテンソルで、入力テンソルと同じ形状です。

タイプ

  • T: サポートされている符号付き数値型。

 <layer ... type="Negative"> 
    <input> 
        <port id="0"> 
            <dim>256</dim> 
            <dim>56</dim> 
        </port> 
    </input> 
    <output> 
        <port id="1"> 
            <dim>256</dim> 
            <dim>56</dim> 
        </port> 
    </output> 
</layer>