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

Method round

samples/common/half.h:2103–2106  ·  view source on GitHub ↗

Nearest integer implementation. \param arg value to round \return rounded value

Source from the content-addressed store, hash-verified

2101 /// \param arg value to round
2102 /// \return rounded value
2103 static half round(half arg)
2104 {
2105 return half(binary, round_half_up(arg.data_));
2106 }
2107
2108 /// Nearest integer implementation.
2109 /// \param arg value to round

Callers 6

quant_npFunction · 0.45
forwardMethod · 0.45
set_timestepsMethod · 0.45
set_timestepsMethod · 0.45
set_timestepsMethod · 0.45
save_imageFunction · 0.45

Calls 2

halfClass · 0.70
round_half_upFunction · 0.70

Tested by

no test coverage detected