function sparseCategoricalAccuracy$1(yTrue, yPred) {
	  return sparseCategoricalAccuracy(yTrue, yPred);
	}
Sparse categorical accuracy metric function.

Example:
```js

const yTrue = tf.tensor1d([1, 1, 2, 2, 0]);
const yPred = tf.tensor2d(
     [[0, 1, 0], [1, 0, 0], [0, 0.4, 0.6], [0, 0.6, 0.4], [0.7, 0.3, 0]]);
const crossentropy = tf.metrics.sparseCategoricalAccuracy(yTrue, yPred);
crossentropy.print();
```

@param yTrue True labels: indices.
@param yPred Predicted probabilities or logits.
@returns Accuracy tensor.

@doc {heading: 'Metrics', namespace: 'metrics'}