asc.language.tile.unary_ops.negative

asc.language.tile.unary_ops.negative(input: Tile) Tile

Computes the element-wise negation of input.

Parameters:

input – the input value (tile)

This function can also be called as a member function on Tile, as x.__neg__(...) instead of negative(x, ...).