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

Method serialize

plugin/reorgPlugin/reorgPlugin.cpp:78–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76}
77
78void Reorg::serialize(void* buffer) const noexcept
79{
80 char *d = reinterpret_cast<char*>(buffer), *a = d;
81 write(d, C);
82 write(d, H);
83 write(d, W);
84 write(d, stride);
85 PLUGIN_ASSERT(d == a + getSerializationSize());
86}
87
88bool Reorg::supportsFormat(DataType type, PluginFormat format) const noexcept
89{

Callers

nothing calls this directly

Calls 1

writeFunction · 0.85

Tested by

no test coverage detected