テンソルフロー::作戦::平均
#include <math_ops.h>テンソルの次元全体の要素の平均を計算します。
まとめ
axisで指定された次元に沿ってinput削減します。 keep_dimsが true でない限り、テンソルのランクはaxisのエントリごとに 1 ずつ減ります。 keep_dimsが true の場合、縮小された次元は長さ 1 で保持されます。
引数:
- スコープ:スコープオブジェクト
- input: 削減するテンソル。
-  axis: 縮小する寸法。 [-rank(input), rank(input))の範囲内である必要があります。
オプションの属性 ( Attrsを参照):
- keep_dims: true の場合、長さ 1 の縮小された次元を保持します。
戻り値:
-  Output: 縮小されたテンソル。
別名:
- リデュース平均
| コンストラクターとデストラクター | |
|---|---|
| Mean (const :: tensorflow::Scope & scope, :: tensorflow::Input input, :: tensorflow::Input axis) | |
| Mean (const :: tensorflow::Scope & scope, :: tensorflow::Input input, :: tensorflow::Input axis, const Mean::Attrs & attrs) | 
| パブリック属性 | |
|---|---|
| operation | |
| output | |
| 公共機能 | |
|---|---|
| node () const | ::tensorflow::Node * | 
| operator::tensorflow::Input () const | |
| operator::tensorflow::Output () const | |
| パブリック静的関数 | |
|---|---|
| KeepDims (bool x) | |
| 構造体 | |
|---|---|
| tensorflow:: ops:: Mean:: Attrs | Meanのオプションの属性セッター。 | 
パブリック属性
手術
Operation operation
出力
::tensorflow::Output output
公共機能
平均
Mean( const ::tensorflow::Scope & scope, ::tensorflow::Input input, ::tensorflow::Input axis )
平均
Mean( const ::tensorflow::Scope & scope, ::tensorflow::Input input, ::tensorflow::Input axis, const Mean::Attrs & attrs )
ノード
::tensorflow::Node * node() const
演算子::tensorflow::入力
operator::tensorflow::Input() const
演算子::tensorflow::出力
operator::tensorflow::Output() const
パブリック静的関数
KeepDims
Attrs KeepDims( bool x )