| 347 | } |
| 348 | |
| 349 | std::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 |
no test coverage detected