টেনসরফ্লো :: অপস:: খালি

#include <array_ops.h>

প্রদত্ত আকৃতি দিয়ে একটি টেনসর তৈরি করে।

সারসংক্ষেপ

এই অপারেশন shape এবং dtype একটি টেনসর তৈরি করে।

যুক্তি:

  • স্কোপ: একটি স্কোপ অবজেক্ট
  • আকৃতি: 1-ডি। আউটপুট টেনসরের আকৃতির প্রতিনিধিত্ব করে।

ঐচ্ছিক বৈশিষ্ট্য (দেখুন Attrs ):

  • init: True হলে, dtype-এর ডিফল্ট মান দিয়ে রিটার্ন করা টেনসর আরম্ভ করুন। অন্যথায়, টেনসরের বিষয়বস্তু শুরু না করার জন্য বাস্তবায়ন বিনামূল্যে।

রিটার্ন:

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

Empty (const :: tensorflow::Scope & scope, :: tensorflow::Input shape, DataType dtype)
Empty (const :: tensorflow::Scope & scope, :: tensorflow::Input shape, DataType dtype, const Empty::Attrs & attrs)

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

operation
output

পাবলিক ফাংশন

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

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

Init (bool x)

কাঠামো

tensorflow:: ops:: খালি:: Attrs

খালির জন্য ঐচ্ছিক বৈশিষ্ট্য নির্ধারণকারী।

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

অপারেশন

Operation operation

আউটপুট

::tensorflow::Output output

পাবলিক ফাংশন

খালি

 Empty(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input shape,
  DataType dtype
)

খালি

 Empty(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input shape,
  DataType dtype,
  const Empty::Attrs & attrs
)

নোড

::tensorflow::Node * node() const 

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

 operator::tensorflow::Input() const 

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

 operator::tensorflow::Output() const 

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

এটা

Attrs Init(
  bool x
)