function oneHot$1(indices, numClasses) {
	  return tidy(function () {
	    if (indices.rank !== 1) {
	      throw new Error('Only 1D one-hot tensors are supported in the ' + 'deeplearn backend, at present.');
	    }

	    indices = indices.toInt();
	    return oneHot(indices, numClasses).toFloat();
	  });
	}
Computes the one-hot representation of an integer tensor.
@param indices nD integer tensor of shape
  `(batch_size, dim1, dim2, ... dim(n-1))`
@param numClasses Integer, number of classes to consider.
@returns (n + 1)D one hot representation of the input
  with shape `(batch_size, dim1, dim2, ... dim(n-1), num_classes)`