Round down (floor ⌊x⌋) or round up (ceiling ⌈x⌉) to a whole number.
In ML papers
⌊x⌋ is the floor: the largest whole number not above x. ⌈x⌉ is the ceiling: the smallest whole number not below x. The bars only at the bottom mean "down"; the bars only at the top mean "up".
They appear when a count must be whole: the output size of a convolution, the number of batches in an epoch, the index of the middle element, the number of tokens kept by a top-p or top-k rule.
How to type it
LaTeX
Shows
\lfloor x \rfloorfloor
⌊x⌋
\lceil x \rceilceiling
⌈x⌉
A worked example
⌊232+2⋅1−3⌋+1=⌊15.5⌋+1=16
A 3×3 convolution with padding 1 and stride 2 turns a 32-pixel side into 16. And ⌈1000/64⌉=16 batches cover 1000 examples.
Common confusions
For negative numbers, floor goes away from zero: ⌊−1.5⌋=−2.
Plain square brackets [x] are not floor; they may be an Iverson bracket (Iverson bracket) or just grouping.