MCPcopy 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
1285void Binding::fill(std::string const& fileName)
1286{
1287 loadFromFile(fileName, static_cast<char*>(buffer->getHostBuffer()), buffer->getSize());
1288}
1289
1290void Binding::fill()
1291{

Callers 1

_compute_amax_entropyFunction · 0.45

Calls 3

loadFromFileFunction · 0.85
getHostBufferMethod · 0.45
getSizeMethod · 0.45

Tested by

no test coverage detected