diff options
author | Michalis Spyrou <michalis.spyrou@arm.com> | 2018-09-13 11:39:28 +0100 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-11-02 16:54:54 +0000 |
commit | 96f6769de9d9ebe3e631b81aac9a82934a79b0c4 (patch) | |
tree | eaf3efea9eb89b05d1aecfc7d64b3cf89b3cdc57 /src/graph/GraphBuilder.cpp | |
parent | 8e1f3c0685a4a0413c6d57a3254b5d59949ec255 (diff) | |
download | ComputeLibrary-96f6769de9d9ebe3e631b81aac9a82934a79b0c4.tar.gz |
COMPMID-1582 Add YOLOLayer to graph API
Change-Id: I8eb7cf220f038b0ac70cb3df1f399a3b66bbca1b
Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/148245
Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com>
Tested-by: bsgcomp <bsgcomp@arm.com>
Diffstat (limited to 'src/graph/GraphBuilder.cpp')
-rw-r--r-- | src/graph/GraphBuilder.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/graph/GraphBuilder.cpp b/src/graph/GraphBuilder.cpp index 921b16b611..b84abec9af 100644 --- a/src/graph/GraphBuilder.cpp +++ b/src/graph/GraphBuilder.cpp @@ -513,5 +513,10 @@ NodeID GraphBuilder::add_split_node(Graph &g, NodeParams params, NodeIdxPair inp { return create_simple_single_input_output_node<SplitLayerNode>(g, params, input, num_splits, axis); } + +NodeID GraphBuilder::add_yolo_node(Graph &g, NodeParams params, NodeIdxPair input, ActivationLayerInfo act_info, int32_t num_classes) +{ + return create_simple_single_input_output_node<YOLOLayerNode>(g, params, input, act_info, num_classes); +} } // namespace graph } // namespace arm_compute |