テンソルフロー::作戦::引数最小値
#include <math_ops.h>テンソルの次元全体で最小値を持つインデックスを返します。
まとめ
同点の場合、戻り値の同一性は保証されないことに注意してください。
使用法:
import tensorflow as tf a = [1, 10, 26.9, 2.8, 166.32, 62.3] b = tf.math.argmin(input = a) c = tf.keras.backend.eval(b) # c = 0 # here a[0] = 1 which is the smallest element of a across axis 0
引数:
- スコープ:スコープオブジェクト
- ディメンション: int32 または int64、 [-rank(input), rank(input))の範囲内である必要があります。入力テンソルのどの次元を削減するかを記述します。ベクトルの場合は、次元 = 0 を使用します。
戻り値:
-  Output: 出力テンソル。
| コンストラクターとデストラクター | |
|---|---|
| ArgMin (const :: tensorflow::Scope & scope, :: tensorflow::Input input, :: tensorflow::Input dimension) | |
| ArgMin (const :: tensorflow::Scope & scope, :: tensorflow::Input input, :: tensorflow::Input dimension, const ArgMin::Attrs & attrs) | 
| パブリック属性 | |
|---|---|
| operation | |
| output | |
| 公共機能 | |
|---|---|
| node () const | ::tensorflow::Node * | 
| operator::tensorflow::Input () const | |
| operator::tensorflow::Output () const | |
| パブリック静的関数 | |
|---|---|
| OutputType (DataType x) | |
| 構造体 | |
|---|---|
| tensorflow:: ops:: ArgMin:: Attrs | ArgMinのオプションの属性セッター。 | 
パブリック属性
手術
Operation operation
出力
::tensorflow::Output output
公共機能
引数最小値
ArgMin( const ::tensorflow::Scope & scope, ::tensorflow::Input input, ::tensorflow::Input dimension )
引数最小値
ArgMin( const ::tensorflow::Scope & scope, ::tensorflow::Input input, ::tensorflow::Input dimension, const ArgMin::Attrs & attrs )
ノード
::tensorflow::Node * node() const
演算子::tensorflow::入力
operator::tensorflow::Input() const
演算子::tensorflow::出力
operator::tensorflow::Output() const
パブリック静的関数
出力タイプ
Attrs OutputType( DataType x )