dòng chảy :: hoạt động :: Mảnh ghép thưa thớtMeanGrad
#include <math_ops.h>
Tính toán gradient cho SparseSegmentMean .
Tóm lược
Trả về "đầu ra" tensor có cùng hình dạng với grad, ngoại trừ chiều 0 có giá trị là output_dim0.
Tranh luận:
- phạm vi: Một đối tượng Phạm vi
- grad: gradient được truyền tới op SparseSegmentMean .
- indices: các chỉ số được chuyển đến op SparseSegmentMean tương ứng.
- segment_ids: segment_ids được chuyển đến op SparseSegmentMean tương ứng.
- output_dim0: thứ nguyên 0 của "dữ liệu" được chuyển tới SparseSegmentMean op.
Lợi nhuận:
-
Output
: Bộ căng đầu ra.
Người xây dựng và Người phá hủy | |
---|---|
SparseSegmentMeanGrad (const :: tensorflow::Scope & scope, :: tensorflow::Input grad, :: tensorflow::Input indices, :: tensorflow::Input segment_ids, :: tensorflow::Input output_dim0) |
Thuộc tính công khai | |
---|---|
operation | |
output |
Chức năng công cộng | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
Thuộc tính công khai
hoạt động
Operation operation
đầu ra
::tensorflow::Output output
Chức năng công cộng
Mảng thưa thớtMeanGrad
SparseSegmentMeanGrad( const ::tensorflow::Scope & scope, ::tensorflow::Input grad, ::tensorflow::Input indices, ::tensorflow::Input segment_ids, ::tensorflow::Input output_dim0 )
nút
::tensorflow::Node * node() const
toán tử :: tensorflow :: Đầu vào
operator::tensorflow::Input() const
toán tử :: tensorflow :: Đầu ra
operator::tensorflow::Output() const