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

Method log

samples/common/half.h:1800–1803  ·  view source on GitHub ↗

Logarithm implementation. \param arg function argument \return function value stored in single-preicision

Source from the content-addressed store, hash-verified

1798 /// \param arg function argument
1799 /// \return function value stored in single-preicision
1800 static expr log(float arg)
1801 {
1802 return expr(std::log(arg));
1803 }
1804
1805 /// Common logarithm implementation.
1806 /// \param arg function argument

Callers

nothing calls this directly

Calls 2

exprClass · 0.70
logFunction · 0.70

Tested by

no test coverage detected