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

Method serialize

plugin/coordConvACPlugin/coordConvACPlugin.cpp:107–118  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

105}
106
107void CoordConvACPlugin::serialize(void* buffer) const noexcept
108{
109 char *d = reinterpret_cast<char*>(buffer), *a = d;
110 write(d, iType);
111 write(d, iC);
112 write(d, iH);
113 write(d, iW);
114 write(d, oC);
115 write(d, oH);
116 write(d, oW);
117 PLUGIN_ASSERT(d == a + getSerializationSize());
118}
119
120void CoordConvACPlugin::configurePlugin(Dims const* inputDims, int32_t nbInputs, Dims const* outputDims,
121 int32_t nbOutputs, DataType const* inputTypes, DataType const* outputTypes, bool const* inputIsBroadcast,

Callers

nothing calls this directly

Calls 1

writeFunction · 0.85

Tested by

no test coverage detected