MCPcopy Create free account
hub / github.com/ARM-software/ComputeLibrary / add_const_node

Method add_const_node

src/graph/GraphBuilder.cpp:114–121  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

112} // namespace
113
114NodeID
115GraphBuilder::add_const_node(Graph &g, NodeParams params, const TensorDescriptor &desc, ITensorAccessorUPtr accessor)
116{
117 auto nid = g.add_node<ConstNode>(desc);
118 set_node_params(g, nid, params);
119 set_accessor_on_node(g, nid, true, 0, std::move(accessor));
120 return nid;
121}
122
123NodeID
124GraphBuilder::add_input_node(Graph &g, NodeParams params, const TensorDescriptor &desc, ITensorAccessorUPtr accessor)

Callers

nothing calls this directly

Calls 2

set_node_paramsFunction · 0.85
set_accessor_on_nodeFunction · 0.85

Tested by

no test coverage detected