tensorflow::ops::SparseDenseCwiseDiv
#include <sparse_ops.h>
Покомпонентно делит SparseTensor на плотный Tensor.
Сводка
Ограничение: этот оператор поддерживает трансляцию плотной стороны к разреженной, но не наоборот.
Аргументы:
- scope: объект Scope
- sp_indices: двумерная матрица
N x Rс индексами непустых значений в SparseTensor; порядок индексов может не быть каноническим. - sp_values: одномерный массив
Nнепустых значений, соответствующихsp_indices. - sp_shape: одномерный массив. Форма входного SparseTensor.
- dense:
R-мерный плотный операнд Tensor.
Возвращает:
-
Output: одномерный массив. ЗначенияN, над которыми выполняются операции.
| Конструкторы и деструкторы | |
|---|---|
SparseDenseCwiseDiv(const ::tensorflow::Scope & scope, ::tensorflow::Input sp_indices, ::tensorflow::Input sp_values, ::tensorflow::Input sp_shape, ::tensorflow::Input dense) |
| Общедоступные атрибуты | |
|---|---|
operation | |
output | |
| Общедоступные функции | |
|---|---|
node() const | ::tensorflow::Node * |
operator::tensorflow::Input() const | |
operator::tensorflow::Output() const | |
Общедоступные атрибуты
operation
Operation operation
output
::tensorflow::Output output
Общедоступные функции
SparseDenseCwiseDiv
SparseDenseCwiseDiv( const ::tensorflow::Scope & scope, ::tensorflow::Input sp_indices, ::tensorflow::Input sp_values, ::tensorflow::Input sp_shape, ::tensorflow::Input dense )
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-dense-cwise-div