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

Method deserializeToDevice

plugin/normalizePlugin/normalizePlugin.cpp:176–181  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

174}
175
176Weights Normalize::deserializeToDevice(char const*& hostBuffer, size_t count)
177{
178 Weights w = copyToDevice(hostBuffer, count);
179 hostBuffer += count * sizeof(float);
180 return w;
181}
182
183// Set plugin namespace
184void Normalize::setPluginNamespace(char const* pluginNamespace) noexcept

Callers

nothing calls this directly

Calls 1

copyToDeviceFunction · 0.85

Tested by

no test coverage detected