MCPcopy Create free account
hub / github.com/ARM-software/armnn / Serialize

Method Serialize

src/armnn/SerializeLayerParameters.cpp:14–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12{
13
14void StringifyLayerParameters<ActivationDescriptor>::Serialize(ParameterStringifyFunction& fn,
15 const ActivationDescriptor& desc)
16{
17 fn("Function", GetActivationFunctionAsCString(desc.m_Function));
18 fn("A", std::to_string(desc.m_A));
19 fn("B", std::to_string(desc.m_B));
20}
21
22void StringifyLayerParameters<BatchNormalizationDescriptor>::Serialize(ParameterStringifyFunction& fn,
23 const BatchNormalizationDescriptor& desc)

Callers

nothing calls this directly

Tested by

no test coverage detected