Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NVIDIA/TensorRT
/ encode
Function
encode
tools/Polygraphy/polygraphy/comparator/struct.py:66–69 ·
view source on GitHub ↗
(lazy_arr)
Source
from the content-addressed store, hash-verified
64
65
@Encoder.register(LazyNumpyArray)
66
def
encode(lazy_arr):
67
return
{
68
"values"
: lazy_arr.numpy(),
69
}
70
71
72
@Decoder.register(LazyNumpyArray)
Callers
nothing calls this directly
Calls
1
numpy
Method · 0.45
Tested by
no test coverage detected