MCPcopy Create free account
hub / github.com/ROCm/AMDMIGraphX / get_attributes

Function get_attributes

src/tf/tf_parser.cpp:186–195  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

184}
185
186static tf_parser::attribute_map get_attributes(const tensorflow::NodeDef& node)
187{
188 tf_parser::attribute_map result;
189 for(auto&& attr : node.attr())
190 {
191 result[attr.first] = attr.second;
192 }
193
194 return result;
195}
196
197static std::vector<size_t> parse_dims(const tensorflow::TensorShapeProto& s)
198{

Callers 2

parse_graphMethod · 0.70
parse_nodeMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected