nki.language.ceil — AWS Neuron Documentation (original) (raw)

This document is relevant for: Inf2, Trn1, Trn2

nki.language.ceil#

nki.language.ceil(x, *, dtype=None, mask=None, **kwargs)[source]#

Ceiling of the input, element-wise.

((Similar to numpy.ceil))

The ceil of the scalar x is the smallest integer i, such that i >= x.

Parameters:

Returns:

a tile that has ceiling values of x.

This document is relevant for: Inf2, Trn1, Trn2