সেন্সরফ্লো :: অপস :: স্পার্সটেনসরডেন্স অ্যাড

#include <sparse_ops.h>

একটি SparseTensor এবং একটি ঘন Tensor , একটি ঘন Tensor

সারসংক্ষেপ

এই a_indices জন্য a_indices স্ট্যান্ডার্ড a_indices ক্রম অনুসারে বাছাই করা দরকার হয় না।

যুক্তি:

  • সুযোগ: একটি স্কোপ অবজেক্ট
  • a_indices: 2-D। আকার [nnz, ndims] সহ SparseTensor indices
  • a_values: 1-D। আকার [nnz] সহ SparseTensor values
  • a_shape: 1-D। shape এর SparseTensor , আকৃতি সঙ্গে [ndims]
  • বি: ndims -D টেনসর । আকৃতি দিয়ে a_shape

রিটার্নস:

  • Output : আউটপুট টেনসর।

নির্মাণকারী এবং ধ্বংসকারী

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

জনসাধারণের গুণাবলী

operation
output

পাবলিক ফাংশন

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

জনসাধারণের গুণাবলী

অপারেশন

Operation operation

আউটপুট

::tensorflow::Output output

পাবলিক ফাংশন

স্পার্সটেনসরডেন্স অ্যাড

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

নোড

::tensorflow::Node * node() const 

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

 operator::tensorflow::Input() const 

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

 operator::tensorflow::Output() const