Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NVIDIA/TensorRT
/ compute_max
Function
compute_max
tools/Polygraphy/polygraphy/comparator/util.py:61–62 ·
view source on GitHub ↗
(buffer)
Source
from the content-addressed store, hash-verified
59
60
@use_higher_precision
61
def
compute_max(buffer):
62
return
np.amax(buffer)
63
64
65
# Returns index of max value
Callers
2
str_histogram
Function · 0.85
str_output_stats
Function · 0.85
Calls
1
amax
Method · 0.45
Tested by
no test coverage detected