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

Function Concat

tensorflow/core/graph/testlib.cc:358–370  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

356}
357
358Node* Concat(Graph* g, Node* concat_dim, gtl::ArraySlice<Node*> tensors) {
359 std::vector<NodeBuilder::NodeOut> nodeouts;
360 nodeouts.reserve(tensors.size());
361 for (auto const t : tensors) {
362 nodeouts.emplace_back(t);
363 }
364 Node* ret;
365 TF_CHECK_OK(NodeBuilder(g->NewName("n"), "Concat")
366 .Input(concat_dim)
367 .Input(nodeouts)
368 .Finalize(g, &ret));
369 return ret;
370}
371
372Node* ConcatV2(Graph* g, gtl::ArraySlice<Node*> tensors, Node* concat_dim) {
373 std::vector<NodeBuilder::NodeOut> nodeouts;

Callers 15

ComputeSliceSizeFunction · 0.50
TEST_FFunction · 0.50
RunAndValidateMethod · 0.50
RunAndValidateMethod · 0.50
TEST_FFunction · 0.50
TEST_FFunction · 0.50
TEST_FFunction · 0.50
TEST_FFunction · 0.50
VectorizeMethod · 0.50
ExpandDimsForBroadcastFunction · 0.50
GetVectorizedShapeFunction · 0.50

Calls 7

NodeBuilderClass · 0.70
reserveMethod · 0.45
sizeMethod · 0.45
emplace_backMethod · 0.45
FinalizeMethod · 0.45
InputMethod · 0.45
NewNameMethod · 0.45

Tested by

no test coverage detected