tensorflow :: ops ::すべて
#include <math_ops.h>
テンソルの次元全体で要素の「論理積」を計算します。
概要
axis
指定された寸法に沿ってinput
を減らしinput
。 keep_dims
がtrueでない限り、テンソルのランクは、 axis
エントリごとに1ずつ減少しaxis
。 keep_dims
がtrueの場合、縮小された次元は長さ1で保持されます。
引数:
- スコープ:スコープオブジェクト
- 入力:減らすテンソル。
- 軸:縮小する寸法。
[-rank(input), rank(input))
の範囲内である必要があります。
オプションの属性(参照Attrs
):
- keep_dims:trueの場合、長さ1の縮小された寸法を保持します。
戻り値:
-
Output
:縮小されたテンソル。
エイリアス:
- ReduceAll
コンストラクタとデストラクタ | |
---|---|
All (const :: tensorflow::Scope & scope, :: tensorflow::Input input, :: tensorflow::Input axis) | |
All (const :: tensorflow::Scope & scope, :: tensorflow::Input input, :: tensorflow::Input axis, const All::Attrs & attrs) |
パブリック属性 | |
---|---|
operation | |
output |
公の行事 | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
パブリック静的関数 | |
---|---|
KeepDims (bool x) |
構造体 | |
---|---|
tensorflow :: ops :: All :: Attrs | Allのオプションの属性セッター。 |
パブリック属性
操作
Operation operation
出力
::tensorflow::Output output
公の行事
すべて
All( const ::tensorflow::Scope & scope, ::tensorflow::Input input, ::tensorflow::Input axis )
すべて
All( const ::tensorflow::Scope & scope, ::tensorflow::Input input, ::tensorflow::Input axis, const All::Attrs & attrs )
ノード
::tensorflow::Node * node() const
operator :: tensorflow :: Input
operator::tensorflow::Input() const
operator :: tensorflow :: Output
operator::tensorflow::Output() const
パブリック静的関数
KeepDims
Attrs KeepDims( bool x )