Spec-Zone.ru › TensorFlow C++

tensorflow::ops::SparseTensorDenseAdd

#include <sparse_ops.h>

Складывает разреженный SparseTensor и плотный Tensor, получая плотный Tensor.

Краткое описание

Этот оператор не требует, чтобы a_indices были отсортированы в стандартном лексикографическом порядке.

Аргументы:

  • scope: Объект Scope
  • a_indices: 2-мерный. Индексы элементов SparseTensor, форма [nnz, ndims].
  • a_values: 1-мерный. Значения элементов SparseTensor, форма [nnz].
  • a_shape: 1-мерный. Форма 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
Operation
output
::tensorflow::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
)

узел

::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

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API