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

Function ReadOptionalNodeStringAttribute

src/armnnOnnxParser/OnnxParser.cpp:284–293  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

282}
283
284std::string ReadOptionalNodeStringAttribute(const onnx::NodeProto& node, const std::string& name)
285{
286 std::string attribValue = "";
287 ReadOptionalNodeAttributeImpl(node, name, onnx::AttributeProto::STRING,
288 [&attribValue](const onnx::AttributeProto& attrValue)
289 {
290 attribValue = attrValue.s();
291 });
292 return attribValue;
293}
294
295armnn::TensorInfo ToTensorInfo(const std::string& name, std::vector<unsigned int>& shape, int data_type)
296{

Callers 2

AddPoolingLayerMethod · 0.85
ParseConvMethod · 0.85

Calls 1

Tested by

no test coverage detected