tensorflow::ops::SparseTensorDenseAdd
#include <sparse_ops.h>
Складывает SparseTensor и плотный Tensor, создавая плотный Tensor.
Краткое описание
Этому Op не требуется, чтобы a_indices были отсортированы в стандартном лексикографическом порядке.
Аргументы:
- scope: объект Scope
- a_indices: 2-D.
indicesизSparseTensor, с формой[nnz, ndims]. - a_values: 1-D.
valuesизSparseTensor, с формой[nnz]. - a_shape: 1-D.
shapeизSparseTensor, с формой[ndims]. - b:
ndims-D Tensor. С формой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 operation
output
::tensorflow::Output output
Открытые функции
SparseTensorDenseAdd
SparseTensorDenseAdd( const ::tensorflow::Scope & scope, ::tensorflow::Input a_indices, ::tensorflow::Input a_values, ::tensorflow::Input a_shape, ::tensorflow::Input b )
node
::tensorflow::Node * node() const
operator::tensorflow::Input
operator::tensorflow::Input() const
operator::tensorflow::Output
operator::tensorflow::Output() const
© 2022 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 4.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/api_docs/cc/class/tensorflow/ops/sparse-tensor-dense-add