ndarray
autograd
loss
mxnet.ndarray.
negative
Numerical negative of the argument, element-wise.
The storage type of negative output depends upon the input storage type:
negative(default) = default negative(row_sparse) = row_sparse negative(csr) = csr
negative(default) = default
negative(row_sparse) = row_sparse
negative(csr) = csr
data (NDArray) – The input array.
out (NDArray, optional) – The output NDArray to hold the result.
out – The output of this function.
NDArray or list of NDArrays