aboutsummaryrefslogtreecommitdiff
path: root/src/armnn
diff options
context:
space:
mode:
Diffstat (limited to 'src/armnn')
-rw-r--r--src/armnn/Layer.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/armnn/Layer.cpp b/src/armnn/Layer.cpp
index 2256e48c91..c8d5a1690d 100644
--- a/src/armnn/Layer.cpp
+++ b/src/armnn/Layer.cpp
@@ -445,8 +445,13 @@ void Layer::VerifyShapeInferenceType(const TensorShape& outputShape, ShapeInfere
void Layer::SerializeLayerParameters(ParameterStringifyFunction& fn) const
{
+ std::string guid = std::to_string(m_Guid);
std::string layerType = GetLayerTypeAsCString(m_Type);
std::string backendId = std::string(m_BackendId);
+ if (!(guid.compare("") == 0) && !guid.empty())
+ {
+ fn("Guid", guid);
+ }
if(!(m_LayerName.compare("") == 0) && !m_LayerName.empty())
{
fn("LayerName",m_LayerName);