tensorflow:: ops:: ArgMin

#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 

অপারেটর::টেনসরফ্লো::ইনপুট

 operator::tensorflow::Input() const 

অপারেটর::টেনসরফ্লো::আউটপুট

 operator::tensorflow::Output() const 

পাবলিক স্ট্যাটিক ফাংশন

আউটপুট টাইপ

Attrs OutputType(
  DataType x
)