Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NVIDIA/TensorRT
/ fill
Method
fill
samples/common/sampleInference.cpp:1285–1288 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1283
}
1284
1285
void Binding::fill(std::string const& fileName)
1286
{
1287
loadFromFile(fileName, static_cast<char*>(buffer->getHostBuffer()), buffer->getSize());
1288
}
1289
1290
void Binding::fill()
1291
{
Callers
1
_compute_amax_entropy
Function · 0.45
Calls
3
loadFromFile
Function · 0.85
getHostBuffer
Method · 0.45
getSize
Method · 0.45
Tested by
no test coverage detected