MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / FindNodeInfo

Function FindNodeInfo

tensorflow/core/kernels/hexagon/graph_transferer_test.cc:205–214  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

203}
204
205static const GraphTransferNodeInfo* FindNodeInfo(const GraphTransferer& gt,
206 const string& name) {
207 for (const GraphTransferNodeInfo& params :
208 gt.GetGraphTransferInfo().node_info()) {
209 if (params.name() == name) {
210 return &params;
211 }
212 }
213 return nullptr;
214}
215
216static const GraphTransferNodeInputInfo* FindNodeInputInfo(
217 const GraphTransferer& gt, const int node_id) {

Callers 2

SetupGraphMethod · 0.85
TEST_FFunction · 0.85

Calls 2

node_infoMethod · 0.80
nameMethod · 0.65

Tested by

no test coverage detected