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

Function round

samples/common/half.h:3525–3528  ·  view source on GitHub ↗

Nearest integer. \param arg half to round \return nearest integer, rounded away from zero in half-way cases template typename enable ::type round(T arg) { return functions::round(arg); }

Source from the content-addressed store, hash-verified

3523/// \return nearest integer, rounded away from zero in half-way cases
3524// template<typename T> typename enable<half,T>::type round(T arg) { return functions::round(arg); }
3525inline half round(half arg)
3526{
3527 return functions::round(arg);
3528}
3529inline half round(expr arg)
3530{
3531 return functions::round(arg);

Callers 7

writePPMFileWithBBoxFunction · 0.70
_compute_amax_entropyFunction · 0.50
visualize_detectionsFunction · 0.50
resize_padMethod · 0.50
resize_padMethod · 0.50
visualize_detectionsFunction · 0.50
mainFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected