টেনসরফ্লো :: অপস:: SparseTensorDenseMatMul

#include <sparse_ops.h>

SparseTensor (র্যাঙ্ক 2 এর) "A" কে ঘন ম্যাট্রিক্স "B" দ্বারা গুণ করুন

সারসংক্ষেপ

A-এর সূচকে কোনো বৈধতা পরীক্ষা করা হয় না। তবে, সর্বোত্তম আচরণের জন্য নিম্নলিখিত ইনপুট বিন্যাসটি সুপারিশ করা হয়:

if adjoint_a == false: A কে অভিধানিকভাবে ক্রমবর্ধমান ক্রমে সাজানো উচিত। আপনি নিশ্চিত না হলে SparseReorder ব্যবহার করুন। if adjoint_a == true: A কে ক্রমবর্ধমান মাত্রা 1 অনুসারে সাজানো উচিত (অর্থাৎ, "সারি প্রধান" ক্রমের পরিবর্তে "কলাম প্রধান" ক্রম)।

যুক্তি:

  • স্কোপ: একটি স্কোপ অবজেক্ট
  • a_সূচক: 2-D। SparseTensor এর indices , আকার [nnz, 2] ম্যাট্রিক্স।
  • a_values: 1-D. SparseTensor এর values , আকার [nnz] ভেক্টর।
  • a_shape: 1-D. SparseTensor এর shape , আকার [2] ভেক্টর।
  • b: 2-D. একটি ঘন ম্যাট্রিক্স।

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

  • adjoint_a: ম্যাট্রিক্স গুনতে A এর সংযোজন ব্যবহার করুন। যদি A জটিল হয় তবে এটি ট্রান্সপোজ(কঞ্জ(এ))। অন্যথায় এটি স্থানান্তর (এ)।
  • adjoint_b: ম্যাট্রিক্স গুনতে B এর adjoint ব্যবহার করুন। যদি B জটিল হয় তবে এটি ট্রান্সপোজ(কঞ্জ(বি))। অন্যথায় এটি স্থানান্তর (বি)।

রিটার্ন:

  • Output : পণ্য টেনসর।

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

SparseTensorDenseMatMul (const :: tensorflow::Scope & scope, :: tensorflow::Input a_indices, :: tensorflow::Input a_values, :: tensorflow::Input a_shape, :: tensorflow::Input b)
SparseTensorDenseMatMul (const :: tensorflow::Scope & scope, :: tensorflow::Input a_indices, :: tensorflow::Input a_values, :: tensorflow::Input a_shape, :: tensorflow::Input b, const SparseTensorDenseMatMul::Attrs & attrs)

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

operation
product

পাবলিক ফাংশন

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

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

AdjointA (bool x)
AdjointB (bool x)

কাঠামো

tensorflow:: ops:: SparseTensorDenseMatMul:: Attrs

SparseTensorDenseMatMul- এর জন্য ঐচ্ছিক অ্যাট্রিবিউট সেটার।

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

অপারেশন

Operation operation

পণ্য

::tensorflow::Output product

পাবলিক ফাংশন

SparseTensorDenseMatMul

 SparseTensorDenseMatMul(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input a_indices,
  ::tensorflow::Input a_values,
  ::tensorflow::Input a_shape,
  ::tensorflow::Input b
)

SparseTensorDenseMatMul

 SparseTensorDenseMatMul(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input a_indices,
  ::tensorflow::Input a_values,
  ::tensorflow::Input a_shape,
  ::tensorflow::Input b,
  const SparseTensorDenseMatMul::Attrs & attrs
)

নোড

::tensorflow::Node * node() const 

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

 operator::tensorflow::Input() const 

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

 operator::tensorflow::Output() const 

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

সংলগ্নA

Attrs AdjointA(
  bool x
)

সংযোজনবি

Attrs AdjointB(
  bool x
)