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

Function AsNodeOutList

tensorflow/cc/ops/const_op.cc:72–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70}
71
72std::vector<NodeBuilder::NodeOut> AsNodeOutList(const Scope& scope,
73 const InputList& inp) {
74 std::vector<NodeBuilder::NodeOut> out;
75 for (const auto& i : inp) {
76 const auto node_out = AsNodeOut(scope, i);
77 if (!scope.ok()) {
78 return {};
79 }
80 out.push_back(node_out);
81 }
82 return out;
83}
84
85} // namespace ops
86} // namespace tensorflow

Callers 4

CreateConcatV1OpFunction · 0.85
BuildFusedGraphDefMethod · 0.85
ConcatGradHelperFunction · 0.85

Calls 3

AsNodeOutFunction · 0.85
okMethod · 0.45
push_backMethod · 0.45

Tested by 2

CreateConcatV1OpFunction · 0.68