tensorflow::ops::SparseTensorDenseAdd
#include <sparse_ops.h>
Складывает разреженный SparseTensor и плотный Tensor, получая плотный Tensor.
Краткое описание
Этот оператор не требует, чтобы a_indices были отсортированы в стандартном лексикографическом порядке.
Аргументы:
- scope: Объект Scope
- a_indices: 2-мерный. Индексы
indicesразреженногоSparseTensor, с формой[nnz, ndims]. - a_values: 1-мерный. Значения
valuesразреженногоSparseTensor, с формой[nnz]. - a_shape: 1-мерный. Форма
shapeразреженногоSparseTensor, с формой[ndims]. - b:
ndims-мерный 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
© 2020 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/versions/r2.4/api_docs/cc/class/tensorflow/ops/sparse-tensor-dense-add