tensorflow:: ops:: Prod
#include <math_ops.h>テンソルの各次元における要素の積を計算します。
まとめ
axisで指定された次元に沿ってinput削減します。keep_dims keep_dims trueでない限り、 axisの各エントリごとにテンソルのランクが1減少します。keep_dims keep_dims trueの場合、削減された次元は長さ1で保持されます。
議論:
- スコープ:スコープオブジェクト
- 入力:縮約するテンソル。
- axis: 削減する次元。範囲は
[-rank(input), rank(input))である必要があります。
オプション属性( Attrs参照):
- keep_dims: trueの場合、長さ1の縮小された次元を保持します。
返品:
-
Output:縮小テンソル。
別名:
- 生産量を削減する
コンストラクターとデストラクタ | |
|---|---|
Prod (const :: tensorflow::Scope & scope, :: tensorflow::Input input, :: tensorflow::Input axis) | |
Prod (const :: tensorflow::Scope & scope, :: tensorflow::Input input, :: tensorflow::Input axis, const Prod::Attrs & attrs) |
公開属性 | |
|---|---|
operation | |
output | |
公的機能 | |
|---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const | |
パブリック静的関数 | |
|---|---|
KeepDims (bool x) | |
構造 | |
|---|---|
| tensorflow:: ops:: Prod:: Attrs | Prodのオプション属性セッター。 |
公開属性
手術
Operation operation
出力
::tensorflow::Output output
公的機能
プロ
Prod( const ::tensorflow::Scope & scope, ::tensorflow::Input input, ::tensorflow::Input axis )
プロ
Prod( const ::tensorflow::Scope & scope, ::tensorflow::Input input, ::tensorflow::Input axis, const Prod::Attrs & attrs )
ノード
::tensorflow::Node * node() const
operator::tensorflow::Input
operator::tensorflow::Input() const
operator::tensorflow::Output
operator::tensorflow::Output() const
パブリック静的関数
キープディムズ
Attrs KeepDims( bool x )