Spec-Zone.ru › TensorFlow C++ 2.4

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

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

Spec-Zone.ru

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