Spec-Zone.ru › TensorFlow C++ 1.15

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

выход

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

© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r1.15/api_docs/cc/class/tensorflow/ops/sparse-tensor-dense-add

Spec-Zone.ru

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