টেনসরফ্লো :: অপস:: জড়ো করা
#include <array_ops.h> indices অনুযায়ী params থেকে স্লাইস সংগ্রহ করুন ।
সারাংশ
 indices অবশ্যই যেকোনো মাত্রার একটি পূর্ণসংখ্যার টেনসর হতে হবে (সাধারণত 0-D বা 1-D)। আকার indices.shape + params.shape[1:] সহ একটি আউটপুট টেনসর তৈরি করে যেখানে: 
    # Scalar indices
    output[:, ..., :] = params[indices, :, ... :]# Vector indices output[i, :, ..., :] = params[indices[i], :, ... :]
    # Higher rank indices
    output[i, ..., j, :, ... :] = params[indices[i, ..., j], :, ..., :] যদি indices একটি পারমুটেশন হয় এবং len(indices) == params.shape[0] তাহলে এই অপারেশনটি সেই অনুযায়ী params পারমিউট করবে।
 validate_indices : বর্জন করা হয়েছে। যদি এই ক্রিয়াকলাপটি CPU-তে বরাদ্দ করা হয়, indices মানগুলি সর্বদা পরিসীমার মধ্যে থাকার জন্য যাচাই করা হয়। যদি GPU-কে বরাদ্দ করা হয়, তবে সীমার বাইরের সূচকগুলি নিরাপদ কিন্তু অনির্দিষ্ট আচরণের ফলে, যার মধ্যে একটি ত্রুটি উত্থাপন অন্তর্ভুক্ত থাকতে পারে। 

যুক্তি:
- স্কোপ: একটি স্কোপ অবজেক্ট
রিটার্ন:
-  Output: আউটপুট টেনসর।
| কনস্ট্রাক্টর এবং ডেস্ট্রাক্টর | |
|---|---|
| Gather (const :: tensorflow::Scope & scope, :: tensorflow::Input params, :: tensorflow::Input indices) | |
| Gather (const :: tensorflow::Scope & scope, :: tensorflow::Input params, :: tensorflow::Input indices, const Gather::Attrs & attrs) | 
| পাবলিক বৈশিষ্ট্য | |
|---|---|
| operation | |
| output | |
| পাবলিক ফাংশন | |
|---|---|
| node () const | ::tensorflow::Node * | 
| operator::tensorflow::Input () const | |
| operator::tensorflow::Output () const | |
| পাবলিক স্ট্যাটিক ফাংশন | |
|---|---|
| ValidateIndices (bool x) | |
| কাঠামো | |
|---|---|
| tensorflow:: ops:: Gather:: Attrs | সংগ্রহের জন্য ঐচ্ছিক বৈশিষ্ট্য নির্ধারণকারী। | 
পাবলিক বৈশিষ্ট্য
অপারেশন
Operation operation
আউটপুট
::tensorflow::Output output
পাবলিক ফাংশন
জড়ো করা
Gather( const ::tensorflow::Scope & scope, ::tensorflow::Input params, ::tensorflow::Input indices )
জড়ো করা
Gather( const ::tensorflow::Scope & scope, ::tensorflow::Input params, ::tensorflow::Input indices, const Gather::Attrs & attrs )
নোড
::tensorflow::Node * node() const
অপারেটর::টেনসরফ্লো::ইনপুট
operator::tensorflow::Input() const
অপারেটর::টেনসরফ্লো::আউটপুট
operator::tensorflow::Output() const
পাবলিক স্ট্যাটিক ফাংশন
সূচক যাচাই করুন
Attrs ValidateIndices( bool x )