triton.language.floor

triton.language.floor(x, _semantic=None)

Computes the element-wise floor of x.

Parameters:

x (Block) – the input values

This function can also be called as a member function on tensor, as x.floor() instead of floor(x).