tensorflow :: অপস:: অপরিবর্তনীয় কনস্ট

#include <array_ops.h>

মেমরি অঞ্চল থেকে অপরিবর্তনীয় টেনসর প্রদান করে।

সারসংক্ষেপ

বর্তমান বাস্তবায়ন একটি ফাইল থেকে টেনসরকে মেমম্যাপ করে।

যুক্তি:

  • স্কোপ: একটি স্কোপ অবজেক্ট
  • dtype: প্রত্যাবর্তিত টেনসরের প্রকার।
  • আকৃতি: ফিরে আসা টেনসরের আকৃতি।
  • memory_region_name: টেনসর দ্বারা ব্যবহৃত শুধুমাত্র পঠনযোগ্য মেমরি অঞ্চলের নাম, tensorflow::Env-এ NewReadOnlyMemoryRegionFromFile দেখুন।

রিটার্ন:

  • Output : টেনসর টেনসর।

কনস্ট্রাক্টর এবং ডেস্ট্রাক্টর

ImmutableConst (const :: tensorflow::Scope & scope, DataType dtype, PartialTensorShape shape, StringPiece memory_region_name)

পাবলিক বৈশিষ্ট্য

operation
tensor

পাবলিক ফাংশন

node () const
::tensorflow::Node *
operator::tensorflow::Input () const
operator::tensorflow::Output () const

পাবলিক বৈশিষ্ট্য

অপারেশন

Operation operation

টেনসর

::tensorflow::Output tensor

পাবলিক ফাংশন

অপরিবর্তনীয় কনস্ট

 ImmutableConst(
  const ::tensorflow::Scope & scope,
  DataType dtype,
  PartialTensorShape shape,
  StringPiece memory_region_name
)

নোড

::tensorflow::Node * node() const 

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

 operator::tensorflow::Input() const 

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

 operator::tensorflow::Output() const