Link Search Menu Expand Document

SparseSegmentSqrtNGrad


tensorflow C++ API

tensorflow::ops::SparseSegmentSqrtNGrad

Computes gradients for SparseSegmentSqrtN.


Summary

Returns tensor “output” with same shape as grad, except for dimension 0 whose value is output_dim0.

Arguments:

Returns:

Constructor

  • SparseSegmentSqrtNGrad(const ::tensorflow::Scope & scope, ::tensorflow::Input grad, ::tensorflow::Input indices, ::tensorflow::Input segment_ids, ::tensorflow::Input output_dim0)

Public attributes

  • tensorflow::Output output

SparseSegmentSqrtNGrad block

Source link : https://github.com/EXPNUNI/enuSpaceTensorflow/blob/master/enuSpaceTensorflow/tf_math.cpp

Argument:

  • Scope scope : A Scope object(A scope is generated automatically each page. A scope is not connected.).
  • Input data : connect Input node.
  • Input indices : connect Input node.
  • Input segment_ids : connect Input node.
  • Input output_dim0 : connect Input node.

Return:

  • Output product : Output object of SparseSegmentSqrtNGrad class object.

Result:

  • std::vector(Tensor) product_result : Returned object of executed result by calling session.

Using Method