tensorflow::ops::SparseDenseCwiseDiv

#include <sparse_ops.h>

การหารแบบทีละส่วนประกอบจะหารเทนเซอร์แบบเบาบางด้วย เทนเซอร์ แบบหนาแน่น

สรุป

ข้อจำกัด : ฟังก์ชันนี้จะกระจายสัญญาณจากด้านที่มีความหนาแน่นสูงไปยังด้านที่มีความหนาแน่นต่ำเท่านั้น แต่จะไม่กระจายสัญญาณในทิศทางตรงกันข้าม

ข้อโต้แย้ง:

  • ขอบเขต: วัตถุ ขอบเขต
  • sp_indices: เมทริกซ์ 2 มิติ ขนาด N x R ที่มีดัชนีของค่าที่ไม่ว่างเปล่าใน SparseTensor ซึ่งอาจไม่ได้เรียงลำดับตามแบบแผน
  • sp_values: 1 มิติ. ค่าที่ไม่ว่างเปล่าจำนวน N ค่าที่สอดคล้องกับ sp_indices
  • sp_shape: รูปทรง 1 มิติของ SparseTensor ที่ป้อนเข้ามา
  • หนาแน่น: R -D ตัวดำเนินการ เทนเซอร์ แบบหนาแน่น

การส่งคืนสินค้า:

  • Output : 1 มิติ ค่า N ที่ถูกนำมาประมวลผล

ตัวสร้างและตัวทำลาย

SparseDenseCwiseDiv (const :: tensorflow::Scope & scope, :: tensorflow::Input sp_indices, :: tensorflow::Input sp_values, :: tensorflow::Input sp_shape, :: tensorflow::Input dense)

คุณลักษณะสาธารณะ

operation
output

หน้าที่สาธารณะ

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

คุณลักษณะสาธารณะ

การดำเนินการ

Operation operation

เอาต์พุต

::tensorflow::Output output

หน้าที่สาธารณะ

SparseDenseCwiseDiv

 SparseDenseCwiseDiv(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input sp_indices,
  ::tensorflow::Input sp_values,
  ::tensorflow::Input sp_shape,
  ::tensorflow::Input dense
)

โหนด

::tensorflow::Node * node() const 

ตัวดำเนินการ::เทนเซอร์โฟลว์::อินพุต

 operator::tensorflow::Input() const 

ตัวดำเนินการ::เทนเซอร์โฟลว์::เอาต์พุต

 operator::tensorflow::Output() const