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

Method exponential

samples/python/yolov3_onnx/data_processing.py:228–230  ·  view source on GitHub ↗

Return the exponential of the input.

(value)

Source from the content-addressed store, hash-verified

226 return 1.0 / (1.0 + math.exp(-value))
227
228 def exponential(value):
229 """Return the exponential of the input."""
230 return math.exp(value)
231
232 # Vectorized calculation of above two functions:
233 sigmoid_v = np.vectorize(sigmoid)

Callers

nothing calls this directly

Calls 1

expMethod · 0.45

Tested by

no test coverage detected