সেন্সরফ্লো :: অপস :: আরগমিন
#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) |
স্ট্রাক্টস | |
---|---|
টেনসরফ্লো :: অপস :: আরগমিন :: অ্যাটারস | আরগমিনের জন্য ptionচ্ছিক অ্যাট্রিবিউট সেটটার । |
জনসাধারণের গুণাবলী
অপারেশন
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
অপারেটর :: টেনসরফ্লো :: ইনপুট
operator::tensorflow::Input() const
অপারেটর :: টেনসরফ্লো :: আউটপুট
operator::tensorflow::Output() const
পাবলিক স্ট্যাটিক ফাংশন
আউটপুট টাইপ
Attrs OutputType( DataType x )