tensorflow::ops::SparseDenseCwiseDiv

#include <sparse_ops.h>

Component-wise divides a SparseTensor by a dense Tensor.

Summary

Limitation: this Op only broadcasts the dense side to the sparse side, but not the other direction.

Arguments:

  • scope: A Scope object
  • sp_indices: 2-D. N x R matrix with the indices of non-empty values in a SparseTensor, possibly not in canonical ordering.
  • sp_values: 1-D. N non-empty values corresponding to sp_indices.
  • sp_shape: 1-D. Shape of the input SparseTensor.
  • dense: R-D. The dense Tensor operand.

Returns:

  • Output: 1-D. The N values that are operated on.
Constructors and Destructors
SparseDenseCwiseDiv(const ::tensorflow::Scope & scope, ::tensorflow::Input sp_indices, ::tensorflow::Input sp_values, ::tensorflow::Input sp_shape, ::tensorflow::Input dense)
Public attributes
operation
output
Public functions
node() const
::tensorflow::Node *
operator::tensorflow::Input() const
operator::tensorflow::Output() const

Public attributes

operation

Operation operation

output

::tensorflow::Output output

Public functions

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 

© 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-dense-cwise-div