aboutsummaryrefslogtreecommitdiff
path: root/src/armnn/Graph.cpp
diff options
context:
space:
mode:
authorsurmeh01 <surabhi.mehta@arm.com>2018-05-18 16:31:43 +0100
committertelsoa01 <telmo.soares@arm.com>2018-05-23 13:09:07 +0100
commit3537c2ca7ebf31c1673b9ec2bb0c17b0406bbae0 (patch)
tree5950603ad78ec3fe56fb31ddc7f4d52a19f5bc60 /src/armnn/Graph.cpp
parentbceff2fb3fc68bb0aa88b886900c34b77340c826 (diff)
downloadarmnn-3537c2ca7ebf31c1673b9ec2bb0c17b0406bbae0.tar.gz
Release 18.05
Diffstat (limited to 'src/armnn/Graph.cpp')
-rw-r--r--src/armnn/Graph.cpp17
1 files changed, 2 insertions, 15 deletions
diff --git a/src/armnn/Graph.cpp b/src/armnn/Graph.cpp
index af3b17ea8b..87bdc2962f 100644
--- a/src/armnn/Graph.cpp
+++ b/src/armnn/Graph.cpp
@@ -3,7 +3,7 @@
// See LICENSE file in the project root for full license information.
//
#include "Graph.hpp"
-#include "Layers.hpp"
+#include "LayersFwd.hpp"
#include <armnn/Utils.hpp>
#include <armnn/TypesUtils.hpp>
@@ -121,20 +121,7 @@ Status Graph::SerializeToDot(std::ostream& stream)
{
// Construct the label attribute with HTML markup
std::stringstream ss;
- {
- ss << "< [";
- const TensorShape& shape = outputSlot->GetTensorInfo().GetShape();
- for (unsigned int i = 0; i < shape.GetNumDimensions(); i++)
- {
- if (i != 0)
- {
- ss << ",";
- }
- ss << shape[i];
- }
- ss << "] >";
- }
-
+ ss << "< " << outputSlot->GetTensorInfo().GetShape() << " >";
edge.GetAttributeSet().AddAttribute("label", ss);
}
}