unaryMinus

abstract operator fun Tensor<T>.unaryMinus(): Tensor<T>

Numerical negative, element-wise.

Return

tensor negation of the original tensor.

Sources

common source
Link copied to clipboard