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

Function Concat

tensorflow/lite/delegates/gpu/metal/kernels/concat.cc:349–359  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

347}
348
349std::vector<ComputeTaskDescriptorPtr> Concat(
350 int id, std::vector<ValueId> input_ids, ValueId output_id,
351 const ConcatAttributes& attr, const std::vector<BHWC>& input_shapes) {
352 if (attr.axis == Axis::CHANNELS) {
353 return ConcatZ(id, input_ids, output_id, attr, input_shapes);
354 } else if (attr.axis == Axis::WIDTH) {
355 return ConcatX(id, input_ids, output_id, attr, input_shapes);
356 } else {
357 return ConcatY(id, input_ids, output_id, attr, input_shapes);
358 }
359}
360
361} // namespace metal
362} // namespace gpu

Callers 1

RegisterPrimaryOpsFunction · 0.50

Calls 3

ConcatXFunction · 0.85
ConcatYFunction · 0.85
ConcatZFunction · 0.70

Tested by

no test coverage detected