MCPcopy Create free account
hub / github.com/NVIDIA/TensorRT / floor

Method floor

samples/common/half.h:2079–2082  ·  view source on GitHub ↗

Floor implementation. \param arg value to round \return rounded value

Source from the content-addressed store, hash-verified

2077 /// \param arg value to round
2078 /// \return rounded value
2079 static half floor(half arg)
2080 {
2081 return half(binary, round_half<std::round_toward_neg_infinity>(arg.data_));
2082 }
2083
2084 /// Ceiling implementation.
2085 /// \param arg value to round

Callers 2

set_log_axFunction · 0.45
draw_bboxesFunction · 0.45

Calls 1

halfClass · 0.70

Tested by

no test coverage detected