# tf.raw_ops.SparseMatrixSoftmaxGrad

<br />

Calculates the gradient of the SparseMatrixSoftmax op.

#### View aliases


**Compat aliases for migration**

See
[Migration guide](https://www.tensorflow.org/guide/migrate) for
more details.

[`tf.compat.v1.raw_ops.SparseMatrixSoftmaxGrad`](https://www.tensorflow.org/api_docs/python/tf/raw_ops/SparseMatrixSoftmaxGrad)

<br />

    tf.raw_ops.SparseMatrixSoftmaxGrad(
        softmax, grad_softmax, type, name=None
    )

<br />

<br />

<br />

| ## Args ||
|---|---|
| `softmax` | A `Tensor` of type `variant`. A CSRSparseMatrix. |
| `grad_softmax` | A `Tensor` of type `variant`. The gradient of `softmax`. |
| `type` | A [`tf.DType`](https://www.tensorflow.org/api_docs/python/tf/dtypes/DType) from: `tf.float32, tf.float64`. |
| `name` | A name for the operation (optional). |

<br />

<br />

<br />

<br />

| ## Returns ||
|---|---|
| A `Tensor` of type `variant`. ||

<br />